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 program, 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 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.



outdated plugin does not reflect analytics needs of today

Does not work. No stats reported at all.

Had it installed for four days. Not a single stat reported on GA. Zilch. My server stats show traffic, but GA doesn’t report anything off this tracker from this plugin. I’m going to just add the tracker manually.

Functions well 4.6 and gives accurate stats

I installed the plugin on the recommendation of google analytics integration expert. I was taken aback by the bad recommendation so I was quite cautious.

That is why I take the time to write the review. It was the third plugin that I had to install for getting ecommerce data. The other two did not make the job.

It was very easy to set up and functioned without hassle. A big thank you !

Works Sometimes

It does work, no enhanced ecommerce data even though the plugin appears to be functioning properly. Worse still is the support. There is none. Looks like it was abandoned by WooCommerce to sell their Pro add-on version.

Needs to be removed by WordPress.

Read all 51 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 these 3 locales: Japanese, Finnish, Brazilian Portuguese. Thank you to the translators for their contributions.

Translate “WooCommerce Google Analytics Integration” into your language.

Interested in development?

Browse the code or subscribe to the development log by RSS.


= 1.4.0 – 20-11-2015
* Feature – Support for enhanced eCommerce (tracking full store process from view to order)
* Tweak – Setting up the plugin is now clearer with some helpful links and clearer language
* Tweak – New filter on the ga global variable
* Refactor – JavaScript generation functions have been moved to their own class

1.3.0 – 12/11/2014

  • Feature – Added the transaction currency in the tracking code
  • Feature – Add data privacy option that are mandatory in some countries
  • Tweak – Moved the tracking code to the head of the page
  • Tweak – Remove the “SKU” prefix to the sku for addItem
  • Refactor – Integration class reformulated

1.2.2 – 15/10/2014

  • Feature – Adding option to anonymize IP addresses
  • Feature – Adding gaOptOut function to be called from any page for OptOut

1.2.1 – 17/09/2014

  • Tweak – Adding utmnooverride to return url for Google Adwords

1.2.0 – 28/07/2014

  • Feature – Adding display advertising parameter to Universal Analytics
  • Fix – Using get_total_shipping() instead of get_shipping
  • Fix – Using wc_enqueue_js() instead of $woocommerce->add_inline_js(
  • Tweak – Updating plugin FAQ
  • Tweak – Adding parenthesis for clarity

1.1 – 29/05/2014

  • Added option to enable Display Advertising
  • Added compatibility support for WooCommerce 2.1 beta releases

1.0 – 22/11/2013

  • Initial release