Added GA Tracking code, but sb has already done it

Author Topic: Added GA Tracking code, but sb has already done it  (Read 350 times)

Offline vbnickTopic starter

  • Trade Count: (0)
  • Newbie
  • *
  • Thank You 0
  • Posts: 2
  • Karma: 0
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.

Thanks in advance!


Offline wellliving

  • Trade Count: (0)
  • Full Member
  • ***
  • Thank You 1
  • Posts: 115
  • Karma: 0
    • Well-living-shop
Re: Added GA Tracking code, but sb has already done it
« Reply #1 on: 02-19-2017, 21:22:27 »
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.

Offline vbnickTopic starter

  • Trade Count: (0)
  • Newbie
  • *
  • Thank You 0
  • Posts: 2
  • Karma: 0
Re: Added GA Tracking code, but sb has already done it
« Reply #2 on: 02-20-2017, 04:57:11 »
Thanks for the reply. I have put the Tracking code I created in the Header.php, however the old one is not there so I cannot get rid of it :(

 

Related Topics

  Subject / Started by Replies Last post
5 Replies
1710 Views
Last post 06-04-2010, 15:08:21
by balachis
0 Replies
1296 Views
Last post 12-30-2014, 04:05:21
by strawberrybob
0 Replies
966 Views
Last post 01-20-2015, 00:49:12
by nancyisabell
1 Replies
1129 Views
Last post 03-30-2015, 03:51:18
by uditsh
0 Replies
675 Views
Last post 08-28-2015, 16:30:35
by techninja