Magento News

 

New Google Analytics code = 0 visitor

Hello,

I’m using Magento 1.4.01 which use asynch tracking code.

So i can just setup my account.

When i see the html source code, i can see the code :


<!-- BEGIN GOOGLE ANALYTICS CODE -->
<
script type="text/javascript">
//<![CDATA[
    
(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';
        (
document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ga);
    
})();

    _gaq.push(["_setAccount""UA-490013-8"]);
    
_gaq.push(["_trackPageview""/"]);
//]]>
</script>
<!-- END GOOGLE ANALYTICS CODE -->

So, since this version, with asynch code, i have no visitor (but i know that i have visitors).

Do you know why ?

Thanks

New Google Analytics code = 0 visitor

Possibly Related Posts:


 

Leave a Reply