QuantumCloud PageSpeed Friendly Analytics Tracking for Google does the job of adding tracking code to your WordPress website in all pages.
Have you ever tried to increase your pagespeed score google pagespeed insight.
Google's pagespeed bot will report in Leverage browser caching section that http www google-analytics com analytics js has expiry date set to only 2 hours and thus prevent you from getting Passed rule marker for Leverage browser caching area..
Like copying the analytics code to your own server and then run job to update the javascript every few hours.
The issue is overcome by not adding the analytics code in your source code when the plugin detects that it's google pagespeed bot that is requesting the page.
You can turn on the options should you want perfect score for Leverage browser caching..
After activating the plugin, add your analytics tracking id.
Select Increase Page Speed if you want to hide the analytics code from Google Pagespeed bot and improve your Google pagespeed score...
Go to Settings and Add your tracking code.
Browse the code, check out SVN repository, or subscribe to the development log by RSS...
Read more