| Google Analytics code (partially) exists in page, but Google does not detect it [message #59958] Thu, 10 January 2013 02:46 UTC |
 |
|
I recently entered my new Google Analytics tracking ID into "My Shop"->"Shop Settings". I confirmed that the code was in the source code for my shop URL (http://www.shapeways.com/shops/TinyMtn). But Google Analytics continues to report:
| Quote: | Status: Tracking Not Installed
Last checked: Jan 9, 2013 6:33:40 PM PST
The Google Analytics tracking code has not been detected on your website's home page. For Analytics to function, you or your web administrator must add the code to each page of your website.
|
Google suggests the following code be inserted:
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-XXXX-1']);
_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>
But the shop page only includes the first portion of that, not the "function" part.
Should I try again in a few days? Is this Google's problem?
Thanks!
Mark
tinymtn.com
|
|
|
| Re: Google Analytics code (partially) exists in page, but Google does not detect it [message #60003 is a reply to message #59958 ] Fri, 11 January 2013 01:53 UTC |
  |
|
OK. The solution is "wait a day." Google now reports "Status: Receiving Data." Go figure. Go, Shapeways for making that easy!
Mark
tinymtn.com
|
|
|
| Re: Google Analytics code (partially) exists in page, but Google does not detect it [message #60049 is a reply to message #59958 ] Fri, 11 January 2013 20:10 UTC |
 |
|
Glad that worked out!
It does usually take about 24 hours to start reporting tracking, as (I imagine) it needs time to collect data
Community Manager | Shapeways
|
|
|