Simple Google Analytics

plugin banner

A simple Plugin to add Analytics code on your pages. You simply enter your ID, you choose if you are on a sub-domain and add your domain name.

Author:Webcraftic (profile at wordpress.org)
WordPress version required:5.2
WordPress version tested:6.4.1
Plugin version:3.2.7
Added to WordPress repository:24-03-2011
Last updated:23-11-2023
Rating, %:90
Rated by:10
Plugin URI:https://webcraftic.com
Total downloads:250 535
Active installs:6 000+
plugin download
Click to start download

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:


Screenshots
ChangeLog