Hi, I have a one time offer page in a wordpress site with ejunkie standard GA tracking code installed.
The OTO page is a php file that rewrites the page url to ensure that people can't revisit and buy later at the one time price. However this is causing my goal url (an email optin) not to be tracked in analytics as the url is rewritten.
Long story short, I think I need to add a custom pageview to the trackpageview code on that page, so that it registers in analytics as a goal conversion.
So, if I want to modify the standard EJ GA tracking code, to add a virtual pageview for this page:
...is this the correct code to do that? (notice last line):
var ejGATracker = gat.getTracker("UA-XXXXXXXX-1");
I'm a script newbie, just looking to get right.