Google Analytics for 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.

屏幕截图

  • Google Analytics Integration Settings.

安装

  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.

常见问题

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.

评价

2025 年 3 月 27 日 3 回复
This used to work, but not anymore.No way to setup Google Analytics Cookies settings. Please fix!
2024 年 11 月 6 日 1 回复
Had issues initially, but support was helpful and responsive in resolving them
2024 年 5 月 16 日 1 回复
Stopped working in March 2024 for countries that require consent before tracking. There are no options to connect your cookie pop-up or anything similar. Had to go and look for a different solution. Would never expect such a poor implementation from an official Woocommerce plugin.
阅读所有113条评价

贡献者及开发者

「Google Analytics for WooCommerce」是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Google Analytics for WooCommerce」插件已被翻译至 13 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Google Analytics for WooCommerce」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

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.

2.1.12 – 2025-02-11

  • Dev – Update npm dependencies to resolve all npm vulnerabilities

See changelog for all versions.