Link to home
Start Free TrialLog in
Avatar of Rodney Parker
Rodney ParkerFlag for Mexico

asked on

Unwanted analytics snippet in header

I have disabled my google analytics plugin (wordpress) Tag manager shows a grayd out tac. I need to remove it but cant see how. I can see the snipped and the code from tag manager.


Any ideas?

Web Property IDUA-96349767-1
Code Version/SyntaxUniversal
Protocol version number1


<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','https://www.google-analytics.com/analytics.js','ga');



ga('create', 'UA-96349767-1', 'auto');

ga('send', 'pageview');


User generated image


Avatar of Alicia St Rose
Alicia St Rose
Flag of United States of America image

Have you looked in the header.php template to see if it's been manually added? You can also look in the Theme functions.php to see if the script has been enqueued that way.

Avatar of Rodney Parker

ASKER

Hi no traces of the code adde in theme functions or header.php

ASKER CERTIFIED SOLUTION
Avatar of Rodney Parker
Rodney Parker
Flag of Mexico image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial