What’s inserting Google Analytics Tracking Snippet
-
This is slightly embarrassing. My site is configured to present Google Analytics tracking code snippet but I can’t establish what’s doing it.
It’s using correct Tracking ID so clearly I’ve set it up, but I’ve searched methodically through each plugin and my theme and no joy.
Do you have any advice on best means of finding the (useful) culprit? I’d like to amend the GA code. Don’t think there are clues in the code itself which seems pretty vanilla to my layman’s eyes:
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-######"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-######'); </script>
Haven’t linked to site in question, but happy to do so if it helps.
Cheers
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘What’s inserting Google Analytics Tracking Snippet’ is closed to new replies.