Archived topic
gtag
5 replies · Started by Chris on May 31, 2022
Hoping you can help me find where this is stored in the theme. I would like to remove it if possible.
"https://www.googletagmanager.com/gtag/js?id=G-2MZCPNN59W&l=dataLayer&cx=c"
No plugin is running the script. I can deactivate all plugins but the gtag script remains. site is https://ignitedbiz.com/
I appreciate the help
Hi there,
its not something the Theme would add. You would have to add it. Do you have any Hook Elements in Appearance > Elements ? As that would be the first place to check. Let me know.
Hi David,
No hook elements - Thought the same thing and also checked the header file.
I realize the theme didn't add it was just hoping you might be able to help me find where they hid it. Have a feeling it is leftover code from Site Kit by Google.
If its not in a Hook, or a PHP Snippet or the header.php template and theres no plugins then yeah Site Kit could be to blame. Seen others with similar issues where code has been left behind. Any page caching plugins or on the server that may need clearing ?
No, I have cleared chaching but I appreciate you looking.
I can't think of anywhere else to check. Maybe SiteKit Support has some insight?
