WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by webcraftic v3.2.9

Local Google Analytics for WordPress

Plugs in Google Analytics code to your website pages and caches it, so the website loads faster.

Local Google Analytics for WordPress

The facts

Rating
4.5★ from 10
Active installs
3k+
Price
Free
Last updated
6 Nov 2025
Added
Mar 2011
Requires WP
5.6
Tested up to
WP 6.8.8
Requires PHP
7.4
Downloads
265,007

Our analysis

AI-assisted

Local Google Analytics for WordPress is a plugin that integrates Google Analytics tracking code into your website without modifying theme files. It caches the Google Analytics scripts to improve website performance by reducing external requests, updating the cached file daily.

The plugin allows you to adjust the position of the analytics code, monitor bounce rates more accurately, and disable tracking for administrators. It is suitable for users who want to implement Google Analytics while maintaining website speed and performance.

Best for: This plugin is best for website owners who want to implement Google Analytics without compromising site speed.

What it does well

  • Caches Google Analytics scripts to enhance performance
  • Allows adjustment of analytics code position
  • Monitors and adjusts bounce rates for accurate tracking
  • Disables tracking for administrators
  • Supports anonymous IP address tracking

Where it falls short

  • Limited information on additional features or support
  • No details on compatibility with other plugins

Verdict

Local Google Analytics for WordPress offers a straightforward solution for integrating analytics while focusing on performance. It may suit users looking for a lightweight option.

From the developer

webcraftic's own description of Local Google Analytics for WordPress, lightly tidied.

This plugin helps to plug in Google Analytics code to the website pages without affecting the theme code. All you have to do is to enter the tracking code. That’s all. Unlike other plugins, this one cares about your website performance and caches Google Analytics scripts.

How does plugin cache Google Analytics scripts and why?

When you activate and fill in plugin settings, it downloads remote file named analytics.js and places it to the Cache folder on your hosting (server). This file is updated once a day – it helps to avoid external requests to the Google remote server and speeds up the website pages.
Also if you want to gain 100 performance rating on Google Pagespeed Insights, then you’ll definitely need to cache Google Analytics, otherwise you’ll get a warning.

Plugin features

  • Helps to place analytics code to the website header or footer.
  • Monitors bounce rates. The point is that you set up the event triggered after a user spends a certain amount of time on the landing page, telling Google Analytics not to consider these users as a bounce. The user can visit your website, find all necessary information (for example, phone number), and then – simply close the website without visiting other pages. If the bounce rate hasn’t been adjusted, then this user is considered as a bounce, even though he had a successful experience. By defining time limits as from when the user should be considered as a bounce, you get more accurate performance of the user experience (for example, whether he’s been able to find what he was looking for or not).
  • Define the analytics code position. Google Analytics code loads prior to other scripts and JavaScript code by default. But if you set up the value 100, for example, then the Google Analytics code will be loaded after all scripts. Adjusting the priority helps to set up the code’s position on the page.
  • Disable all Display Network functions. Find more: https://developers.google.com/analytics/devguides/collection/analyticsjs/display-features
  • Use anonymous IP address (required by the law in some countries). More details: (https://support.google.com/analytics/answer/2763052)
  • Track administrators. You can disable tracking for administrators’ activities and get more accurate statistics.
  • Do not update the analytics.js local script. Plugin creates cron task to update cache of Google Analytics scripts daily. Once this feature is enabled, the plugin won’t update the Google Analytics cache file.

Translations

  • English – default, always included
  • Russian

If you want to help with the translation, please contact me through this site or through the contacts inside the plugin.

Thanks to the plugins’ authors

We used some plugins functions:
GA Google Analytics, NK Google Analytics, Complete Analytics Optimization Suite (CAOS), Clearfy — WordPress optimization plugin and disable ultimate tweaker, Enhanced Ecommerce Google Analytics Plugin for WooCommerce

Recommended separate modules

We invite you to check out a few other related free plugins that our team has also produced that you may find especially useful:

Read the full description on the official page →

Tagged as

Alternatives

Other plugins for measuring traffic.

Under Construction

Easy to use Under Construction Page & Coming Soon Page. Enable Under Construction Mode in seconds & sh...

Free 600k+ installs 4.8★ (1,285)
Ad Inserter

Manage Google AdSense ads, banners, ad rotation, sticky widgets, AMP ads, ads.txt, tracking, header and footer...

Free 300k+ installs 4.9★ (2,428)
MonsterInsights

The best free Google Analytics plugin for WordPress. See how visitors find and use your website so you can gro...

Free 2M+ installs 4.5★ (3,148)
Maintenance

Great looking maintenance, coming soon & under construction pages. Put your site under maintenance in minu...

Free 1M+ installs 4.4★ (860)
Header Footer Code Manager

Easily add tracking code snippets, conversion pixels, or other scripts required by third party services for an...

Free 600k+ installs 4.9★ (309)
GA Google Analytics

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

Free 400k+ installs 4.9★ (158)