🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Compte Get it free
Lean GA4 Tracker – GA4 and WooCommerce Event Tracking icon
Activement maintenu Testé avec WP 7.1 #6 in ecommerce tracking

Lean GA4 Tracker – GA4 and WooCommerce Event Tracking

Adds Google Analytics 4 (gtag.js) and WooCommerce shopping events. Classic cart and checkout only. Consent Mode is optional and off by default.

Installations actives10+10+ niveaux
Téléchargements · 30D162▲ 3× vs prev. 30d
Évaluation—0 avis
Score de santé66/100Bon
Téléchargements de tous les temps1.3KSince Apr 2025
Support résolu—Aucun fil de discussion récent
A besoin deWP 6.2PHP 8.2+
Téléchargements · 7j35▼ -58.3% week over week
Notre verdict

Choix solide

Lean GA4 Tracker is a solid plugin choice in 2026, with a few things worth checking first. It runs on 10+ sites and was last updated 1 week ago, and scores 66/100 on our health check.

  • Développé activement — Dernière mise à jour il y a 1 semaine
  • Testé avec le dernier WordPress (7.1)
  • Petite base d'utilisateurs (plus de 10 installations actives)
  • Très peu de critiques jusqu'à présent
  • Nécessite PHP 8.2 ou plus récent

Comment s'accumule-t-il ?

Côte à côte sur les installations, les mises à jour, les évaluations et le support

Téléchargements quotidiens

142943Sep 1Oct 15Nov 29
Hier2
Moyenne quotidienne (1 ans)2
Jour de pointe58Nov 21, 2026
12 Derniers mois668

Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.

Classements

Where Lean GA4 Tracker stands today

WordPress.org Classements de recherche

Position en direct dans la recherche de plugins, Top 100
Mot-cléPositionPlugins concurrentsCatégorie
ecommerce tracking >100 950 Best ecommerce tracking plugins →
GA4 #49 677 Meilleurs plugins GA4 →
google analytics >100 4,719 Meilleurs plugins Google Analytics →
gtag #43 286 Best gtag plugins →
woocommerce analytics >100 4,420 Best woocommerce analytics plugins →

Adoption de version

Part de sites actifs par version.

  • 1.2100.0%

About Lean GA4 Tracker

À partir du Lisez-moi officiel · v1.2.1

Description

Lean GA4 Tracker adds the Google Analytics 4 tag (gtag.js) to your site from a settings page, and sends WooCommerce shopping events to GA4 for stores that use the classic cart and checkout pages. It has no reporting screens that you need: you read your data in Google Analytics.

Ce qu'il fait

  • Adds gtag.js with your GA4 Measurement ID (G-XXXXXXXXXX).
  • WooCommerce events on the classic shop, product, cart and checkout pages: view_item, view_item_list, select_item, view_cart, begin_checkout, add_shipping_info, add_payment_info and purchase, with product category and brand.
  • Optional Google Consent Mode defaults. Consent Mode is off until you turn it on in the Privacy tab.
  • Exclude user roles from tracking in the Tag Manager tab.
  • Your own custom GA4 events, entered as a JSON array in the Events tab. Each one fires on every page view.
  • Multisite: network-wide settings with optional enforcement.

Limits you should know about

  • WooCommerce Cart and Checkout blocks are not tracked. Events use the classic page hooks.
  • Add-to-cart and remove-from-cart events can be missed on some themes. Check them in GA4 DebugView before you rely on them.
  • The plugin does not track form submissions.
  • Consent Mode here is not a complete consent solution. Use it only together with a consent banner you have tested, and check that it meets your legal obligations.

Privacy. Once you save a Measurement ID, every visitor’s browser loads Google’s gtag.js and sends data to Google Analytics, including the visitor’s IP address and cookie identifiers. When WooCommerce tracking is enabled, product and order information is sent to GA4 (such as product name, category, brand, price and quantity). Customer names and email addresses are not sent. Mention Google Analytics in your privacy policy, and review your GA4 settings against your local privacy laws (such as GDPR and CCPA).

Ressources

Services externes

When you enter a Measurement ID, this plugin loads Google’s tracking code in your visitors’ browsers.

Google Analytics (gtag.js) – https://www.googletagmanager.com/gtag/js. Loaded on every page for every visitor once a Measurement ID is saved. Google receives the visitor’s IP address, browser details, page URL and cookie identifiers, plus the WooCommerce and custom events described above.
Terms: https://marketingplatform.google.com/about/analytics/terms/us/ – Privacy policy: https://policies.google.com/privacy

Google Tag Manager – https://www.googletagmanager.com/gtm.js and https://www.googletagmanager.com/ns.html. Loaded only if you enter a Tag Manager container ID.
Terms: https://marketingplatform.google.com/about/analytics/tag-manager/use-policy/ – Privacy policy: https://policies.google.com/privacy

Google Analytics Admin and Data APIs – https://analyticsadmin.googleapis.com and https://analyticsdata.googleapis.com. Called from your server, in the admin only, if you enter a GA4 Property ID and an access token for the plugin’s dashboard report. Your token is sent to Google.
Terms: https://developers.google.com/terms – Privacy policy: https://policies.google.com/privacy

jsDelivr – https://cdn.jsdelivr.net. Serves the Chart.js library on the plugin’s admin dashboard page only. Your browser requests it when you open that page.
Terms: https://www.jsdelivr.com/terms – Privacy policy: https://www.jsdelivr.com/terms/privacy-policy-jsdelivr-net

Installation

  1. Upload the plugin files to /wp-content/plugins/lean-ga4-tracker
  2. Activate the plugin from your WordPress dashboard
  3. Open Lean GA4 Tracker in the admin menu and enter your GA4 Measurement ID on the General tab

Journal de modifications

1.2.1

  • Compatibility: tested with WordPress 7.1.

1.2.0

  • Enhanced eCommerce Tracking: Complete GA4 eCommerce funnel support
  • Added view_item_list event – Track product list views on shop, category, tag, and search pages
  • Added select_item event – Track product clicks from lists with item position tracking
  • Added view_cart event – Track when customers view their shopping cart
  • Added remove_from_cart event – Track item removals from cart (server-side and AJAX)
  • Added add_shipping_info event – Track shipping method selection during checkout
  • Added add_payment_info event – Track payment method selection during checkout
  • Improved category name display in all eCommerce events (shows category name instead of ID)
  • Updated WooCommerce settings tab with 6 new tracking toggles
  • Enhanced product tracking with item_list_name, item_list_id, and index parameters

1.1.6

  • Added Recommended GA4 Events section in Events tab with toggles for generate_lead, sign_up, and purchase
  • Improved GA4 Property ID field with better placeholder, validation, and help text in Authentication tab
  • Added Manual GA4 Access Token support for dashboard charts
  • Added initial DashboardPage class with basic GA4 metrics and Chart.js visualization

1.1.5

  • Improved admin UI with modern toggle switch design for settings
  • Added scoped admin CSS file for cleaner styling
  • Enhanced WooCommerce tracking descriptions with GA4 event names
  • Updated settings header with Docs & Support and Upgrade to Pro buttons
  • Improved help texts and tooltips for better user guidance
  • Codebase refactored to use LEAN_GA4_TRACKER_URL constant for assets

1.1.4

  • Added new Script Load Mode option: “Idle (after page load)” using requestIdleCallback with fallback
  • Improved admin settings UI for script placement options
  • Enhanced sanitization to support new load mode
  • Minor code refactoring and documentation updates

1.1.3

  • Improved Consent Mode compatibility with WordPress and third-party consent plugins
  • Added listener for WordPress’s wp_consent_granted event
  • Confirmed WooCommerce support with product, cart, checkout, and order tracking
  • Enhanced leanGA4ConsentGranted()
  • Added WooCommerce tab for toggling GA4 event tracking
  • Supports product views, add to cart, begin checkout, and purchase events
  • Events dispatched using gtag() with product ID, name, price, and order data
  • Enhanced WooCommerce tracking security and GA4 payload accuracy — added JSON-encoded event payloads, quantity/currency support, duplicate purchase prevention, and front-end-only tracking hooks

Journal des modifications complet sur WordPress.org →

Captures d'écran

General tab: Configure GA4 Measurement ID and Script Load Mode
General tab: Configure GA4 Measurement ID and Script Load Mode
Tag Manager tab: Optional GTM container and user role exclusions
Tag Manager tab: Optional GTM container and user role exclusions
Authentication tab: optional Google account connection for the admin dashboard
Authentication tab: optional Google account connection for the admin dashboard
Events tab: Define custom GA4 events using a JSON array
Events tab: Define custom GA4 events using a JSON array
WooCommerce tab: Toggle GA4 eCommerce event tracking for product views, checkout, and purchases
WooCommerce tab: Toggle GA4 eCommerce event tracking for product views, checkout, and…
Forms tab (form tracking does not work in this version)
Forms tab (form tracking does not work in this version)
Privacy & Consent tab: Optional Consent Mode defaults
Privacy & Consent tab: Optional Consent Mode defaults
Debug tab: Enable Debug Mode to print event tracking output for admins
Debug tab: Enable Debug Mode to print event tracking output for admins

Pour les développeurs

Est-ce votre plugin ? Montrez les chiffres.

Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.

Badge d'installations actives Badge Badge de score de santé

Best Lean GA4 Tracker alternatives

All ecommerce tracking plugins →
Alternatives
Rang Plugin Installations actives Évaluation Mise à jour Santé
1 Arraycodes DataLayer pour WooCommerce Gratuit Arraycodes DataLayer pour WooCommerce Gratuit Suivez WooCommerce Vues et achats des produits dans Google Analytics 4 — et utilisez les mêmes données… par array.codes 600+ ★★★★★★★★★★ Aucun avis il y a 1 mois 66
2 GIA — GA4 Ecommerce Tracking for WooCommerce GIA — GA4 Ecommerce Tracking for WooCommerce Set up complete WooCommerce conversion tracking in Google Analytics 4 in minutes. Skip the… by UserElements 60+ ★★★★★★★★★★ Aucun avis il y a 5 mois 42
3 Meta Pixel Event Tracker for WooCommerce Meta Pixel Event Tracker for WooCommerce Adds customizable Meta Pixel event tracking support to WooCommerce. by Harpalsinh Parmar 60+ ★★★★★★★★★★ Aucun avis Il y a 3 mois 58
4 Analytics Code Option Analytics Code Option In Analytics Code Option you can add Google Analytic Code ID. Also you can select where… by Fullestop 30+ ★★★★★★★★★★ Aucun avis il y a 8 ans 24
5 Metrion Metrion Skip complex implementation setups and synchronize your conversion data directly to Google… by Metrion 30+ ★★★★★★★★★★ Aucun avis il y a 4 jours 67
7 Divvit e-commerce analytics Divvit e-commerce analytics Divvit e-commerce analytics tool presents insights in dashboards and KPIs to boost your… by divvit 10+ ★★★★★★★★★★ 5 (2) il y a 9 ans 30
8 GGL Suite – WooCommerce Google Tag Manager and GA4 Tracking GGL Suite – WooCommerce Google Tag Manager and GA4 Tracking WooCommerce GA4 ecommerce tracking, GTM dataLayer, Google Ads, Merchant Center feed… by pluginbros <10 ★★★★★★★★★★ Aucun avis Il y a 3 mois 55
9 Track Combo — Conversions API for WooCommerce Track Combo — Conversions API for WooCommerce Send WooCommerce events (view, add-to-cart, purchase) to Meta CAPI, Google Ads, and TikTok… by trackcombo <10 ★★★★★★★★★★ Aucun avis il y a 4 mois 49

FAQ

Lean GA4 Tracker: quick answers

Réponses directes, extraites des données en direct WordPress.org.

Source : WordPress.org

Is Lean GA4 Tracker free?

Yes. Lean GA4 Tracker is free to download and use from the official WordPress.org plugin directory.

Is Lean GA4 Tracker safe to use in 2026?

Lean GA4 Tracker is a solid plugin choice in 2026, with a few things worth checking first. It runs on 10+ sites and was last updated 1 week ago, and scores 66/100 on our health check.

How many websites use Lean GA4 Tracker?

Lean GA4 Tracker is active on 10+ WordPress websites and has been downloaded 1,344 times since it launched in April 2025. It was downloaded 162 times in the last 30 days.

Does Lean GA4 Tracker work with WordPress 7.1?

Yes. The developer has tested Lean GA4 Tracker up to WordPress 7.1.5, the latest release. It requires WordPress 6.2 or newer.

What PHP version does Lean GA4 Tracker need?

Lean GA4 Tracker requires PHP 8.2 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Lean GA4 Tracker last updated?

The latest version, 1.2.1, was released on November 21, 2026 (1 week ago).

Who makes Lean GA4 Tracker?

Lean GA4 Tracker is developed and maintained by Maidul.

What are the best alternatives to Lean GA4 Tracker?

The most popular alternatives to Lean GA4 Tracker are ArrayCodes Datalayer for Wo… (600+ installs), GIA (60+ installs) and Meta Pixel Event Tracker fo… (60+ installs).

Propulsé par PageForge

Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.

PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.

  • CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
  • Son propre titre, URL, SEO champs et schéma pour chaque page
  • Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
  • Gratuit sur WordPress.org, pas de carte de crédit

↑↓ bouger↵ ouvrir