[Resolved] [Plugin: Contact Form 7] Google Analytics conversion code
I’m trying to implement Google Analytics conversion to my site MarinersPestControl.com. A conversion for us is when a visitor fills out the Contact Forms 7 form and hits the “submit” button.
When I add the following code, submitting the form no longer works. ie. the rotating graphics starts and stops but there is no “thank you message”. Additionally, no email is sent to me with the forms filled in.
Here is the code that I add to the “Additional Settings” field in the Contact 7 Form editing screen:
on_sent_ok: "on_gaq.push(['_trackPageview', '/free-termite-inspection-thank-you/']);"
If I remove that code, the form works again but there is of course no way for google to track the conversion.
I have read from other posts in this forum that a plugin or my current theme may be breaking the Ajax code that would normally make this work. A solutions presented to turn off all plugins and resort to the default theme is not an option as it could break the site.
I’ve also seen some suggestions on using firebug to debug this and this is where I’m at a loss as I’m not sure how to do it. Any suggestions?
- The topic ‘[Resolved] [Plugin: Contact Form 7] Google Analytics conversion code’ is closed to new replies.