cool, GDPR compliant plugin created by Daan van Bergh that enables you to complete optimize the usage of Google Analytics on your WordPress Website.
This plugin will get you higher score on Pagespeed and Pingdom and make your website load faster, because the browser doesn't have to make roundtrip to download the file from Google's external server..
Just install the plugin, enter your Tracking-ID and the plugin adds Tracking Code for Google Analytics to the head of your theme, downloads and saves the analytics.js-file to your server and keeps it updated using in wp cron ...
Upload the plugin files to the wp-content plugins directory, or install the plugin through WordPress plugins screen directly..
Just enable 'Enable with Monster Insights within the ' Optimize Analytics screen and CAOS will replace the default source of analytics js to your hosted file...
If you're WooCommerce-user, I suggest integrating Google Analytics for WordPress by Monster Insights with WooCommerce to take advantage of e-Commerce tracking capabilities of Google Analytics.
Add the path to this plugin's to CDN Enabler and the script is pulled from your CDN...
Using Divi theme, this plugin is not working do not know why, never have issues, but the code is not found html and when trying to activate Google Analytics says cannot authenticate with website
Read more