QuantumCloud PageSpeed Friendly Analytics Tracking

plugin banner

QuantumCloud google analytics tracking code plugin does the simple job of adding the analytics tracking code to your WordPress website in all pages wi

Author:QuantumCloud (profile at wordpress.org)
WordPress version required:3.0
WordPress version tested:6.1
Plugin version:1.2.0
Added to WordPress repository:03-10-2016
Last updated:03-11-2022
Rating, %:0
Rated by:0
Plugin URI:https://wordpress.org/plugins/pagespeed-frien...
Total downloads:1 640
Active installs:30+
plugin download
Click to start download

QuantumCloud PageSpeed Friendly Analytics Tracking for Google does the simple job of adding tracking code to your WordPress website in all pages. But in addition to that it solves another annoying issue with google pagespeed. Have you ever tried to increase your pagespeed score in google pagespeed insight? If you did, then you most likely ran into an annoying issue as part of the last few issues to solve. Google’s pagespeed bot will report in the Leverage browser caching section that http://www.google-analytics.com/analytics.js has an expiry date set to only 2 hours and thus prevent you from getting a Passed rule marker for the Leverage browser caching area.

Most of us cannot avoid using google analytics for statistics on our website. But how can you control page expiry date on google server? You cannot. This is one of those stupid things we have to deal with. There are complex work-arounds for this. Like copying the analytics code to your own server and then run a cron job to update the analytics javascript every few hours. These work-arounds are usually quite complex and not recommended.

QuantumCloud’s Google Analytics Tracker Plugin for WordPress is Google pagespeed friendly. The issue is overcome by not adding the analytics code in your source code when the plugin detects that it is google pagespeed bot that is requesting the page. The option is turned off by default. You can turn on the options should you want a perfect score for Leverage browser caching.

Website: http://www.quantumcloud.com/
Support Plugin Page: https://www.quantumcloud.com/blog/wordpress/pagespeed-friendly-analytics-tracking-code-plugin-wordpress/

Use

  1. After activating the plugin, add your analytics tracking id
  2. Select the option Increase Page Speed if you want to hide the analytics code from Google Pagespeed bot and improve your Google pagespeed score.

Screenshots
FAQ
ChangeLog