Wordpress / Google Analytics problem

7 replies
  • WEB DESIGN
  • |
Hello Warriors

I have Installed the latest version of Wordpress (working fine) and then installed the Google Analytics (GA) plug in. Wordpress says it is installed OK, but on the Google site I am getting no information and under status I have the little Yield sign with the Exclamation sign.

I have an Older Installation manual and it says to past the code into the window under settings / GA.. I do not have the code window to past that in.

I have filled in my Analytics User Account # and followed every step except the one that says paste the code from Google into the code window under Settings / GA in the Wordpress Admin Screen.

Any assistance would be greatly appreciated.
#analytics #google #problem #wordpress
  • Profile picture of the author DIYDomain
    Hi Richard,

    I hope I interpreted your problem correctly, hopefully I can shed some light on this.

    It is essential that you paste the correct GA code into the relevant hosted webpage. Without the code, GA cannot produce reports for your hosted website.

    I work mostly with HTML/CSS type sites, where I paste the GA code just before the </body> tag. A while back, I used an old version of Wordpress and did the same, I went into the Wordpress Admin Panel, selected the footer page, and pasted the GA code there just before the </body> tag. (I'm doing this from memory, as I no longer have that Wordpress website running.)

    I did not use the Wordpress GA plug-in but it worked just by pasting the code directly into the footer page. That yield sign under Status means GA did not detect the (correct) tracking code in your site, GA usually detects the code in your site 5 to 10 minutes after correct installation. (although GA states a 24hr waiting period)

    To find the Code in Google Analytics,
    1) ensure you are on your OVERVIEW page,
    2) select the relevant website,
    3) click EDIT,
    4) click (edit status).
    (edit status) is a tiny setting in brackets top right hand side, you can easily miss it if you don't know your way around.
    5) towards the bottom of that page you will find the tracking code, it is recommended to use the new tracking code instead of the legacy code.
    {{ DiscussionBoard.errors[397564].message }}
  • Profile picture of the author Claudedf
    Hi,
    I am also confused on this matter because there are many peoples which can provide this type of services.
    But I know one site who gives the information and service to others.(site is below)
    This is very good site and contains huge info.
    This is best for me but, if you have another site about this matter which one is good for you so please let me know.
    Thanks
    {{ DiscussionBoard.errors[397680].message }}
  • Profile picture of the author Richard Whyte
    Hi Gina

    Thanks for the info. I have PMed you with a request for you to visit my site and leave a test comment to see it this tracks you.

    This comment here was left after that one and I played around a bit more with the site.

    Here is the stage I am at now...


    Looks like it may be working now as the status indicator in GA is now set to a Green Check Mark. I did not change anything to get this so maybe it was just a time thing as you suggested.

    I have fond the code area you mentionedbut it was not exactly at the location you said. I thin GA must be moving things around.

    Then I went to Wordpress Admin..... I can't see anyplace to edit the footer from the panel. So what I did was FTP to the site, download the foot.php file, open it, paste the code in to it, then uploaded back to the site.

    I have now left another comment on the site.... but still does not show any tracking details for it.

    I do have the Track Admin box selected.
    {{ DiscussionBoard.errors[398463].message }}
  • Profile picture of the author absbica
    I guarantee it was at ime thing. GA sometimes take a full day before it starts tracking.
    {{ DiscussionBoard.errors[398828].message }}
    • Profile picture of the author Karen Blundell
      Richard, the next time you want to make changes to your theme files from within your WordPress Dashboard

      Look for the "Appearance" tab in your left menu
      Then click on "editor"
      once you do that you'll see all your theme files to the right.
      In order for you to edit your theme files from within the Dashboard make sure they are writable. You may have to change permissions on the files (CHMOD)
      and they need to be CHMOD to 666

      You do not need a plugin for Google Analytics

      Follow steps above, locate the footer file (footer.php or foot.php)
      paste your GA code before the </body> tag as DIYDomain suggested above. Click "Update File" and you're done!
      Signature
      ---------------
      {{ DiscussionBoard.errors[399245].message }}
  • Profile picture of the author iamcaptainhammer
    Richard, I agree with Karen.

    One thing you need to consider is sometimes the plugin will be incompatible with your theme.

    The best practices to do is open up your footer file and add the code there.

    The benefit of using a plug-in is when you are on your site, testing things, you do not get "tracked" which keeps your tracking stats clean. But if you are not getting updates, you will need to manually add the code.

    One thing you might want to try is go to your website in another browser that you are not logged into your dashboard with, and visit your website and view source, then search for PageTracker, and if it shows up, your stats are being tracked (you get results a day or so later), if not, you need to manually the add the analytics code to your footer.
    {{ DiscussionBoard.errors[399410].message }}
  • Profile picture of the author DIYDomain
    I paid a visit to your blog and left a comment Richard. Hope it is all working by now.
    {{ DiscussionBoard.errors[401343].message }}

Trending Topics