• Resolved astoller99

    (@astoller99)


    I have a code snippet being injected into my site by sitekit which seems to restricting Googel analytics.
    do yo have any idea why this is happening and how to stop it?
    thanks
    Astoller

    <link rel=”profile” href=”https://gmpg.org/xfn/11&#8243; />
    <!– Google Analytics opt-out snippet added by Site Kit –>
    <script>
    window[“ga-disable-UA-xxxxxxx-2”] = true;
    </script>
    <script>
    window[“ga-disable-G-yyyyyyy”] = true;
    </script>
    <!– End Google Analytics opt-out snippet added by Site Kit –>

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support James Osborne

    (@jamesosborne)

    Hi @astoller99,

    Thanks for reaching out. The snippet you provided is only visible for logged in administrators. It’s a reflection of the current Google Analytics settings within Site Kit, whether to count logged in users or not for each visit to your site.

    You’ll find this settings under “Site Kit > Settings > Connected Services > Analytics > Edit“, from within your WordPress dashboard.

    Let me know if you have any questions with the above.

    Plugin Support James Osborne

    (@jamesosborne)

    As we didn’t receive a response I’ll mark this as resolved. Feel free to open a new support topic if you continue to encounter issues, or reopen this topic and we’d be happy to assist.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Google site kit injecting code’ is closed to new replies.