How To Host Google Analytics Locally In WordPress

Host Google Analytics Locally

When you start paying attention to the speed of your WordPress site, one of the most important things to look after is all the external requests that your site makes to all kinds of services.

A popular external request that many sites make is to Google Analytics.

And when you test your site in GTmetrix or Pingdom, you will notice the following message:

‘Leverage browser caching for the following cacheable resources:

https://www.google-analytics.com/analytics.js’

In this tutorial, I will tell you how to host Google Analytics locally in WordPress to Leverage Browser Caching in order to increase the speed and the score of your site in GTmetrix.

Read moreHow To Host Google Analytics Locally In WordPress