Quote:
Originally Posted by RichieBoy67
#1 - Is that the newest code or the older one?
#2 - When did you add that code?
#3 - try adding the code to the footer as well in the mobile theme.
|
That code is the actual code you can find in G.Analytics settings. I put this code in forum several months ago.
I?ll take your advice and will place code in footer, and will try with this alternative code I found in other website:
Code:
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-XXXXXX']);
_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>