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.

Screenshots

  • 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

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

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.
May 25, 2025 1 reply
Native Google Analytics gateway for Woocommerce. Works great when set up correctly.

ok

May 16, 2025 1 reply
very good technical support, thanks
March 27, 2025 3 replies
This used to work, but not anymore.No way to setup Google Analytics Cookies settings. Please fix!
November 6, 2024 1 reply
Had issues initially, but support was helpful and responsive in resolving them
Read all 116 reviews

Contributors & Developers

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

Contributors

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

Translate “Google Analytics for WooCommerce” into your language.

Interested in development?

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

Changelog

2.1.15 – 2025-06-04

  • Tweak – WC 9.9 compatibility.

2.1.14 – 2025-04-15

  • Tweak – WC 9.8 compatibility.
  • Tweak – WP 6.8 compatibility.

2.1.13 – 2025-02-18

  • Tweak – WC 9.7 compatibility.

See changelog for all versions.