I’m trying to get my conversions to show up in Google Analytics without using a redirect to a thank you page. I’ve read a lot of posts and from what I understand, adding the following to the Additional Settings area should do the trick:
on_sent_ok: "_gaq.push(['_trackPageview', '/contact-us/thank-you']);"
(I have Goals set up in GA for the virtual pages.) The first problem I had was that by adding that, the confirmation message did not appear (nor did the for reset).
I wrapped the code in a <script> tag and that fixed that problem, but I’m still not seeing anything showing up in Google Analytics.
I’m using the Yoast Google Analytics plugin.
What am I doing wrong?
- The topic ‘Can't get Google Analytics tracking to work’ is closed to new replies.