Analytics tracking on skuidified force.com site

Hello friends.

I’m trying to add analytics tracking to my skuidified force.com site, but without success.

Followed the instructions here: https://help.salesforce.com/HTViewHelpDoc?id=sites_analytics_tracking_code.htm&language=en_US

All my sites VF pages now have both
site:googleAnalyticsTracking/
and
<skuid:page …>

Google can’t find my pages.

Any chance skuid doesn’t play nice with the site:googleAnalyticsTracking/ tag?

Note from Emily Maxie - our Skuid Website Guru from Marketing... 

It looks like Salesforce’s guidelines for installing Google Analytics are dated. Now, instead of worrying about properly tagging pages, you can install the Google Tag Manager tracking code on your website, and any changes you make to your analytics tags get updated without having to mess with the code. 

Here’s the link for the tag manager: https://www.google.com/analytics/tag-manager/

And here’s the link to the Google Analytics Academy course that taught me how/where to use it properly: https://analyticsacademy.withgoogle.com/course05

We placed the Google Tag Manager code in a template on the master page for the website so it would apply to all website pages. 

Nice! Thanks.

Anyone have the cliff notes version of this?  I have our google analytics tag manager script from our website guys.  How do I get that script to run on my master page in the template like Rob says above?  I tried sticking it in a template (allow HTML = true) but website guys aren’t seeing my traffic.


EDITED

Not sure if this makes a difference, but have you added the GA tracking code to your force.com site page? There’s a field for Analytics Tracking Code on the Site Details page, and you paste in your UA-XXXXXXX-X code there.

With that in place, then we put this in a template on the master page:

<iframe src="&#47;&#47;www&#46;googletagmanager&#46;com/ns&#46;html?id=GTM-MDF2FH" height="0" width="0" style="display:none;visibility:hidden"></iframe>

And the following we have added as an inline js (not snippet)

(function(w,d,s,l,i){w[l]=w[l]||[];w[l]&#46;push({'gtm&#46;start': new Date()&#46;getTime(),event:'gtm&#46;js'});var f=d&#46;getElementsByTagName(s)[0], j=d&#46;createElement(s),dl=l!='dataLayer'?'&amp;l='+l:'';j&#46;async=true;j&#46;src= '&#47;&#47;www&#46;googletagmanager&#46;com/gtm&#46;js?id='+i+dl;f&#46;parentNode&#46;insertBefore(j,f); })(window,document,'script','dataLayer','GTM-XXXXXX'); 

with the snippet, remember to remove the stuff skuid puts into an inline snippet by default

also you might try this chrome extension, helpful for quickly addressing any issues on your page
https://get.google.com/tagassistant/