Title: Google Analytics for WooCommerce
Author: WooCommerce
Published: <strong>November 25, 2013</strong>
Last modified: June 25, 2026

---

Search plugins

![](https://ps.w.org/woocommerce-google-analytics-integration/assets/banner-772x250.
png?rev=3234358)

![](https://ps.w.org/woocommerce-google-analytics-integration/assets/icon-256x256.
png?rev=3234358)

# Google Analytics for WooCommerce

 By [WooCommerce](https://profiles.wordpress.org/woocommerce/)

[Download](https://downloads.wordpress.org/plugin/woocommerce-google-analytics-integration.2.3.0.zip)

 * [Details](https://test.wordpress.org/plugins/woocommerce-google-analytics-integration/#description)
 * [Reviews](https://test.wordpress.org/plugins/woocommerce-google-analytics-integration/#reviews)
 *  [Installation](https://test.wordpress.org/plugins/woocommerce-google-analytics-integration/#installation)
 * [Development](https://test.wordpress.org/plugins/woocommerce-google-analytics-integration/#developers)

 [Support](https://wordpress.org/support/plugin/woocommerce-google-analytics-integration/)

## Description

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 supports Global Site Tag (GA4) and eCommerce event
tracking.

Please visit the [documentation page for additional information](https://woocommerce.com/document/google-analytics-integration/).

Contributions are welcome via the [GitHub repository](https://github.com/woocommerce/woocommerce-google-analytics-integration).

## Screenshots

[⌊Google Analytics Integration Settings.⌉⌊Google Analytics Integration Settings.⌉[

Google Analytics Integration Settings.

## Installation

 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](https://support.google.com/analytics/answer/1009612?hl=en)

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

## FAQ

### Where can I find the setting for this plugin?

This plugin will add the settings to the Integration tab, 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 code is there for non-admins.

Also please make sure to enter 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 plugins or code from your site to avoid duplication and conflicts
in tracking.

## Reviews

![](https://secure.gravatar.com/avatar/527531f40e2f60f86ed546763f2204d6a6d656e6c488d81f51a8a06997eeab68?
s=60&d=retro&r=g)

### 󠀁[How it works](https://wordpress.org/support/topic/how-it-works-57/)󠁿

 [Mr Fragrance](https://profiles.wordpress.org/mrfragrance/) April 28, 2026 1 reply

Support advised how this works. No dash in WooCommerce, it all connects to Google
Analytics, when ID inserted into Integration section. Thanks.

![](https://secure.gravatar.com/avatar/5eb5dd6aecb83617d0b98416ae1b9d4cff7c85f315f9fb1aabb16bc0f84f968a?
s=60&d=retro&r=g)

### 󠀁[Official plugin but feature set does not even cover basic analytics](https://wordpress.org/support/topic/official-plugin-but-feature-set-does-not-even-cover-basic-analytics/)󠁿

 [Jason](https://profiles.wordpress.org/galapogos01/) April 18, 2026 3 replies

This plugin is buggy and the feature set does not even cover basic enhanced ecommerce
journey events, so your funnels won’t work. Abysmal.

![](https://secure.gravatar.com/avatar/4affda1cbd7aeb5f8e53beaf5996b469a6bebe92e2059505a0c2c9bd2d4d4fb5?
s=60&d=retro&r=g)

### 󠀁[DO NOT USE](https://wordpress.org/support/topic/do-not-use-72/)󠁿

 [cgeedouble](https://profiles.wordpress.org/cgwlambert/) November 18, 2025 1 reply

broke my WooCommerce site

![](https://secure.gravatar.com/avatar/39de32bf4deda29697ef19c2b479a8809416bb2e70ab12705739e39fabf73a5d?
s=60&d=retro&r=g)

### 󠀁[Currently absolutely not recommended](https://wordpress.org/support/topic/currently-absolutely-not-recommended/)󠁿

 [seoway](https://profiles.wordpress.org/seoway/) June 10, 2025 1 reply

We installed this plugin to improve conversion tracking in GA4 – with disastrous
results: since installation, no traffic has been recorded in Google Analytics 4 
at all. We are using the Complianz cookie plugin, which previously worked flawlessly.
But immediately after activating the GA for WooCommerce plugin, tracking completely
stopped. Even after uninstalling the plugin, the issue remained. We had to delete
the entire GA4 property and set it up from scratch just to get data flowing again–
a major and unacceptable disruption for a live site. This plugin used to work well
in the past, but it is now broken across all our client sites. It seems completely
incompatible with standard consent solutions and GA4 at the moment. Unless a working
update is released within the next few days, we will be removing this plugin from
all our clients’ shops permanently. Conclusion: Until the issues are resolved – 
stay away! This plugin poses a serious risk to production environments.

![](https://secure.gravatar.com/avatar/9bab40ade51defcc55082410d7b861f00816cdfed96a997a0e81e6c0c9402d6b?
s=60&d=retro&r=g)

### 󠀁[Works](https://wordpress.org/support/topic/works-2237/)󠁿

 [Dymytrii Ishchuk](https://profiles.wordpress.org/ishchukdev/) May 25, 2025 1 reply

Native Google Analytics gateway for Woocommerce. Works great when set up correctly.

![](https://secure.gravatar.com/avatar/4874b53866dfc66fac919f5b45753d91d350b46afb70f48ee953545fd9e2211d?
s=60&d=retro&r=g)

### 󠀁[ok](https://wordpress.org/support/topic/ok-1009/)󠁿

 [pierretappeti](https://profiles.wordpress.org/pierretappeti/) May 16, 2025 1 reply

very good technical support, thanks

 [ Read all 118 reviews ](https://wordpress.org/support/plugin/woocommerce-google-analytics-integration/reviews/)

## Contributors & Developers

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

Contributors

 *   [ WooCommerce ](https://profiles.wordpress.org/woocommerce/)
 *   [ Automattic ](https://profiles.wordpress.org/automattic/)
 *   [ Claudio Sanches ](https://profiles.wordpress.org/claudiosanches/)
 *   [ Boro Sitnikovski ](https://profiles.wordpress.org/bor0/)
 *   [ royho ](https://profiles.wordpress.org/royho/)
 *   [ laurendavissmith001 ](https://profiles.wordpress.org/laurendavissmith001/)
 *   [ Chris Shultz ](https://profiles.wordpress.org/cshultz88/)
 *   [ mmjones ](https://profiles.wordpress.org/mmjones/)
 *   [ Tomek ](https://profiles.wordpress.org/tomalec/)
 *   [ Ján Mikláš ](https://profiles.wordpress.org/neosinner/)

“Google Analytics for WooCommerce” has been translated into 14 locales. Thank you
to [the translators](https://translate.wordpress.org/projects/wp-plugins/woocommerce-google-analytics-integration/contributors)
for their contributions.

[Translate “Google Analytics for WooCommerce” into your language.](https://translate.wordpress.org/projects/wp-plugins/woocommerce-google-analytics-integration)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/woocommerce-google-analytics-integration/),
check out the [SVN repository](https://plugins.svn.wordpress.org/woocommerce-google-analytics-integration/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/woocommerce-google-analytics-integration/)
by [RSS](https://plugins.trac.wordpress.org/log/woocommerce-google-analytics-integration/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.3.0 – 2026-06-25

 * Update – Require WooCommerce 10.8+.

#### 2.2.1 – 2026-06-22

 * Dev – Fix E2E tests against current WooCommerce shipping and checkout behavior.
 * Dev – Update vulnerable npm development dependencies.
 * Fix – Prevent a fatal TypeError on PHP 8 when a cart item, order line, or product
   loop references a product that no longer resolves to a WC_Product.

#### 2.2.0 – 2026-06-09

 * Add – Add a read-only Google Analytics tracking settings ability.
 * Add – Expose JavaScript tracking formatters and utilities for custom integrations.
 * Add – Track checkout shipping and payment info events.
 * Dev – Add CodeRabbit configuration and ignore .claude/settings.local.json.
 * Dev – Add focused unit coverage for asset metadata and tracking settings snapshots.
 * Dev – Add product formatter unit coverage.
 * Dev – Enable min-release-age supply-chain protection requiring npm >=11.10.0.
 * Dev – Expand purchase event E2E coverage for transaction and order totals.
 * Dev – Remove deprecated Products (Beta) block from E2E test coverage; Product
   Collection coverage supersedes it.
 * Dev – Store Google Analytics tracking settings on the tracking instance.
 * Dev – Update npm dependencies and transitive overrides to resolve non-breaking
   security advisories.
 * Dev – Update npm development dependencies for security fixes.
 * Fix – Ensure all settings defaults are populated in `$this->settings` on fresh
   activation, preventing undefined array key notices.
 * Fix – Persist add_to_cart event across cart redirect.
 * Fix – Price minor-unit rounding.
 * Fix – Rename misspelled public method `enquque_tracker()` to `enqueue_tracker()`;
   keep deprecated alias for backward compatibility.
 * Fix – Track Store API add-to-cart events without duplicate analytics events.
 * Fix – Track Store API cart quantity decreases as remove_from_cart events.
 * Fix – Track classic add_to_cart events without a button when single-product data
   is available.
 * Fix – Track view_item_list, add_to_cart, and select_content events correctly 
   when the cart is empty and products are rendered via a Product Collection block.
 * Fix – `item_list_id` and `item_list_name` in `view_item_list` GA4 events now 
   reflect the actual page context (shop, category, tag, search) instead of hardcoded
   placeholder values.
 * Tweak – Improve tracking payload limits, cart event binding, and linker domain
   validation.
 * Tweak – Remove the compatibility declaration for the product editor beta, which
   is being retired in WooCommerce 11.0.
 * Tweak – WC 10.8 compatibility.
 * Tweak – WP 7.0 compatibility.
 * Update – Declare compatibility with WordPress 7.0 while requiring WordPress 6.9
   or newer.
 * Update – Format product categories in parent-first hierarchy order.
 * Update – Require WooCommerce 10.7+.
 * Update – Use get_order_number() for transaction_id.

#### 2.1.23 – 2026-04-15

 * Dev – Enable min-release-age supply-chain protection.
 * Dev – Override serialize-javascript to ^7.0.5 and ajv to ^8.18.0 to resolve npm
   security vulnerabilities.
 * Update – Require WooCommerce 10.6+.

[See changelog for all versions](https://raw.githubusercontent.com/woocommerce/woocommerce-google-analytics-integration/trunk/changelog.txt).

## Meta

 *  Version **2.3.0**
 *  Last updated **1 week ago**
 *  Active installations **100,000+**
 *  WordPress version ** 6.9 or higher **
 *  Tested up to **7.0**
 *  PHP version ** 7.4 or higher **
 *  Languages
 * [Danish](https://da.wordpress.org/plugins/woocommerce-google-analytics-integration/),
   [Dutch](https://nl.wordpress.org/plugins/woocommerce-google-analytics-integration/),
   [English (UK)](https://en-gb.wordpress.org/plugins/woocommerce-google-analytics-integration/),
   [English (US)](https://wordpress.org/plugins/woocommerce-google-analytics-integration/),
   [Finnish](https://fi.wordpress.org/plugins/woocommerce-google-analytics-integration/),
   [Galician](https://gl.wordpress.org/plugins/woocommerce-google-analytics-integration/),
   [Hungarian](https://hu.wordpress.org/plugins/woocommerce-google-analytics-integration/),
   [Japanese](https://ja.wordpress.org/plugins/woocommerce-google-analytics-integration/),
   [Persian](https://fa.wordpress.org/plugins/woocommerce-google-analytics-integration/),
   [Portuguese (Brazil)](https://br.wordpress.org/plugins/woocommerce-google-analytics-integration/),
   [Russian](https://ru.wordpress.org/plugins/woocommerce-google-analytics-integration/),
   [Spanish (Chile)](https://cl.wordpress.org/plugins/woocommerce-google-analytics-integration/),
   [Spanish (Mexico)](https://es-mx.wordpress.org/plugins/woocommerce-google-analytics-integration/),
   [Spanish (Spain)](https://es.wordpress.org/plugins/woocommerce-google-analytics-integration/),
   and [Spanish (Venezuela)](https://ve.wordpress.org/plugins/woocommerce-google-analytics-integration/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/woocommerce-google-analytics-integration)
 * Tags
 * [google analytics](https://test.wordpress.org/plugins/tags/google-analytics/)
   [woocommerce](https://test.wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://test.wordpress.org/plugins/woocommerce-google-analytics-integration/advanced/)

## Ratings

 2.8 out of 5 stars.

 *  [  47 5-star reviews     ](https://wordpress.org/support/plugin/woocommerce-google-analytics-integration/reviews/?filter=5)
 *  [  3 4-star reviews     ](https://wordpress.org/support/plugin/woocommerce-google-analytics-integration/reviews/?filter=4)
 *  [  5 3-star reviews     ](https://wordpress.org/support/plugin/woocommerce-google-analytics-integration/reviews/?filter=3)
 *  [  3 2-star reviews     ](https://wordpress.org/support/plugin/woocommerce-google-analytics-integration/reviews/?filter=2)
 *  [  61 1-star reviews     ](https://wordpress.org/support/plugin/woocommerce-google-analytics-integration/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/woocommerce-google-analytics-integration/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/woocommerce-google-analytics-integration/reviews/)

## Contributors

 *   [ WooCommerce ](https://profiles.wordpress.org/woocommerce/)
 *   [ Automattic ](https://profiles.wordpress.org/automattic/)
 *   [ Claudio Sanches ](https://profiles.wordpress.org/claudiosanches/)
 *   [ Boro Sitnikovski ](https://profiles.wordpress.org/bor0/)
 *   [ royho ](https://profiles.wordpress.org/royho/)
 *   [ laurendavissmith001 ](https://profiles.wordpress.org/laurendavissmith001/)
 *   [ Chris Shultz ](https://profiles.wordpress.org/cshultz88/)
 *   [ mmjones ](https://profiles.wordpress.org/mmjones/)
 *   [ Tomek ](https://profiles.wordpress.org/tomalec/)
 *   [ Ján Mikláš ](https://profiles.wordpress.org/neosinner/)

## Support

Issues resolved in last two months:

     2 out of 2

 [View support forum](https://wordpress.org/support/plugin/woocommerce-google-analytics-integration/)