WooCommerce Google Analytics Integration


This plugin provides the integration between Google Analytics and the WooCommerce plugin. You can link a referral to a purchase and add transaction information to your Google Analytics data. It also supports the new Universal Analytics, eCommerce, and enhanced eCommerce event tracking.

Starting WooCommerce 2.1, this integration will no longer be part of WooCommerce and will only be available by using this plugin.

Contributions are welcome via the GitHub repository.


  • Google Analytics Integration Settings.


  1. Download the plugin file to your computer and unzip it
  2. Using an FTP programme, or your hosting control panel, upload the unzipped plugin folder to your WordPress installation’s wp-content/plugins/ directory.
  3. Activate the plugin from the Plugins menu within the WordPress admin.
  4. Don’t forget to enable e-commerce tracking in your Google Analytics account: https://support.google.com/analytics/answer/1009612?hl=en

Or use the automatic installation wizard through your admin panel, just search for this plugins name.


Where can I find the setting for this plugin?

This plugin will add the settings to the Integration tab, to be found in the WooCommerce > Settings menu.

I don’t see the code on my site. Where is it?

We purposefully don’t track admin visits to the site. Log out of the site (or open a Google Chrome Incognito window) and check if the site is there for non-admins.

Also please make sure your Google Analytics ID under WooCommerce -> Settings -> Integrations.

My code is there. Why is it still not tracking sales?

Duplicate Google Analytics code causes a conflict in tracking. Remove any other Google Analytics plugin or code from your site to avoid duplication and conflicts in tracking.

Can I install it already?

Starting the WooCommerce 2.1 release, the Google Analytics integration for WooCommerce is no longer part of the WooCommerce plugin.

Until you’ve updated to WooCommerce 2.1, this plugin puts itself in some sort of hibernate mode.

You can leave this plugin activated and it will seamlessly take over the integration that once was in the WooCommerce plugin, once you update to the next version.

My settings are not saving!

Do you have SUHOSIN installed/active on your server? If so, the default index length is 64 and some settings on this plugin requires longer lengths. Try setting your SUHOSIN configuration’s “max_array_index_length” to “100” and test again.

My national data privacy laws require that I offer an opt-out for users, how can I do this?

Include the following html code snippet within the page where you want to have the opt-out, e.g. the your Imprint our Data Privacy page:

Exact wording depends on the national data privacy laws and should be adjusted.


August 3, 2019
It works very well and is always up to date. I really recommend it. Thank you!
April 30, 2019
Not sure why the avg rating is so low. Maybe the 1-stars are having some compatibility issues
November 7, 2018
Спасибо за плагин! Всё работает! Советую! ))
August 8, 2018
I installed and removed even before seeing if it works for a simple raison: there is no option to active async code so it makes my website slower, which is not acceptable.
June 19, 2018
I use this plugin for simple products and it successfully tracks every step through Google Analytics as intended. I also run multiple Adwords campaigns including re-marketing campaigns using the tracking results from this plugin. It's a lot easier than setting up enhanced tracking with Tag-manager. I'm not sure why there are so many poor reviews. I can't really see how anyone would have any trouble getting it up and running. Unless they didn't wait for Analytics to start populating the data. Anyway - If you're looking for a reliable and easy to use plugin for enhanced ecommerce analytics tracking. This is it! NOTES: To track conversions in Adwords you'll need to import your conversion tracking data from Analytics. For re-marketing. Create your re-marketing lists from within Analytics (they are better anyway) and connect your Adwords to your analytics audience list. A big thanks to the developers. This is a great plugin and it's a shame it doesn't receive the love it deserves. Keep up the good work. 😉 Steve
Read all 69 reviews

Contributors & Developers

“WooCommerce Google Analytics Integration” is open source software. The following people have contributed to this plugin.


“WooCommerce Google Analytics Integration” has been translated into 5 locales. Thank you to the translators for their contributions.

Translate “WooCommerce Google Analytics Integration” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Change log

1.4.14 – 2019-09-04

  • Fix – Google Analytics JS URL missing quotes.

1.4.13 – 2019-09-03

  • Tweak – Make Google Analytics JS script URL filterable.

1.4.12 – 2019-08-13

  • Tweak – WC 3.7 compatibility.

1.4.11 – 2019-08-02

  • Add – Filter to bypass “send pageview” for users whom want to use separate standard GA. wc_goole_analytics_send_pageview.
  • Fix – Revert last release due to it causing ecommerce tracking to be disabled when standard tracking is disabled.

1.4.10 – 2019-07-10

  • Fix – Ensure universal analytics pageview doesn’t occur if standard tracking is disabled.

1.4.9 – 2019-04-16

  • Tweak – WC 3.6 compatibility.

1.4.8 – 2019-03-04

  • Fix – Event for deleting from cart not sent after a cart update.

1.4.7 – 11/19/2018

  • Tweak – WP 5.0 compatibility.

1.4.6 – 06/11/2018

  • Fix – Check for active WooCommerce plugin.

1.4.5 – 16/10/2018

  • Tweak – Mention Google Analytics Pro in certain cases.
  • Tweak – WC 3.5 compatibility.

1.4.4 – 20/03/2018

  • Fix – WC30 compatibility error when using deprecated get_product_from_item method.
  • Fix – Check object before using methods to prevent errors.
  • Fix – Variations not reporting category in cart tracking.
  • Add – Filter woocommerce_ga_disable_tracking added to disable tracking.
  • Tweak – Rebuilt languages pot file.

1.4.3 – 15/06/2017

  • Fix – WC 3.x notice by using proper variation data.
  • Add – Option to track 404 (Not found) errors.