BLACK FRIDAY
Save 59% on PageForge Annual $191/year $485/year
Claim 59% Off →
Lean GA4 Tracker icon
Maintained Tested up to 6.9.9 #7 in ecommerce tracking

Lean GA4 Tracker

Lightweight Google Analytics 4 (GA4) plugin for WordPress with WooCommerce tracking, Consent Mode, and Google Tag Manager support.

Active installs<10New
Downloads · 30d53▲ +71% vs prev. 30d
Rating—0 reviews
Health score36/100At risk
All-time downloads1.1KSince Apr 2025
Support resolved—No recent threads
RequiresWP 6.2PHP 8.2+
Downloads · 7d13▼ -7.1% week over week
Our verdict

Consider an alternative

Lean GA4 Tracker shows warning signs in 2026 — compare the alternatives below before installing. Was last updated 9 months ago, and scores 36/100 on our health check.

  • Small user base (<10 active installs)
  • Very few reviews so far
  • Only tested up to WordPress 6.9 (latest is 7.1)
  • Needs PHP 8.2 or newer

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

123Jul 7Aug 20Oct 4
Yesterday1
Daily average (1y)2
Peak day26Jan 3, 2026
Last 12 months554

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Lean GA4 Tracker stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
ecommerce tracking >100 861 Best ecommerce tracking plugins →
ga4 >100 507 Best ga4 plugins →
google tag manager >100 1,643 Best google tag manager plugins →
Tags: google analytics >100 2,073 Best Tags: google analytics plugins →
woocommerce analytics >100 3,450 Best woocommerce analytics plugins →

About Lean GA4 Tracker

From the official readme · v1.2.0

Description

Lean GA4 Tracker is a lightweight, developer-friendly plugin that integrates Google Analytics 4 (GA4) with WordPress.
Unlike heavy analytics plugins, Lean GA4 Tracker focuses on performance, privacy, and simplicity, while still offering advanced features like WooCommerce eCommerce tracking, Consent Mode, and Google Tag Manager (GTM) support.

Perfect for WooCommerce Stores

Lean GA4 Tracker includes built-in GA4 eCommerce event tracking — no coding or add-ons required.
Track the full shopping journey:
– Product detail views (view_item)
– Product list views (view_item_list) – shop, category, search pages
– Product clicks from lists (select_item)
– Add to cart actions (add_to_cart)
– View cart (view_cart)
– Remove from cart (remove_from_cart)
– Checkout steps (begin_checkout)
– Shipping method selection (add_shipping_info)
– Payment method selection (add_payment_info)
– Purchases (purchase)
– Includes product categories and brands for richer GA4 reports

Why Choose Lean GA4 Tracker?

  • Lightweight: No bloat, performance-first architecture
  • WooCommerce Ready: Track product views, carts, checkout, and purchases
  • Developer-Friendly: PSR-4 autoloading, hooks, and JSON event support
  • Flexible Script Loading: Standard, async, defer, or idle
  • Consent Mode Integration: Works with Complianz, CookieYes, and Cookiebot
  • Google Tag Manager (GTM): Inject GTM containers for Web, AMP, or custom
  • Custom Events: Dispatch your own GA4 events via JSON — no JavaScript required
  • Tabbed Settings UI: Clean, organized settings panel
  • Multisite Support: Network-wide GA4 settings with optional enforcement

Resources

Whether you’re a WooCommerce store owner or a developer building custom sites, Lean GA4 Tracker gives you exactly what you need — nothing more, nothing less.

Privacy

This plugin does not collect, store, or transmit any personal data by itself.
It integrates your site with Google Analytics 4 (GA4) and/or Google Tag Manager (GTM).
Please review and configure your GA4 and GTM accounts in accordance with your local privacy laws (such as GDPR, CCPA).

Consent Mode

If enabled, Lean GA4 Tracker respects user tracking preferences via Google Consent Mode.
You can also integrate with third-party cookie banner plugins (Complianz, CookieYes, Cookiebot) to ensure visitor choices are honored.

WooCommerce Data

When WooCommerce tracking is enabled, the plugin sends product and order information to GA4, such as product name, category, brand, price, and quantity.
No personally identifiable information (PII) such as customer names or emails is collected or transmitted.

Recommended

We recommend that site owners:
– Update their site’s Privacy Policy to mention Google Analytics 4 and data sharing with Google
– Provide clear information to visitors about analytics tracking
– Use a consent management plugin to comply with GDPR/CCPA and other regulations

Installation

  1. Upload the plugin files to /wp-content/plugins/lean-ga4-tracker
  2. Activate the plugin from your WordPress dashboard
  3. Go to Settings → Lean GA4 Tracker to configure your Measurement ID, WooCommerce tracking, and GTM settings

Frequently asked questions

Does this plugin support WooCommerce eCommerce tracking?

Yes. Lean GA4 Tracker tracks product views, add to cart, checkout, and purchases using GA4’s official eCommerce schema — including product category and brand data.

Can I track custom GA4 events without writing code?

Yes. You can define a JSON array of custom events in the Events tab, and the plugin will dispatch them automatically.

Does the plugin support Consent Mode?

Yes. Enable it in the Privacy tab to integrate with cookie banner plugins like Complianz, CookieYes, and Cookiebot.

Can I use Google Tag Manager (GTM) instead of the GA4 script?

Yes. You can inject GTM containers (Web, AMP, or Custom) and even enable GTM Debug Mode for testing.

Does it work in multisite?

Yes. Network admins can enforce GA4 settings across all sites or allow site-level overrides.

Where is the GA4 script loaded?

You can load it as standard, async, defer, or idle (using requestIdleCallback) to optimize performance.

Does this plugin support product categories and brands in WooCommerce?

Yes. From version 1.1.5, WooCommerce eCommerce tracking automatically includes product category and brand attributes in GA4 event payloads.

Can I disable tracking for logged-in administrators or editors?

Yes. You can exclude specific user roles from tracking in the Tag Manager settings tab.

Does Lean GA4 Tracker slow down my website?

No. The plugin is designed to be lightweight and optimized for performance. You can choose async, defer, or idle script loading to minimize impact on page speed.

How is this plugin different from other GA4 plugins?

Lean GA4 Tracker focuses on performance and WooCommerce support without unnecessary bloat. It is developer-friendly, privacy-focused, and provides just the right features for GA4 and GTM integration.

Changelog

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

1.1.1

  • Added Forms tab with toggles for form submission tracking
  • Supports Contact Form 7, WPForms, Gravity Forms, Ninja Forms, Formidable Forms, and Fluent Forms
  • GA4 events include form title and form ID using gtag()

Full changelog on WordPress.org →

Screenshots

General tab: Configure GA4 Measurement ID, Script Load Mode, and optional GTM Container ID
General tab: Configure GA4 Measurement ID, Script Load Mode, and optional GTM Container ID
Tag Manager tab: Configure GTM container injection, container type, debug mode, and user role exclusions
Tag Manager tab: Configure GTM container injection, container type, debug mode, and user…
Authentication tab: Enter GA4 Property ID and Manual Access Token
Authentication tab: Enter GA4 Property ID and Manual Access Token
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, add to cart, checkout, and purchases
WooCommerce tab: Toggle GA4 eCommerce event tracking for product views, add to cart…
Forms tab: Enable automatic GA4 event tracking for Contact Form 7, WPForms, Gravity Forms, Ninja Forms, Formidable Forms, and Fluent Forms
Forms tab: Enable automatic GA4 event tracking for Contact Form 7, WPForms, Gravity…
Privacy & Consent tab: Enable Consent Mode and integrate with cookie banner plugins like Complianz, CookieYes, and Cookiebot
Privacy & Consent tab: Enable Consent Mode and integrate with cookie banner plugins like…
Debug tab: Enable Debug Mode to print event tracking output for admins
Debug tab: Enable Debug Mode to print event tracking output for admins

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best Lean GA4 Tracker alternatives

All ecommerce tracking plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 ArrayCodes Datalayer for WooCommerce FREE ArrayCodes Datalayer for WooCommerce FREE Track WooCommerce product views and purchases in Google Analytics 4 — and use the same data… by array.codes 700+ ★★★★★★★★★★ No reviews 3 weeks ago 70
2 Meta Pixel Event Tracker for WooCommerce Meta Pixel Event Tracker for WooCommerce Adds customizable Meta Pixel event tracking support to WooCommerce. by Harpalsinh Parmar 70+ ★★★★★★★★★★ No reviews 1 month ago 64
3 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 40+ ★★★★★★★★★★ No reviews 3 months ago 47
4 Metrion Metrion Skip complex implementation setups and synchronize your conversion data directly to Google… by Metrion 40+ ★★★★★★★★★★ No reviews 5 days ago 55
5 Analytics Code Option Analytics Code Option In Analytics Code Option you can add Google Analytic Code ID. Also you can select where… by Fullestop 40+ ★★★★★★★★★★ No reviews 7 years ago 24
6 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) 9 years ago 30
7 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 ★★★★★★★★★★ No reviews 3 weeks ago 59
8 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 ★★★★★★★★★★ No reviews 2 months ago 55

FAQ

Lean GA4 Tracker: quick answers

Straight answers, pulled from live WordPress.org data.

Live data from WordPress.org · checked Oct 5, 2026

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 shows warning signs in 2026 — compare the alternatives below before installing. Was last updated 9 months ago, and scores 36/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,135 times since it launched in April 2025. It was downloaded 53 times in the last 30 days.

Does Lean GA4 Tracker work with WordPress 7.1?

Lean GA4 Tracker is officially tested up to WordPress 6.9.9, while the latest release is 7.1.2. It may still work, but try it on a staging site first.

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.0, was released on January 3, 2026 (9 months 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… (700+ installs), Meta Pixel Event Tracker fo… (70+ installs) and GIA (40+ installs).

Powered by PageForge

Want thousands of pages that rank like these? Build them in an afternoon.

This directory runs on the same engine as PageForge. Turn any spreadsheet, CSV or API into thousands of fast, SEO-ready WordPress pages — with schema, internal links and AI-written copy baked in.

  • CSV, Google Sheets & API data sources
  • AI content, schema & internal links per page
  • Works with Elementor, Gutenberg, Yoast & Rank Math
  • Free on WordPress.org — no credit card
Sarah is here to help!
Hi there! 👋 Need help finding what you're looking for?
Sarah
Sarah
Online & Ready to Help
Hi there! 👋 Need help finding what you're looking for?

We'll use this to continue our conversation

Just now ✓ Verified

Join 500+ SEO Pros Scaling Their Strategy

Get exclusive programmatic SEO tactics, AI content workflows, and the latest PageForge updates delivered straight to your inbox. Stay ahead of the algorithm.

We care about your data in our privacy policy.