Lightweight Google Analytics

Description

This simple plugin adds Google Analytics into your site using your tracking ID. Additional features include the ability to change the tracking code position, disabling display features, anonymize IP, and excluding roles from tracking.

Features

  • Performance focused with no bloat
  • Extremely simple to setup
  • Regular updates for when GA changes in the future
  • Only requires your GA tracking ID to work
  • Option to put the tracking code in the header or footer
  • Options to disable display features and anonymize IPs
  • Options to exclude specific roles from GA tracking
  • Option to use MinimalAnalytics.com’s tracking code
  • Works with WP-Rocket’s local GA script feature
  • Never any upsells

This plugin uses Google Analytics’ analytics.js tracking code by default. It does not include any built in reporting, to view your site statistics you can visit Google Analytics after installing.

Screenshots

  • Plugin settings page for Lightweight Google Analytics

Installation

To install this plugin:

  1. Download the plugin
  2. Upload the plugin to the wp-content/plugins directory,
  3. Go to “plugins” in your WordPress admin, then click activate.
  4. You’ll see a new option for Lightweight Goole Analytics in your settings tab.

Reviews

September 30, 2020
I've been on a quest to speed up my blog for a long time, and reducing the number of requests my previous Google Analytics plugin was making (and the amount of code it was injecting onto my site) was a major tipping point for getting my pages loading lightning fast after making some other site-wide optimizations. I'm using the minimal analytics option with the plugin and it took my GA file size down to 2kb (instead of 17kb where it previously was with Monster Analytics). This plugin is incredibly simple, easy-to-use and straight forward... it does exactly what it says!
Read all 1 review

Contributors & Developers

“Lightweight Google Analytics” is open source software. The following people have contributed to this plugin.

Contributors

“Lightweight Google Analytics” has been translated into 3 locales. Thank you to the translators for their contributions.

Translate “Lightweight Google Analytics” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.1.0

  • Admin page tweaks and added a setup prompt at first install

1.1.0

  • Added option to use MinimalAnalytics.com’s tracking code

1.0.0

  • Initial Release.