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.
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.
Col·laboradors i desenvolupadors
«Local Google Analytics for WordPress – caches external requests» és programari de codi obert. La següent gent ha col·laborat en aquesta extensió.Col·laboradors
Interessats en el desenvolupament?
Registre de canvis
- Added: Compatibility with WordPress 6.4
- Added: Compatibility with php 8.2
- Fixed: Freemius framework conflict
- Added: Compatibility with WordPress 6.2
- Added: Compatibility with WordPress 6.0
- Added: Compatibility with Disable admin notices plugin
- Added: Compatibility with WordPress 5.9
- Fixed: Minor bugs
- Added: Compatibility with WordPress 5.8
- Fixed: Minor bugs
- Added: Subscribe form
- Fixed: Minor bugs
- Fixed: A bug with creating a local copy of the Google analytics library.
- Added: Compatibility with WordPress 4.2 – 5.x
- Added: Multisite support
- Fixed: Minor bugs
- Fixed small bugs
- The Simple Google Analytics plugin has some major changes. Unfortunately, the old version of the plugin (2.2.2) is no longer supported, but you still can download it from the WordPress repository in case if the new release doesn’t work for you.
We’ve updated the code and fixed the compatibility issue for the latest WordPress and PHP versions. We’ve also added additional feature of the Google Analytics cache – this way your website will load faster. The plugin’s name has been changed to Google Analytics cache, but all features remained the same.
Please, check plugin settings and its performance on your website. We do care about you and want to avoid any problems with the new version.
- Author change
- Add a comment when the code isn’t loaded while being logged
- Corrected the analytics code to prevent non-detection from Google
- Add the demographic / interests reports
- Corrected a bug with wp_enqueue_script
- Change the JS loading method
- Add the external links / downloads tracking
- Added the option to not render when logged in
- Corrected a bug where the JS file was loading before jQuery. Thanks to MrZebra for finding that.
- Corrected a bug that made all settings link on extension page going to Simple Google Analytics settings page.
- Google Code has returned to the original. The optimized code have issues with some users having no stats. All should be fine now.
- Code has been fully rewritten.
- Google Analytics code has been rewritten to load faster.
- Code is not showing only when logged as Admin.
- Add option to select where you want to place the code (Header or Footer)
- Add settings in the extensions page (Thanks to Vladimir Pavlikov)
- Add Russian Translation (Thanks to Vladimir Pavlikov)
- Version 1.1.3 doesn’t shows in the repository…
- Added a translation for ‘Simple Google Analytics Settings’
- French Translation Bug
- Fixed annoying bug
- Added new Site Speed setting from Google
- Corriged a bug if you use the Papercite plugin
- Clean Readme file and clean code
- Added French Translation
- Add multi-subdomain option