• Resolved addcoach

    (@addcoach)


    I changed from the regular google analytics script to the ga.js script and it’s not tracking my traffic ie 0 hits. I’ve been back and forth with the google analytics web support guy but he doesn’t seem to have much of a clue.

    I’ve pasted the code the google support guy told me to below which is in my footer.php file right before the </body> tag where it’s supposed to be according to google and other posts on this forum. I’m using the northern web coders theme and wp 2.3.3

    any suggestions?

    <!-- End of StatCounter Code -->>
    
      <script type="text/javascript">
       var gaJsHost = ((" https:" == document.location.protocol) ?
     " https://ssl." : "  https://www.");
       document.write(unescape("%3Cscript src='" + gaJsHost +
     "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    
     </script>
     <script type="text/javascript">
        if (typeof(_gat) == 'object')
     var pageTracker = _gat._getTracker("UA-105427-6");
     pageTracker._initData();
     pageTracker._trackPageview();
     </script>
    
    </body>
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Google Analytics ga.js not reporting, is placed before the </body> tag’ is closed to new replies.