Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google tracking code validation doesn't work

So, in order to see interests/demographics/etc on google analytics, I need to make a one line change to my tracking script on the website ( https://support.google.com/analytics/answer/2444872?hl=en&utm_id=ad ). So, I simply copied the code and pasted it in my website's base template. Everything works! Realtime analytics, google's debug script gives no errors, but... when I click demographics tab, or any other one requiring the script change, I need to validate the tracking code. When I click that button, nothing happens... Anyone had similar problems?

My website: http://osrodekzdrowiawskale.pl/

like image 320
mpiekarz Avatar asked Nov 05 '13 17:11

mpiekarz


People also ask

How do I fix my Google Analytics tracking code?

Follow the steps below: Step-1: Install the Google Tag Assistant Chrome extension and then enable it. Step-2: Install the Google Analytics debugger chrome extension and then enable it. The GA debugger reports on error messages and warnings related to your tracking code in the developer console and tag assistant.

How do I know if my Google Analytics tracking code is working?

To see if Google Analytics is firing on your page, go to any page on your site in your Chrome Browser and right-click. Click on Inspect. Then go to the Network tab. Hit refresh on your browser and watch to see the different content and scripts loading on the page.

Why is my Google Analytics not tracking?

If the goal page is not tagged with tracking code, Analytics does not track this page, and as a result does not track goals. You should also make sure that you've installed the correct tracking code on your pages since the code is specific to each account property.


1 Answers

I had the same problem; I knew I implemented the code correctly, still the validation didn't work. I hesitated to press skip, though, but it worked when I did! After that, it said on the web page that it will take 24 hours before data reports start to show.

"If you are certain that you’ve made the correct change, you can click Skip validation." https://support.google.com/analytics/answer/2819948?hl=en-GB (Solution source)

Edit: Just noticed that the question was solved in the comments.

like image 147
mizuki Avatar answered Oct 12 '22 05:10

mizuki