1. No Profile Picture
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    Feb 2017
    Rep Power

    Added GA Tracking code, but sb has already done it

    Hi guys,

    I have the following problem:
    I was given wp username and pass and added a newly generated GA tracking code in Header.php (right before </Head>) and WP says I have successfully saved the new info.
    However, when I go to the website itself and inspect it there seems to be a different tracking code (looks like somebody has already integrated it, probably when the site was first created)

    Now, I have this website as a new GA Property and have access to it, however it seems that it's not working. How did I check it - I visited the site via several devices and when I go to Real-tme Overview in GA, it doesn't detect my visits.
    P.S. I have done the same with other sites I have GA for, and it is working perfectly fine.

    How can I solve this problem?

    Any ideas and advice would be higly appreciated.

  2. #2
  3. Dinosaur
    SEO Chat Mastermind (5000+ posts)

    Join Date
    Jun 2011
    Rep Power
    I have never tried adding 2 versions of analytics code to a website but I can well imagine that it would break something. I would try and track down where the other code is before going any further. I am afraid I am not a big WP user so telling you where to look I will have to leave to someone else to drop by.
  4. #3
  5. No Profile Picture
    SEO Chat Scholar (3000 - 3499 posts)

    Join Date
    Sep 2016
    Rep Power
    Most likely you will find the code you are looking for in header.php.

    If I remember correctly it will be located in your wp-content folder. you may have to look in a sub folder of wp-content, but it will be in the file header.php.

Similar Threads

  1. Backlinks with tracking code query string for click tracking
    By danielfoley in forum Google Optimization
    Replies: 4
    Last Post: May 19th, 2011, 05:48 AM
  2. Tracking code for tracking conversions
    By zarmen in forum Google Adwords
    Replies: 0
    Last Post: Jun 22nd, 2010, 08:32 AM
  3. Replies: 0
    Last Post: Apr 23rd, 2010, 12:14 AM
  4. Tracking Features Added To Google Latitude (NewsFactor)
    By RSS_News_User in forum Technology News
    Replies: 0
    Last Post: Nov 11th, 2009, 06:04 PM
  5. Tracking Code
    By jmoe in forum Google Optimization
    Replies: 3
    Last Post: Oct 8th, 2009, 02:26 AM

IMN logo majestic logo threadwatch logo seochat tools logo