WordPress plugin intelligence profile

GA Google Analytics – Connect Google Analytics to WordPress

Adds Google Analytics tracking code to your WordPress site. Supports many tracking features.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.1
Current version20260810
WordPress coverageTested up to WordPress 7.1
Minimum stackWP 4.7 · PHP 5.6.20
Directory statusactive
Last directory update10 Aug 20262mo ago
Active installations400K+Adoption metric — not a quality score
WordPress.org rating4.9 / 5 from 158 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records GA Google Analytics – Connect Google Analytics to WordPress version 20260810 as active, updated 2mo ago and tested up to WordPress 7.1.

Overview

About this plugin

>

✨ Connects Google Analytics to WordPress

✨ Easily add Google Analytics 4 to your web pages

This plugin enables Google Analytics for your entire WordPress site. Lightweight and fast with plenty of great features.

🔥 Enable Google Analytics 4

Steps to enable Google Analytics 4:

  • Follow this guide to create a GA4 account
  • During account creation, you’ll get a tracking (measurement) ID
  • Add your new tracking ID to the plugin setting, “GA Tracking ID”
  • Select “GA4” for the plugin setting, “Tracking Method”

Save changes and done. Wait 24-48 hours before viewing collected data in your GA account.

🔥 GA Tracking Options

Here are the tracking methods available with this plugin:

  • GA4 / Google Analytics 4 (default)
  • Universal Analytics (deprecated)
  • Legacy Tracking (deprecated)

Note: GA4 is recommended. Google has deprecated/disabled all other tracking options.

🔥 GA Feature Support

  • Supports Google Analytics 4
  • Supports Display Advertising
  • Supports Enhanced Link Attribution
  • Supports IP Anonymization
  • Supports Force SSL
  • Supports Google Optimize
  • Supports Consent Signals
  • Supports Tracker Objects (Universal Analytics)
  • Supports User Opt-Out (Universal Analytics)

Also supports tracking links and conversions via the Custom Code setting. Learn more about Google Analytics.

🔥 General Features

  • Blazing fast performance
  • Does one thing and does it well
  • Drop-dead simple and easy to use
  • Regularly updated and “future proof”
  • Stays current with the latest tracking code
  • Includes tracking code in header or footer
  • Includes tracking code on all WordPress web pages
  • Includes option to add your own custom markup
  • Sleek plugin Settings page with toggling panels
  • Option to disable tracking of admin-level users
  • Option to enable page tracking in the Admin Area
  • Works with or without Gutenberg Block Editor
  • Easy to customize the tracking code
  • More features available in the Pro version »

This is a lightweight plugin that inserts the required GA tracking code. To view your site statistics, visit your Google Analytics account.

🔥 Pro Version

GA Google Analytics Pro includes the same features as the free version, PLUS the following:

  • Visitor Opt-Out Box (frontend UI)
  • Configure multiple tracking codes
  • Live Preview of all tracking codes
  • Choose location of multiple tracking codes
  • Supports Custom Code in header or footer
  • Disable tracking of all logged-in users
  • Disable Tracking for any Post IDs, User Roles, Post Types
  • Disable Tracking for Search Results and Post Archives
  • Display Opt-Out Box automatically or via shortcode
  • Complete Inline Help/Documentation
  • Priority plugin help and support

🚀 Learn more and get GA Pro »

Privacy

User Data: This plugin does not collect any user data. Even so, the tracking code added by this plugin is used by Google to collect all sorts of user data. You can learn more about Google Privacy here.

Cookies: This plugin uses simple cookies for the visitor Opt-Out Box to remember user preference for opt-in or out of Google Analytics.

Services: This plugin does not connect to any third-party locations or services, but it does enable Google to collect all sorts of data.

GA Google Analytics is developed and maintained by Jeff Starr, 15-year WordPress developer and book author.

Support development

I develop and maintain this free plugin with love for the WordPress community. To show support, you can make a donation or purchase one of my books:

  • The Tao of WordPress
  • Digging into WordPress

htaccess made easy

  • WordPress Themes In Depth
  • Wizard’s SQL Recipes for WordPress

And/or purchase one of my premium WordPress plugins:

  • BBQ Pro – Blazing fast WordPress firewall
  • Blackhole Pro – Automatically block bad bots
  • Banhammer Pro – Monitor traffic and ban the bad guys
  • GA Google Analytics Pro – Connect WordPress to Google Analytics
  • Head Meta Pro – Ultimate Meta Tags for WordPress
  • REST Pro Tools – Awesome tools for managing the WP REST API
  • Simple Ajax Chat Pro – Unlimited chat rooms
  • USP Pro – Unlimited front-end forms

Links, tweets and likes also appreciated. Thank you! 🙂

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • google analytics
  • statistics
  • tracking
Compatibility & maintenance

Compatibility & maintenance

Tested with WP 7.1

Marked as tested with the current WordPress 7.1 release.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.1
Minimum requirementsWordPress 4.7 · PHP 5.6.20
Update activity10 Aug 20262mo ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.