Re: Tracking Landing Pages with Google Analytics

Anonymous
Not applicable

We were using our own landing pages, but we're about to switch over to Marketo landing pages.

Can anyone point me in the direction for tracking the Marketo landing pages in Google Analytics?

14 REPLIES 14
Anonymous
Not applicable

are you guys putting GTM in a Token then added it to the template?

Anonymous
Not applicable

To be fully technical...

1. Add the GA code as provided to your templates in design studio; this will ensure it shows on all pages

2. Even better, use Google Tag Manager which will allow you to make multiple changes to your tags as well as add new tags without needing to touch your templates ever again.

Ben

SanfordWhiteman
Level 10 - Community Moderator

Loading Munchkin via GTM is firmly not advised. It's a great way to lose analytics hits.

Anonymous
Not applicable

Really? Can you expand upon this? Since we have been doing it since 2014 with no issues noted by our Marketo expert?

SanfordWhiteman
Level 10 - Community Moderator

Unfortunately, few Marketo experts understand browser networking, and fewer still understand how Munchkin works.

I've written about this several times, though not yet officially at http://blog.teknkl.com. There's no mystery about why web analytics loaders, libraries, and tracking pixels are hurt by increasing layers of indirection (asynchronous and non-guaranteed loading).  When you push analytics into the background and say, "I don't care if it completes, as long as the page is quickly interactive," you're calling analytics disposable.  But when the CMO expects accurate reports, it's suddenly mission-critical. It can't be both "nice to have" and "must have" at the same time: this collision of interests is the heart of the problem.

When you use GTM, you force all of its dependent scripts to load asynchronously.  That means the Munchkin bootstrapper, the Munchkin library, and the request phase of the tracking hit (XHR) all must complete before unfriendly network conditions are encountered (3G+4G being the biggest offenders) and/or the user navigates away from the page.  This is the difference between 99.9% tracking accuracy and 99%.  A difference that's negligible when a lead abandons anyway, but terrible when you miss an interesting moment.

The impact is felt far less with Google Analytics under Chrome and Firefox, and I have an adapter that greatly improves Munchkin reliability in those same browsers.  Users of the adapter have reported a 50-150% improvement -- yes, they were losing more hits than they were getting -- in first-touch tracking w/unprimed browsers. Nothing, however, can be done for other browsers at this point, except for not making mistakes like GTM.

I'd never claim to be a master at program and campaign design, as technical performance and reliability is my wheelhouse.  Every day, I fix Marketo "best practices" so they actually work!

Anonymous
Not applicable

Am I allowed to say "I love Sanford!"?  Sanford your posts are always clear, concise and super helpful.  Thank you.

SanfordWhiteman
Level 10 - Community Moderator

I'll allow it! 

Anonymous
Not applicable

Interesting stuff Sanford, thanks so much for sharing.

Anonymous
Not applicable

Just add the google tracking code to your landing page templates and you are good to go

Anonymous
Not applicable

I have implemented a Google Analytics code to my Marketo landing page template. Looking the analytics from the past month, I see a huge gap between Google Analytics reporting and Marketo landing page reporting. The latter has nearly twice as many views. Why might this be?

Btw, I am not using Google Tag Manager.

Anonymous
Not applicable

Hi Jamie, is it just the template, or each individual landing pages?

Dan_Stevens_
Level 10 - Champion Alumni

Place the code on your template.  For us, we place a single snippet of code (Google Tag Manager) on our Marketo templates - and then every landing page includes the necessary tracking code (Marketo, GA, DemandBase, etc.)

Lalida_Sriyords
Level 3

We've done this as well and it's worked great for us!

SanfordWhiteman
Level 10 - Community Moderator

But what comparison are you doing to determine that you are not losing Munchkin hits?  Please read my post above.