WooCommerce Google Analytics Integration

Περιγραφή

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 also supports Global Site Tag, Universal Analytics, eCommerce, and enhanced eCommerce event tracking.

Starting from WooCommerce 2.1, this integration is not packaged with WooCommerce and is only available by using this plugin.

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.

My settings are not saving!

Do you have SUHOSIN installed/active on your server? If so, the default index length is 64 and some settings on this plugin requires longer lengths. Try setting your SUHOSIN configuration’s “max_array_index_length” to “100” and test again.

My national data privacy laws require that I offer an opt-out for users, how can I do this?

Include the following html code snippet within the page where you want to have the opt-out, e.g. the your Imprint our Data Privacy page:


You can prevent Google Analytics from tracking you by clicking the following link. An opt-out cookie will be set, which will prevent you being tracked when visiting this website in the future:
<a href="javascript:gaOptout()">Deactivate Google Analytics</a>.

view raw

message.txt

hosted with ❤ by GitHub

Exact wording depends on the national data privacy laws and should be adjusted.

Κριτικές

2 Φεβρουαρίου 2024 1 απάντηση
does not work, it sets my GA4 traffic to for 2 days. It even disabled sitekit outside of woocommerce! Also it slowed down both wp-admin and website heavily! All problems I had have been solved when I deactivated and deleted this plugin
15 Νοεμβρίου 2023 4 απαντήσεις
Can't use it in the EU because it doesn't support opt-in. Opt-out is not sufficient.
17 Ιουλίου 2023 1 απάντηση
This is the easiest (and free) way i have come across to integrate your woocommerce store with the new GA4. I'm able to see my conversions and related data in GA4
10 Μαρτίου 2023 1 απάντηση
The support forum is full of people complaining that page views are not sent correctly using GA4 - which everyone will be using seeing as universal is now being imminently retired. The only advice given by plugin devs is to disable "add to cart" events, or modify the plugin code directly to fix their fault plugin logic. This issue has been around for 2 years.
Ανάγνωση όλων των 96 κριτικών

Συνεισφέροντες & Προγραμματιστές

“WooCommerce Google Analytics Integration” είναι λογισμικό ανοιχτού κώδικα. Οι παρακάτω έχουν συνεισφέρει στη δημιουργία του.

Συντελεστές

Το “WooCommerce Google Analytics Integration” έχει μεταφραστεί σε 12 γλώσσες. Ευχαριστούμε τους μεταφραστές για τις συνεισφορές τους.

Μεταφράστε το “WooCommerce Google Analytics Integration” στην γλώσσα σας.

Ενδιαφέρεστε για την ανάπτυξη;

Περιηγηθείτε στον κώδικα, ανατρέξτε στο αποθετήριο SVN ή εγγραφείτε στο αρχείο καταγραφής αλλαγών ανάπτυξης μέσω RSS .

Σύνοψη αλλαγών

1.8.14 – 2024-02-07

  • Tweak – Declare feature compatibility for the new product editor (also called product block editor).
  • Tweak – WC 8.6 compatibility.

1.8.13 – 2024-01-09

  • Dev – Upgrade all NPM dev dependencies.
  • Dev – Upgrade to Node.js 18.
  • Tweak – WC 8.5 compatibility.

1.8.12 – 2023-12-28

  • Fix – Avoid JavaScript exceptions when sending checkout event tracking due to incompatible data structure.
  • Fix – Correct misplaced each product index value as its quantity when sending checkout event tracking.

1.8.11 – 2023-12-18

  • Dev – Prevent DB warnings in unit tests.
  • Tweak – WC 8.4 compatibility.

See changelog for all versions.