crs1138
Member
Posted 11 months ago #
The issue I am having is, when I add the pageTracker code to the on_sent_ok code the verification box no longer appears.
on_sent_ok: "pageTracker._trackPageview('/contact/send-lisa.html');"
This is indeed because of a Javascript error. The error is:
Uncaught ReferenceError: pageTracker is not defined
See it for yourself at http://pocketoxfordtheatre.com/contact/
crs1138
Member
Posted 10 months ago #
crs1138
Member
Posted 10 months ago #
I've resolved the issue by using, what's in that article as a note.
Note: If you use newer version of the tracking code, you need to run this code instead:
_gaq.push(['_trackPageview', '/mysite/thank-you.html']);
blandydoes
Member
Posted 1 month ago #
This is still an issue for me even though I am using the newer tracking code. Do I still put on_sent_ok: or just the code.
dpcdpc11
Member
Posted 2 weeks ago #
This is still an issue for me even though I am using the newer tracking code. Do I still put on_sent_ok: or just the code.
Yes you have to put the "on_sent_ok" function as well.
I can confirm that it works.
Here's a tutorial that shows the whole process in details: http://www.searchingsam.com/wordpress-tracking-contact-form-7-conversions-in-google-analytics/#.UYJRcbWLDhC