Improve your WordPress SEO: Write better content and have a fully optimized WordPress site using the Yoast SEO…
About WooCommerce Google Analytics Integration
This plugin allows you to connect Google Analytics with the WooCommerce plugin, enabling you to track purchases and add transaction details to your Google Analytics data. It supports the latest Global Site Tag (GA4) and eCommerce event tracking. For more information, please visit the documentation page, and contributions are welcome on the GitHub repository.Screenshots

Frequently asked questions
What does this plugin do?
This plugin provides the integration between Google Analytics and the WooCommerce plugin. It allows you to link a referral to a purchase and add transaction information to your Google Analytics data. It also supports Global Site Tag, Universal Analytics, eCommerce, and enhanced eCommerce event tracking.
Is this integration included with WooCommerce?
No, starting from WooCommerce 2.1, this integration is not packaged with WooCommerce and is only available by using this plugin.
Where can I contribute to this plugin?
You can contribute to this plugin via the GitHub repository: https://github.com/woocommerce/woocommerce-google-analytics-integration
Changelog
2.5.0 – 2026-12-02
- Add – Send the
view_cartevent when the cart page is viewed, with a setting to turn it off. - Fix – Block checkout events no longer count Product Bundles, Composite Products or Mix and Match items twice in the event value.
- Fix – Keep coupon and discounted cart values up to date in classic checkout shipping and payment events.
- Fix – Report
add_to_cartfrom block product grid buttons only once the store accepts the add, so refused adds are no longer counted. - Fix – Report decimal quantities (for example 0.5 kg) correctly in add to cart and remove from cart events.
- Fix – Send the unit price, not the line total, as the item price in cart and checkout events, and send the coupon on classic checkout events.
2.4.5 – 2026-11-24
- Fix – Keep cart events right after coupons and removals.
- Fix – Send
add_to_cartonce, not twice, for a click on the “Add to cart” button of a block product grid. - Fix – Send add_shipping_info on classic checkouts with one shipping method.
- Fix – Send the right product, price and quantity for repeated adds and page-read prices.
- Fix – Trim spaces around the tracking ID.
- Update – Bump the minimum required WooCommerce version to 11.2 and the compatibility version to 11.3.
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.
