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.

المراجعات

16 مايو، 2024 1 reply
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.
1 أبريل، 2024 9 replies
The plugin for some reason stopped recording Purchase events. Add to cart and other events are recorded properly but the most important one shows 0 in GA4.
28 مارس، 2024 5 replies
I used this plugin for over 2 years without any issues. However, since the release of 2.0.0 it’s just not usable anymore. My biggest issue is with the invalid value of purchase events. Due to formatting error, the conversion value was increased hundredfold. It cannot be deleted via GA4 deletion requests as devs suggested, because it is not possible to remove numeric values, so I’m stuck with them forever. It might not be a big deal to some, but to me, it’s a deal breaker. I switched to another plugin. Sure it’s free, but stuff like these should be caught in tests before release..
إقرأ جميع المراجعات 109

المساهمون والمطوّرون

“Google Analytics for WooCommerce” هو برنامج مفتوح المصدر. وقد ساهم هؤلاء الأشخاص بالأسفل في هذه الإضافة.

المساهمون

لقد تم ترجمة ”Google Analytics for WooCommerce“ إلى 12 لغة. شكراً إلى جميع المُترجمين لمُساهماتهم.

ترجمة ”Google Analytics for WooCommerce“ إلى لغتك.

مُهتم بالتطوير؟

تصفّح الشفرة، تحقق من مستودع SVN، أو الاشتراك في سجل التطوير بواسطة RSS.

سجل التغييرات

2.1.1 – 2024-06-12

  • Tweak – Confirm WC_Cart is available before formatting cart data.
  • Tweak – WC 9.0 compatibility.

2.1.0 – 2024-06-05

  • Add – Integration with the WP Consent API plugin.
  • Fix – Add E2E tests for denying via WP Consent API.
  • Tweak – Document WP Consent API support.

2.0.7 – 2024-05-14

  • Dev – Add a manual workflow run for PHP unit tests.
  • Fix – Apply discounts to the ecommerce event if available.
  • Fix – Incorrect quantity value when adding product to the cart that exists in the cart.
  • Tweak – WC 8.9 compatibility.

See changelog for all versions.