Configuring Google Analytics Module, I mistakenly kept the example code during the first 2 configurations of the module: UA-673320-6
.
Then I finally out the correct code:UA-30183564-3
.
From looking at my website's page source, it appears all 3 configurations are in the header as javascript snippets?
I am not sure how to get Google Analytics setup so that it is linked to my website?
<script type="text/javascript">
<!--//--><![CDATA[//><!--
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-673320-6']);
_gaq.push(['_setDomainName', '.XXXXX.com']);
_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>
<script type="text/javascript">
<!--//--><![CDATA[//><!--
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-673320-6']);
_gaq.push(['_setDomainName', '.XXXXX.com']);
_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>
<script type="text/javascript" src="http://XXXXX.com/sites/all/modules/umi_docs_migrate/js/sphinx.js?m17g0h"></script>
<script type="text/javascript" src="http://XXXXX.com/sites/XXXXX.com/files /js/js_IDBX5SzkJ9gGNq7x-qOE_2DZsexqguTJQGMKvi4w-Uw.js"></script>
<script type="text/javascript">
<!--//--><![CDATA[//><!--
var _gaq = _gaq || [];_gaq.push(["_setAccount", "UA-30183564-3"]);_gaq.push(["_setDomainName", ".XXXXX.com"]);var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-30183564-3']);
_gaq.push(['_trackPageview']);_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>