Google Analytics for WooCommerce

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 supports Global Site Tag (GA4) and eCommerce event tracking.

Please visit the documentation page for additional information.

Contributions are welcome via the GitHub repository.

Capturas

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.

Reseñas

28 de abril de 2026 1 respuesta
Support advised how this works. No dash in WooCommerce, it all connects to Google Analytics, when ID inserted into Integration section. Thanks.
10 de junio de 2025 1 respuesta
We installed this plugin to improve conversion tracking in GA4 – with disastrous results: since installation, no traffic has been recorded in Google Analytics 4 at all. We are using the Complianz cookie plugin, which previously worked flawlessly. But immediately after activating the GA for WooCommerce plugin, tracking completely stopped. Even after uninstalling the plugin, the issue remained. We had to delete the entire GA4 property and set it up from scratch just to get data flowing again – a major and unacceptable disruption for a live site. This plugin used to work well in the past, but it is now broken across all our client sites. It seems completely incompatible with standard consent solutions and GA4 at the moment. Unless a working update is released within the next few days, we will be removing this plugin from all our clients’ shops permanently. Conclusion: Until the issues are resolved – stay away! This plugin poses a serious risk to production environments.
25 de mayo de 2025 1 respuesta
Native Google Analytics gateway for Woocommerce. Works great when set up correctly.

ok

16 de mayo de 2025 1 respuesta
very good technical support, thanks
Leer todas las 118 reseñas

Colaboradores y desarrolladores

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

Colaboradores

“Google Analytics for WooCommerce” ha sido traducido a 15 idiomas locales. Gracias a los traductores por sus contribuciones.

Traduce “Google Analytics for WooCommerce” 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

2.4.4 – 2026-10-20

  • Dev – Add shared npm scripts, a pre-commit hook, Dependabot for GitHub Actions and a Node 24 pin.
  • Dev – Declare GPL-3.0-or-later in package metadata to match the plugin header.
  • Dev – Require yoast/phpunit-polyfills 1.1.5 or newer for PHP 8.5.
  • Dev – Run the JavaScript unit tests in CI and update the README.
  • Fix – Send add_to_cart once, not twice, when “Redirect to the cart page after successful addition” is off.
  • Fix – Stop sending the purchase event for failed and cancelled orders, so a later successful payment for the same order is still tracked.

2.4.3 – 2026-10-12

  • Fix – Report the catalog price of Composite Products instead of 0 in view_item, view_item_list, select_content and add_to_cart events.
  • Update – Bump the minimum required WooCommerce version to 11.1 and the compatibility version to 11.2.

2.4.2 – 2026-09-08

  • Declare compatibility with WooCommerce 11.1.0.
  • Dev – Pin GitHub Actions and their nested dependencies to immutable commit SHAs.
  • Fix – Strip the order key and other sensitive query parameters from the page URL and referrer sent to Google Analytics, and send an explicit denied consent state for undecided visitors on opt-in sites.
  • Update GitHub Action references.

See changelog for all versions.