Type to search.

#149 by installs

GA Google Analytics – Connect Google Analytics to WordPress

by Jeff StarrVersion 20260810

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

Active installs
400,000+
#149 of 1,000
Downloads, all time
10.4M
10,425,771
Downloads, 30 days
43.5K
10.6K in the last 7
Rating
4.9 / 5
158 reviews
Last updated
3 months ago
Aug 10, 2026
Version
20260810
39 releases

Upkeep and compatibility

Last updatedAugust 10, 2026Updated in the last 3 months
Tested up toWordPress 7.1.4Covers WordPress 7.1.4, the current release
Needs WordPress4.7 or newer
Needs PHP5.6.20 or newer
First publishedNovember 13, 2012
Support, last two monthsNo threads opened

Reviews

4.9 / 5 from 158 reviews

Reviews by star rating
5 stars150
4 stars3
3 stars2
2 stars1
1 star2

Downloads, last 30 days

Low 745 a dayHigh 3.5K a day

What the author says it does

✨ 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

The opening of the plugin's own description. The full text, installation notes and changelog are on its WordPress.org page.

Questions the author answers

How to enable Google Analytics 4?

Check out the top of this page, first section provides the steps to add GA4 to your site.

I am confused about all the different tracking methods?

This article should help to get a better idea of the changes: History of Google Analytics

Tracking code is not displayed in source code?

If you check the source code of your pages and don’t see the GA tracking code, check the following:

  • Check that your theme includes the hooks, wp_head and wp_footer
  • If you are using a caching plugin, try clearing the cache
Google Analytics says tracking code is not detected?

You need to wait 24-48 hours (or longer) for Google to collect some data. Just takes time for Googlebot to crawl your pages, collect and process data, etc. For more information, check out the Google Analytics Help Center.

Can I filter the output of the “Custom GA Code” setting?

Yes, you can use the gap_custom_code filter hook.

How to implement Google Optimize?

Here are the steps:

  • Enable Universal Analytics in the plugin settings
  • Add the Optimize plugin (e.g., ga('require', 'GTM-XXXXXX');) to the setting, “Custom GA Code”
  • Add the Page Hiding (flicker) snippet to the setting, “Custom <head> Code”
  • Enable the setting, “Custom <head> Location”

Done! You can view the source code of your web pages to verify the results.

More info about Google Optimize.

Latest changelog entry

Thank you to everyone who shares feedback for GA Google Analytics!

If you like GA Google Analytics, please take a moment to give a 5-star rating. It helps to keep development and support going strong. Thank you!

✨ Pro version available! Check out GA Pro »

20260810

  • Updates plugin settings page
  • Tests on WordPress 7.1

20260421

  • Fixes bug with reset options
  • Updates plugin settings page
  • Improves readme.txt documentation
  • Tests on WordPress 7.0

Full changelog @ https://plugin-planet.com/wp/changelog/ga-google-analytics.txt

Screenshots

From WordPress.org.

Tagged

Plugins that share its tags

A simple, yet powerful WordPress analytics plugin that gives you privacy-friendly stats to grow your website. A Google Analytics alternative.

Installs
100,000+
Rating
4.8 (167)
Updated
9 days ago

Where this page's numbers come from

Read from the WordPress.org plugin API on , when WordPress 7.1.4 was the current release. WordPress.org rounds active installs into buckets. These are the directory's figures, not my verdict, and I haven't tested this plugin. The author takes donations at their donate page.