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.
Escolha sólida
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.
- Desenvolvido ativamente — última atualização 1 semana atrás
- Testado com as últimas WordPress (7.1)
- Pequena base de usuários (10+ instalações ativas)
- Muito poucos comentários até agora
- Precisa de PHP 8.2 ou mais recente
Como ele se acumula?
Lado a lado em instalações, atualizações, avaliações e suporteDownloads diários
Os picos de download geralmente seguem uma nova versão — cada site que atualiza automaticamente é um download.
Rankings
Where Lean GA4 Tracker stands todayWordPress.org Classificações de pesquisa
Posição ao vivo na pesquisa de plugins, top 100| Palavra chave | Posição |
|---|---|
| ecommerce tracking | >100 |
| GA4 | #49 |
| Google Analytics | >100 |
| gtag | #43 |
| woocommerce analytics | >100 |
Adoção da versão
Compartilhamento de sites ativos por lançamento.
About Lean GA4 Tracker
From the official readme · v1.2.1Descrição
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.
O que ele faz
- 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_infoandpurchase, 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).
Recursos
Serviços externos
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
Instalação
- Carregue os arquivos do plug-in para
/wp-content/plugins/lean-ga4-tracker - Activate the plugin from your WordPress dashboard
- Open Lean GA4 Tracker in the admin menu and enter your GA4 Measurement ID on the General tab
Log de Changes
1.2.1
- Compatibilidade: Testado com WordPress 7.1.
1.2.0
- Enhanced eCommerce Tracking: Complete GA4 eCommerce funnel support
- Added
view_item_listevent – Track product list views on shop, category, tag, and search pages - Added
select_itemevent – Track product clicks from lists with item position tracking - Added
view_cartevent – Track when customers view their shopping cart - Added
remove_from_cartevent – Track item removals from cart (server-side and AJAX) - Added
add_shipping_infoevent – Track shipping method selection during checkout - Added
add_payment_infoevent – 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, andindexparameters
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
Capturas de tela
Para desenvolvedores
Este é o seu plugin? Mostre os números.
Adicione um crachá ao vivo ao seu site, Documentos ou Readme do GitHub. Ele é atualizado por conta própria - nenhuma conta necessária.
Best Lean GA4 Tracker alternatives
All ecommerce tracking plugins →FAQ
Lean GA4 Tracker: quick answers
Respostas diretas, extraídas de dados ao vivo WordPress.org.
Fonte: 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).
Alimentado por PageForge
Um modelo e uma planilha. Uma página real para cada pesquisa.
PageForge Transforma cada linha de um CSV em uma página WordPress com seu próprio título, URL, SEO campos e esquema, construído no layout que você já desenhou. Gratuito em WordPress.org.
- CSV e XLSX, mais Google Sheets em Profissional e Empresarial
- Seu próprio título, URL, SEO campos e esquema para cada página
- Funciona com o editor de blocos, Elementor, Divi e Avada
- Gratuito em WordPress.org, sem cartão de crédito
