by Jeff Starr
4.9 (158 reviews)
GA Google Analytics – Connect Google Analytics to WordPress
Adds Google Analytics 4 tracking code to your WordPress site. Supports many tracking features.
Compatible with WP 6.9
v20251120
Current Version v20251120
Updated 2 months ago
Last Update on 20 Nov, 2025
Synced 16 hours ago
Last Synced on
Rank
#149
—
No change
Active Installs
400K+
-17.1%
KW Avg Position
143
-0.5 better
Downloads
9.4M
+194 today
Support Resolved
0%
—
No change
Rating
98%
Review 4.9 out of 5
4.9
(158 reviews)
Next Milestone 500K
400K+
500K+
13
Ranks to Climb
-
Growth Needed
8,000,000
Active Installs
Pro
Unlock Exact Install Count
See the precise estimated active installs for this plugin, calculated from real-time ranking data.
- Exact install estimates within tiers
- Track install growth over time
- Milestone progress predictions
Need 1,300,000 more installs to reach 500K+
Rank Changes
Current
#149
Change
Best
#
Downloads Growth
Downloads
Growth
Peak
Upgrade to Pro
Unlock 30-day, 90-day, and yearly download history charts with a Pro subscription.
Upgrade NowReviews & Ratings
4.9
158 reviews
Overall
98%
5
149
(94%)
4
3
(2%)
3
2
(1%)
2
1
(1%)
1
3
(2%)
Tracked Keywords
Showing 2 of 2| Keyword | Position | Change | Type | Updated |
|---|---|---|---|---|
| statistics | 136 | — | Tag | 16 hours ago |
| google analytics | 150 | — | Tag | 16 hours ago |
Unlock Keyword Analytics
Track keyword rankings, search positions, and discover new ranking opportunities with a Pro subscription.
- Full keyword position tracking
- Historical ranking data
- Competitor keyword analysis
Track This Plugin
Get detailed analytics, keyword tracking, and position alerts delivered to your inbox.
Start Tracking FreePlugin Details
- Version
- 20251120
- Last Updated
- Nov 20, 2025
- Requires WP
- 4.7+
- Tested Up To
- 6.9
- PHP Version
- 5.6.20 or higher
- Author
- Jeff Starr
Support & Rating
- Rating
- ★ ★ ★ ★ ★ 4.9
- Reviews
- 158
- Support Threads
- 0
- Resolved
- 0%
Keywords
Upgrade to Pro
Unlock keyword rankings, search positions, and detailed analytics with a Pro subscription.
Upgrade NowSimilar Plugins
WP Adminify – White Label WordPress, Admin Menu Editor, Login Customizer
7K+ installs
#2,735
Master Addons For Elementor - White Label, Free Widgets, Hover Effects, Conditions, & Animations
40K+ installs
#929
Header and Footer Scripts
200K+ installs
#258
Post Views Counter
200K+ installs
#271
SEO SIMPLE PACK
100K+ installs
#328
Frequently Asked Questions
Common questions about GA Google Analytics – Connect Google Analytics to WordPress
Check that your theme includes the hooks, wp_head and wp_footer
If you are using a caching plugin, try clearing the cache
If the GA tracking code still is not displayed, most likely there is interference from another plugin or theme. In this case, the best way to resolve the issue is to do some basic WordPress troubleshooting.
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"
If you are using a caching plugin, try clearing the cache
If the GA tracking code still is not displayed, most likely there is interference from another plugin or theme. In this case, the best way to resolve the issue is to do some basic WordPress troubleshooting.
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"
More info about Google Optimize.
How to enable Opt-out of tracking?
Here are the steps:
Add the following code to the plugin setting, "Custom Code": <script>window['ga-disable-UA-XXXXX-Y'] = true;</script>
Check the box to enable the setting, "Custom Code Location".
Done! You can view the source code of your web pages to verify the results.
How to disable the "auto" parameter in ga(create)?
By default the plugin includes the auto parameter in the tracking code:
ga('create', 'GA-123456789000', 'auto');
How to enable Opt-out of tracking?
Here are the steps:
Add the following code to the plugin setting, "Custom Code": <script>window['ga-disable-UA-XXXXX-Y'] = true;</script>
Check the box to enable the setting, "Custom Code Location".
Done! You can view the source code of your web pages to verify the results.
How to disable the "auto" parameter in ga(create)?
By default the plugin includes the auto parameter in the tracking code:
ga('create', 'GA-123456789000', 'auto');
First disable the auto parameter by adding the following code to WordPress functions or custom plugin:
// GA Google Analytics - Disable auto parameter
function ga_google_analytics_enable_auto($enable) { return false; }
add_filter('ga_google_analytics_enable_auto', 'ga_google_analytics_enable_auto');
Now that auto is disabled, you can replace it with your own parameter(s). For example, to implement Universal Analytics Site Speed Sample Rate, enter the following code in the plugin setting "Custom Tracker Objects":
{'siteSpeedSampleRate': 100}
Save changes and done. The resulting tracking code will now look like this:
ga('create', 'GA-123456789000', {'siteSpeedSampleRate': 100});
// GA Google Analytics - Disable auto parameter
function ga_google_analytics_enable_auto($enable) { return false; }
add_filter('ga_google_analytics_enable_auto', 'ga_google_analytics_enable_auto');
Now that auto is disabled, you can replace it with your own parameter(s). For example, to implement Universal Analytics Site Speed Sample Rate, enter the following code in the plugin setting "Custom Tracker Objects":
{'siteSpeedSampleRate': 100}
Save changes and done. The resulting tracking code will now look like this:
ga('create', 'GA-123456789000', {'siteSpeedSampleRate': 100});
Add to "Custom Tracker Objects" setting: { 'anonymize_ip': true }
Save changes and done.
Got a question?
To ask a question, suggest a feature, or provide feedback, contact me directly. Learn more about Google Analytics.
Save changes and done.
Got a question?
To ask a question, suggest a feature, or provide feedback, contact me directly. Learn more about Google Analytics.