Google Analytics for WooCommerce
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.
Contributions are welcome via the GitHub repository.
Installation
- Download the plugin file to your computer and unzip it
- Using an FTP program, or your hosting control panel, upload the unzipped plugin folder to your WordPress installation’s wp-content/plugins/ directory.
- Activate the plugin from the Plugins menu within the WordPress admin.
- 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 plugin’s name.
Faq
This plugin will add the settings to the Integration tab, found in the WooCommerce Settings menu.
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.
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
How it works
By Mr Fragrance (mrfragrance) on April 28, 2026
Support advised how this works. No dash in WooCommerce, it all connects to Google Analytics, when ID inserted into Integration section. Thanks.
Official plugin but feature set does not even cover basic analytics
By Jason (galapogos01) on April 18, 2026
This plugin is buggy and the feature set does not even cover basic enhanced ecommerce journey events, so your funnels won’t work. Abysmal.
DO NOT USE
By cgeedouble (cgwlambert) on November 18, 2025
broke my WooCommerce site
Currently absolutely not recommended
By seoway on June 10, 2025
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.
Works
By Dymytrii Ishchuk (ishchukdev) on May 25, 2025
Native Google Analytics gateway for Woocommerce. Works great when set up correctly.
ok
By pierretappeti on May 16, 2025
very good technical support, thanks
Not working anymore
By Alex Freixa (alexfreixa) on March 27, 2025
This used to work, but not anymore.
No way to setup Google Analytics Cookies settings. Please fix!
Helpful support
By bytesbuzz on November 6, 2024
Had issues initially, but support was helpful and responsive in resolving them
Created an account to state how broken this is
By lordyamis on September 16, 2024
Newest version is very broken. Getting Unattributable on a lot of things and causing massive JS times.
Support team at its finest
By automotifexpert on July 11, 2024
I had a small problem with the plugin, but the support team was top notch and helped me fix everything!
Changelog
2.4.4 – 2026-10-20
- Dev – Add shared npm scripts, a pre-commit hook, Dependabot for GitHub Actions and a Node 24 pin.
- Dev – Declare GPL-3.0-or-later in package metadata to match the plugin header.
- Dev – Require yoast/phpunit-polyfills 1.1.5 or newer for PHP 8.5.
- Dev – Run the JavaScript unit tests in CI and update the README.
- Fix – Send
add_to_cartonce, not twice, when “Redirect to the cart page after successful addition” is off. - Fix – Stop sending the purchase event for failed and cancelled orders, so a later successful payment for the same order is still tracked.
2.4.3 – 2026-10-12
- Fix – Report the catalog price of Composite Products instead of 0 in
view_item,view_item_list,select_contentandadd_to_cartevents. - Update – Bump the minimum required WooCommerce version to 11.1 and the compatibility version to 11.2.
2.4.2 – 2026-09-08
- Declare compatibility with WooCommerce 11.1.0.
- Dev – Pin GitHub Actions and their nested dependencies to immutable commit SHAs.
- Fix – Strip the order key and other sensitive query parameters from the page URL and referrer sent to Google Analytics, and send an explicit denied consent state for undecided visitors on opt-in sites.
- Update GitHub Action references.
