GA Event Tracking breaks messages
-
Just installed Contact Form 7 and we’ve been able to get everything to work. As I’m setting up Google Analytics event tracking, I find that adding the tracking code breaks the “Your message was sent successfully. Thanks.” message when the user presses submit (although the message is sent successfully). Removing the code and resubmitting fixes the issue.
I’m entering this code (which I got from this: http://contactform7.com/tracking-form-submissions-with-google-analytics/):
on_sent_ok: "_gaq.push(['_trackEvent', 'Contact Form', 'Submit']);"in the Additional Settings field.
See form here: http://www.eriscreative.com/contact/
The topic ‘GA Event Tracking breaks messages’ is closed to new replies.