Plugin Author: Webcraftic , JeromeMeyer62
WordPress profile: Webcraftic , JeromeMeyer62
Last updated: June 4, 2018 (1 year ago)
Tested up to (WP version): WP 4.9.10
Rating: 5 (out of 5)
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.
- 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).
- 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.
- English – default, always included
If you want to help with the translation, please contact me through this site or through the contacts inside the plugin.
Many thanks to Jerome Meyer, for his great contribution to the development of this 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:
- Clearfy – WordPress optimization plugin and disable ultimate tweaker
- Disable Comments for Any Post Types (Remove Comments)
- Cyrlitera – transliteration of links and file names
- Cyr-to-lat reloaded – transliteration of links and file names
- Disable admin notices individually
- Hide login page
- Disable updates, Disable automatic updates, Updates manager
- WordPress Assets manager, dequeue scripts, dequeue styles
Upload the ‘simple-google-analytics.zip’ file to the /wp-content/plugins/ directory using wget, curl of ftp.
‘unzip’ the ‘simple-google-analytics.zip’ which will create the folder to the directory /wp-content/plugins/simple-google-analytics
Activate the plugin through the ‘Plugins’ menu in WordPress
Configure the plugin through ‘Local Google Analytics’ submenu in the the ‘Settings’ section of the WordPress admin menu
Add your google analytics ID there. An example of Google Analytics ID –> UA-0000000-0.
Choose if your blog is on a sub-domain or not. This option is defined in your Google Analytics settings page. Do not change if you don’t know.
Enter the domain where your WordPress is.
Save it & your done.
Does plugin work with multisite?
No plugin does not support multisites. This is temporary and we will try to add support for networks in the future.
Latest Change log entry:
analytics, google analytics, google analytics dashboard, google analytics plugin, google analytics widget
+ Jason's Comments
I’d generally recommend Google Analytics by MonsterInsights plugin, but this plugin is even simpler and more importantly provides an advantage of reducing loading an external file script from Google servers. By serving the script file locally it can improve performance.