Universal Analytics Tracking Error
-
Hi
I have been using Contact Form 7 for a while now and track all of my form submissions using the on_sent_ok: “_gaq.push([‘_trackPageview’, ‘/contact-us/complete’]);”. I have recently upgraded my analytics to Google Universal Analytics and noticed that the confirmation message no longer appears when I submit a form, I receive the email but no confirmation message to say the email has been sent.
I am getting the following javascript error
Uncaught ReferenceError: ga is not defined
I am using the following script in the Additional Settings box on the contact form.
on_sent_ok: “ga(‘send’, ‘pageview’, ‘/contact-us/complete’);”
Is there any fix for this besides hacking the core code as per this example.
http://www.silenceit.ca/2011/02/09/how-to-track-contact-form-7-submissions-with-google-analytics/
The topic ‘Universal Analytics Tracking Error’ is closed to new replies.