Google analytics: Tracking Not Installed
Solution 1
It took a day or two after I put the tracking code on each of my pages for the status on my Google Analytics Tracking Info tab to be updated from "Tracking Not Installed" to "Universal Analytics is enabled for this property". During this time I was seeing regular activity in my tracking reports.
If you're brand new to Google Analytics, the default reports only include data up to the previous day. If you want to check for activity on the same day that you added the tracking code, you have to adjust the date range to include the current day's activity.
Solution 2
That's their new tracking code, I wouldn't be surprised if their detector isn't set up to find it yet. Go into the Google Analytics real-time dashboard and see if your pageviews are showing up - if they are, don't worry about the incorrect flagging.
Solution 3
I fix this by using the asynchronous script first, then visiting a page on the site, refreshing the GA screen to check if the status has been changed, then replacing the GA script with the Universal script once the status has been updated. It works every time. It makes my clients happy.
Related videos on Youtube
Chris
Updated on September 24, 2022Comments
-
Chris over 1 year
I am trying to setup Google Analytics on my site, however it will not detect that it is being tracked.
I have placed the code they provided in my header.php right before the
</head>
as recommended:<script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-41420598-1', 'example.com'); ga('send', 'pageview'); </script>
Not really sure what else to do..
-
Chris almost 11 yearsYour site doesn't load ga.js from Google. If you host the Google tracking code on your own servers, it isn't updated automatically and can miss important changes. We didn't find a tracking snippet on your site. In-Page Analytics cannot load. Please make sure you have tracking installed correctly. If your snippet is included in a separate JavaScript file, you'll have to manually check it is being loaded correctly.
-
Chris almost 11 yearsThat is what came up when I pulled up my page view
-
Kid Diamond over 9 years+1 This worked for me. So weird that you cannot use the universal code before using the old version first.
-
mozz100 about 9 years+1 Me, too. I could see Google_Analytics_Snippet_Validator in the user agent string hitting my site, the code was there, but until I put the async code on, the feedback stuck at "Tracking Not Installed". Currently the link to find the asynchronous script is developers.google.com/analytics/devguides/collection/gajs