Lightweight Google Analytics WordPress Plugin | Codefreex Skip to content
Lightweight Google Analytics icon

WordPress plugin

Lightweight Google Analytics

Easily add Google Analytics 4 to WordPress using just your Measurement ID.

By Andy Feliciotti400+ active installs5.0 out of 5
Active installs
400+
Rating
5.0 / 5
Version
1.7.0
Last updated
Nov 28, 2026
Tested up to
WordPress 7.2
Requires
WP 5.7 · PHP 7.0

Health check

Is Lightweight Google Analytics safe to rely on?

Our reading of the public WordPress.org data: maintenance, compatibility, ratings and support.

Actively maintained

Last updated on November 28, 2026. Regular updates usually mean bugs and security reports get fixed.

Tested with current WordPress

The author has tested it up to WordPress 7.2.

Few ratings so far

Only 2 ratings on WordPress.org, so the average is not yet a reliable signal.

Requires PHP 7.0 or newer

Check your hosting PHP version before installing. Modern PHP is faster and receives security fixes.

Rank tracker

Where Lightweight Google Analytics ranks in WordPress.org search

Its position in WordPress.org plugin search for its tags and name, refreshed weekly so you can see how its visibility changes.

WordPress.org search positions for Lightweight Google Analytics
KeywordPositionChangeTrendCurrent #1
analytics
consent mode
ga4
gdpr
google analytics
lightweight google analytics

Checked against the top 100 WordPress.org search results.

Overview

What Lightweight Google Analytics does

This simple plugin adds Google Analytics 4 (GA4) to your WordPress site using your Measurement ID. It prints Google’s standard gtag.js snippet, nothing more, with a few options for where it loads, who gets tracked, privacy and testing.

Performance focused with no bloat and never any upsells

Only needs your GA4 Measurement ID (G-XXXXXXXX), or paste Google’s whole tag snippet and the ID is picked out of it

Load the tracking code in the header or footer

Exclude logged-in users by role (admins, editors and authors are excluded by default)

Post previews and the Customizer are never tracked

Option to disable Google’s advertising features (Google signals)

Description from the author's listing. Read the full listing on WordPress.org

Screenshots

Lightweight Google Analytics in action

Plugin settings page for Lightweight Google Analytics
Plugin settings page for Lightweight Google Analytics

FAQ

Lightweight Google Analytics: questions and answers

What is Lightweight Google Analytics?

Lightweight Google Analytics is a WordPress plugin by Andy Feliciotti. Easily add Google Analytics 4 to WordPress using just your Measurement ID.

Is Lightweight Google Analytics free?

Lightweight Google Analytics is listed in the WordPress.org plugin directory, so the version there is free to download and use. Some authors also sell paid add-ons or a premium edition with more features and support.

How many websites use Lightweight Google Analytics?

WordPress.org reports 400+ active installations of Lightweight Google Analytics. That figure counts sites running the WordPress.org version and is rounded down by WordPress.org.

Is Lightweight Google Analytics still maintained?

Lightweight Google Analytics was last updated on November 28, 2026. The current version is 1.7.0. Check the changelog on WordPress.org and test updates on a staging site before applying them to a live site.

What does Lightweight Google Analytics require?

Lightweight Google Analytics requires WordPress 5.7 or newer and PHP 7.0 or newer. It has been tested up to WordPress 7.2.

Can Codefreex set up or customize Lightweight Google Analytics?

Yes. Codefreex installs, configures and customizes WordPress plugins including Lightweight Google Analytics, fixes conflicts and performance problems, and builds custom features when a plugin does not do exactly what you need. Send your site URL for a free review.

Free expert review

Need Lightweight Google Analytics set up, customized or fixed?

Tell us about your site and what you need this plugin to do. A senior WordPress developer replies within one business day with a plan and a quote.

Built this plugin yourself? We help WordPress product teams with development, support load and growth. Talk to us