
Originally Posted by
RobertG
I,ve installed Simple Google Analytics and also signed up. I have my UA numbers which are pasted on the zen cart admin Simple Google Analytics configuration page. although I have a green checkmark on one site I still have the ! mark on my second profile (i.e my site has 2 domains, one is tte.ca the other one is thetrailingedge.com) Im not getting any information, its been well over 2 days that I installed and signed in. Upon reading up on the
Google Analytics site and reading Getting Started with the Asynchronous Snippet, it tells me the following:
The Analytics snippet is a small piece of JavaScript code that you paste into your pages. It activates Google Analytics tracking by inserting ga.js into the page. To use this on your pages, copy the code snippet below, replacing UA-XXXXX-X with your web property ID. If you need to do more than basic page tracking, see the tracking reference for a list of methods available in the API and see the Usage Guide for details on using the asynchronous syntax. For step-by-step instructions on setting up tracking, see the Help Center article on setting up tracking.
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-XXXXX-X']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
Am I suppose to enter this and if so where do I put it, Please advise.
P.S. I followed the install information to a tee.
Thanks,
Bookmarks