This content has been marked as final. Show 6 replies
I don't think there is one, although there have been at least a couple of in-depth discussion threads on the topic.
The crux of the biscuit:
--add scripts to all of your landing pages the same as your web site pages (easiest to do in templates)
--set up your G_A account to track multiple subdomains (if it's not already) so you have tracking on specific CNAME subdomain separate from other subdomains of your domain in G_A
--use utm_ tags for all of your source/campaign code link-tagging in your emails and landing pages, because you'll want to leverage G_A for your marketo analytics, as well.
Below is the java script that we add below the <!-- SYSTEM FOOTER - DO NOT EDIT --> section in the Landing Page Template and above the </body> tag.
<!-- Google Analytics -->
var _gaq = _gaq || ;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script'); s.parentNode.insertBefore(ga, s);
Elliott - in the default templates, we still see old analtyics code (see below). Either way, I assume just uncomment and replace the block with the correct/appropriate code where it currently is just beneath - <!-- SYSTEM FOOTER - DO NOT EDIT -->
<!-- GOOGLE ANALYTICS. ENTER YOUR CODE and UNCOMMENT block -->
_uacct = "YOURCODE";
I've been scouring the discussion form and can't seem to find an answer.
There seems to be an issue with Google Analytics tracking. Our landing pages have the GA code installed but I'm seeing lots of the traffic from different (lead_source) being tagged as Direct traffic versus Refferal. I realized there was something wrong when the Goals I've set didn't match with the refferal sites that we are directing to the landing pages.
Has anyone had this issue within GA? Tracking multiple subdomains is on and the code looks just like the one Elliot posted.