https://wordpress.org/plugins/host-analyticsjs-local/

A plugin that inserts the Analytics tracking code into the header or footer, saves the analytics.js file locally and keeps it updated using wp_cron().

Sent from my Samsung Galaxy smartphone.