Contact Form 7, Google Analytics, Single Form, Append Virtual Page view
-
I am using CF7 in the sidebar of my website. I was able to get the Virtual page view to work using another help post. But I am in need of a little bit more.
I have a single form in the sidebar of my website. I put in this code and it does track the “/thankyou.html” in GA.
on_sent_ok:”_gaq.push([‘_trackPageview’, ‘/thankyou.html’]);”
But, can add the actual page tracking so if the form is filled out on the “about-us” page the tracking would be “/about-us/thankyou.html” in GA? I have tried a couple of variations on snippet of code above, nothing is working. Has anyone run into this before?
- The topic ‘Contact Form 7, Google Analytics, Single Form, Append Virtual Page view’ is closed to new replies.