Added GA Tracking code, but sb has already done it

Started by vbnick, 02-15-2017, 13:07:40

Previous topic - Next topic

vbnickTopic starter

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!
  •  


wellliving

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.


vbnickTopic starter

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 :(
  •