• Resolved Doobeedoo

    (@doobeedoo)


    Hello,
    After reading documentation and reviews, it’s not clear if Site Kit by Google just display some Analytics in the admin, or if it installs the GA tag in the website

    Do I still need to add this tracking code somewhere, or is it already done by this plugin ?

    When I check the source code of the website where it’s installed, there’s nothing related to Analytics, this is not here :

    <!– Global site tag (gtag.js) – Google Analytics –>
    <script async src=”https://www.googletagmanager.com/gtag/js?id=UA-41214945-3″></script&gt;
    <script>
    window.dataLayer = window.dataLayer || [];
    function gtag(){dataLayer.push(arguments);}
    gtag(‘js’, new Date());

    gtag(‘config’, ‘UA-xxxxxxxx-x’);
    </script>

    Many thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Site Kit can add tracking code (gtag.js) to your website. When installed, go to plugin’s Settings – Connect more serviced and choose “Google Analytics”.

    When connected and authorized correctly, it will ask you in the next step to choose your property to connect to.

    You can verify this later by going into plugin’s Settings – Connected Services and clicking on “Analytics”

    It will tell you whether Analytics Code Snippet is inserted or not.

    Thread Starter Doobeedoo

    (@doobeedoo)

    Wow thanks, I didnt see this hidden option “Insert snippet” :

    View post on imgur.com

    Where can I find the snippet in the source code of the page ?
    I don’t find UA

    Plugin Support James Osborne

    (@jamesosborne)

    @doobeedoo If you check from a browser incognito window or logout of your WordPress site you should be able to see the snippet when inspecting your website source code.

    Alternatively you can deselect the “Exclude from Analytics: Logged-in users” option. When switched on you won’t see the tracking code as a logged in user.

    @richv22 Thanks for the input, great troubleshooting.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Does this install the GA tracking code or not ?’ is closed to new replies.