Google Analytics for WooCommerce

July 09, 2024

Google Analytics for WooCommerce Plugin

Provides integration between Google Analytics and WooCommerce.

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

  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.

Screenshots

  1. Google Analytics Integration Settings.

    Google Analytics Integration Settings.

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.

Changelog

2.1.5 – 2024-07-09

  • Tweak – WC 9.1 compatibility.
  • Tweak – WP 6.6 compatibility.

2.1.4 – 2024-07-02

  • Dev – Upgrade npm dependencies.
  • Dev – Upgrade to Node.js 20.
  • Tweak – Add checks and explicit errors when cart buttons are missing data.

2.1.3 – 2024-06-25

  • Add – WooCommerce Product Bundles integration.

See changelog for all versions.

Details

  • Version: 2.1.5
  • Active installations: 200,000
  • WordPress Version: 6.2
  • Tested up to: 6.6.1

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars