This content is likely not relevant anymore. Try searching or browse recent questions.
An issue with Tag assistant and tracking code provided by Analytics 0 Recommended Answers 1 Reply 1 Upvote
In my GA account, this is the default code (below) mentioned in Tracking Code section.
I place that code in my website and reporting works. Then I check that code with Tag Assistant and I get that it is not implemented correctly and that I have 2 instances of GA.
I am really confused. I guess it says 2 instances due to the 2 times the ID is mentioned. But that is crazy. It is the code from GA. I even tried to open a blank test account and I get the same code.
What is going on?
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-XXXXXX-XX"></script>
window.dataLayer = window.dataLayer || ;
gtag('js', new Date());
This question is locked and replying has been disabled.
This will remove the reply from the Answers section.
Notifications are off
Your notifications are currently off and you won't receive subscription updates. To turn them on, go to Notifications preferences on your Profile page.
Google takes abuse of its services very seriously. We're committed to dealing with such abuse according to the laws in your country of residence. When you submit a report, we'll investigate it and take the appropriate action. We'll get back to you only if we require additional details or have more information to share.
Go to the Legal Help page to request content changes for legal reasons.