1.7K members online now
1.7K members online now
Dive into multiple domain (Cross/Sub) tracking, implementing Ecommerce and Enhanced Ecommerce, setting up Event tracking, and Universal Analytics code.
Guide Me

Google Tracking Code Not Working

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

I am having trouble getting the tracking code to work properly on my site  I initially set up this site as a stand-alone account - but then my client asked me to make it a sub-account of  I added this as a sub-account - and installed the new sub-account tracking code.  I can even see it in the source code. 


Unfortunately, it is not providing any data - and is giving me a "Status: Tracking Not Installed" message - then telling me it can't find it.  But I can still see that code (and no other GA tracking code) - in the source code.  I have not yet deleted the stand-alone GA account for "" - but I think that may be causing the problem. 


Any help would be MOST appreciated.



1 Expert replyverified_user

Re: Google Tracking Code Not Working

[ Edited ]
Explorer ✭ ✭ ☆
# 2
Explorer ✭ ✭ ☆

Hi Bryan


Please clarify - in GA there are three levels:

Account > Property > View

Are both of these set as Properties under one Account?


Actually that is answered by the code - yes they are - Looks like you've got = UA-1652018-22 (note: tag assistant says code is outside of head tag that might be a good move to make if you can) = UA-1652018-1


Is the standalone one still collecting data or are neither?

Having an old GA account should not matter as long as the code is not on the site - it will just be an old record of data - not a bad thing to have.

There really should not be an issue with this.


You are using Wordpress for the site - to be honest most people find it a lot easier to get the GA code right with Wordpress by using a plugin like Yoast - have you tried that? takes all the pain away.


If you liked my answer best please 'mark as best answer' if I was helpful but not the best please 'star'
- if I have not answered your question fully then please let me know by reply.
You can find me here: <edited by a Community Manager as noted below>


Note: this post has been edited by a Community Manager, per our Community Guidelines, in order to remove a self-promotional signature. Thank you for your understanding.

Re: Google Tracking Code Not Working

Top Contributor
# 3
Top Contributor
Hi Bryan,

If you've just created the new property and installed the code on the site it takes 24-48h for the data to show up in the reports and the tracking status to update.

The code looks fine on, as David C mentioned you can move it up to the head tag

On you're still using the outdated classic tracking code, it is recommended to upgrade to Universal Analytics.

Arnold Majlath, Google Analytics Top Contributor
Was my response helpful? If yes, please accept it as solution.
Circle Me On Google+ | Visit me @ Redfly Digital

Re: Google Tracking Code Not Working

Visitor ✭ ✭ ✭
# 4
Visitor ✭ ✭ ✭
Thank you for your response! I was finally able to track down a Google Analytics representative who showed me how to check the code using Google Tag Assistant. We could then see that the Wordpress editor I was using was automatically adding <p></p> tags inside of the GA tracking code. Needless to say, this prevented Analytics from reading the tracking code.

Once we removed those tags, the tracking code began reporting data immediately.

But thank you for your help!