contact form 7 – Google Analytics goals not working
-
I have googled and it seems since the last posts were made about this it’s not working anymore.
I’m trying to set up goals on my site: https://www.elijahlucian.ca/ which is a Salient Theme website.
I am using Contact Form 7’s “Additional Settings” with the following code:
on_sent_ok: “ga(‘send’, ‘ContactForm’, ‘Sent’, ‘Success’, ’42’);”
I have my goal set up as follows in GA:
All “Equal To”
Category: ContactForm
Action: Sent
Label: Success
Value: 42I guess the tracking has changed with the new analytics framework and _gaq.push() no longer works.
- The topic ‘contact form 7 – Google Analytics goals not working’ is closed to new replies.