WooCommerce Google Analytics Integration

Descripción

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.

Capturas

  • Ajustes de integración con Google Analytics

Instalación

  1. Descarga el archivo del plugin a tu ordenador y descomprímelo
  2. Usando un programa de FTP, o el panel de control de tu alojamiento, sube la carpeta del plugin descomprimida a tu directorio wp-content/plugins/ de la instalación de WordPress.
  3. Activa el plugin en el menú Plugins de la administración de WordPress.
  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.

Preguntas frecuentes

¿Dónde puedo encontrar el ajuste para este plugin?

This plugin will add the settings to the Integration tab, found in the WooCommerce → Settings menu.

No veo mi código en el sitio. ¿Dónde está?

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.

Mi código está ahí. ¿Por qué aún no rastrea ventas?

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.

¡Mis ajustes no se guardan!

¿Tienes SUHOSIN instalado/activo en tu servidor? Si así fuera, la longitud por defecto del índice es de 64 y algunos ajustes del plugin require más longitud. Trata de configurar tus ajustes de SUHOSIN de “max_array_index_length” en “100” y prueba de nuevo.

Mis leyes nacionales de privacidad de datos requieren que ofrezca el consentimiento expreso de los usuarios ¿cómo puedo hacer esto?

Incluye el siguiente fragmento de código html dentro de la página en la que quieras tener la aceptación, por ejemplo, en la página de privacidad de datos.


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

La denominación correcta depende de las leyes nacionales de privacidad en los datos y debe ajustarse a ellas.

Reseñas

17 de julio de 2023 1 respuesta
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 de marzo de 2023 1 respuesta
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.
21 de noviembre de 2022 1 respuesta
This is the most easiest setup for Google Analytics ever. All it asks for your ID, and it will show up everything on your Google Analytics! On your Global Site Tag, Universal Analytics, eCommerce, and more! No any kind of snippet or codes!
Leer todas las 95 reseñas

Colaboradores y desarrolladores

Este software es de código abierto. Las siguientes personas han contribuido a este plugin.

Colaboradores

"WooCommerce Google Analytics Integration" ha sido traducido a 12 idiomas locales. Gracias a los traductores por sus contribuciones.

Traduce "WooCommerce Google Analytics Integration" a tu idioma.

¿Interesado en el desarrollo?

Revisa el código, echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

1.8.10 – 2023-11-28

  • Dev – Update phpunit polyfills to 1.1 for WP 6.4.
  • Fix – Add semicolon after gtag calls.
  • Fix – Prevent firing up the add_to_cart event when clicking in product image.
  • Tweak – Test environment setup to resolve notice.

1.8.9 – 2023-11-07

  • Tweak – WC 8.3 compatibility.
  • Tweak – WP 6.4 compatibility.
  • Update – Use new Woo.com domain.
  • Update – WordPressCS to version 3.0.

1.8.8 – 2023-10-24

  • Tweak – Declare cart_checkout_blocks feature compatibility.

See changelog for all versions.