Hi all
Has anyone ever tried using google’s analytics for mobile (https://developers.google.com/analytics/devguides/collection/other/mobileWebsites) on an ExpressionEngine based mobile site? I’ve implemented it exactly as in their example but nothing is being picked up by google. I was just wondering if the way EE parses php might not have something to do with it - I’ve noticed that the $GA_ACCOUNT and $GA_PIXEL variables assigned global scope in the script aren’t available in the function in my EE template - I’ve just re-declared them within the function, but that got me thinking.
Anyway, any help would be appreciated.
Thanks