Ready to get started?Download WordPress


[resolved] Google Analytics ga.js not reporting, is placed before the </body> tag (5 posts)

  1. addcoach
    Posted 6 years ago #

    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." : "  http://www.");
       document.write(unescape("%3Cscript src='" + gaJsHost +
     "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
     <script type="text/javascript">
        if (typeof(_gat) == 'object')
     var pageTracker = _gat._getTracker("UA-105427-6");
  2. Pinoy.ca
    Posted 6 years ago #

    Uh, this is the WordPress support forum.

  3. addcoach
    Posted 6 years ago #

    I know.

    I can't seem to get help from google so am wondering if it's a problem with wordpress or a problem of how wordpress integrates or not with google analytics.

  4. addcoach
    Posted 6 years ago #

    finally fixed

  5. sk21
    Posted 5 years ago #

    Hello addcoach, Can you please explain how you resolved it? I am having a similar issue. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic