• Resolved ten12design

    (@ten12design)


    If we are using this plugin do we also need to add the GA Tracking Script in the header or does this plugin do all this? If we choose not to use this plugin then the script will do the same?

    [ redundant link removed ]

    <!-- Global site tag (gtag.js) - Google Analytics -->
    <script async src="https://www.googletagmanager.com/gtag/js?id=UA-5555555555-1"></script>
    <script>
      window.dataLayer = window.dataLayer || [];
      function gtag(){dataLayer.push(arguments);}
      gtag('js', new Date());
    
      gtag('config', 'UA-5555555555-1');
    </script>

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Shane Eckert

    (@shaneeckert)

    Automattic Happiness Engineer

    Hi,

    There is no need to add that script to the header, the plugin takes care of everything for you from that perspective. You can see what steps are needed here: https://docs.woocommerce.com/document/google-analytics-integration/#section-1.

    The plugin gives some nice options as far as what you see from the WooCommerce side of things and gives you a nice way to view the stats.

    Cheers!

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

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

The topic ‘GA Tracking Script’ is closed to new replies.