• Hi,

    I wreally would like to use this plugin to add the tracking codes, except somewhere on my website there is an old code for Google Analytics and Google Tag Manager.

    I want to remove this code first, but I cannot find it. Is there a way to locate where the code is placed? I searched in my theme, and functions.php, header, footer etc.

    When I right-click on my homepage and view “page-source” I find the following code;

    <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-NGSPLM');</script>

    Does somebody know where I can remove this? Any help much appricated.

Viewing 1 replies (of 1 total)
  • Plugin Contributor intellywp

    (@intellywp)

    Hi Erik,
    Thank you for contacting our support!
    Could you please send us more information about how could we reproduce this issue?
    We need a web page URL, or more, where we can check the source code to see what is going on and, eventually, some screenshots of your plugin settings or about how you have defined the script.
    We are following this issue using support email [email protected].
    For this reason, we close this topic and will continue replying you by email.

    Thanks, Julie.

Viewing 1 replies (of 1 total)

The topic ‘Can’t find old code’ is closed to new replies.