Title: GA Tracking Script
Last modified: April 10, 2019

---

# GA Tracking Script

 *  Resolved [ten12design](https://wordpress.org/support/users/ten12design/)
 * (@ten12design)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/ga-tracking-script/)
 * 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fga-tracking-script%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Shane Eckert](https://wordpress.org/support/users/shaneeckert/)
 * (@shaneeckert)
 * Automattic Happiness Engineer
 * [7 years, 1 month ago](https://wordpress.org/support/topic/ga-tracking-script/#post-11418313)
 * 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](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!
 *  [Dat Hoang](https://wordpress.org/support/users/htdat/)
 * (@htdat)
 * [7 years ago](https://wordpress.org/support/topic/ga-tracking-script/#post-11445635)
 * 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.

 * ![](https://ps.w.org/woocommerce-google-analytics-integration/assets/icon-256x256.
   png?rev=3234358)
 * [Google Analytics for WooCommerce](https://wordpress.org/plugins/woocommerce-google-analytics-integration/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-google-analytics-integration/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-google-analytics-integration/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-google-analytics-integration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-google-analytics-integration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-google-analytics-integration/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Dat Hoang](https://wordpress.org/support/users/htdat/)
 * Last activity: [7 years ago](https://wordpress.org/support/topic/ga-tracking-script/#post-11445635)
 * Status: resolved