Google Analytic plugins are known to slow down sites on Google Page Speed. This is even when the analytics.js is asynchronously downloaded. I want to keep a copy of analytics.js locally and add the Google Analytics Tag JavaScript code manually, as opposed to using a plugin.
It says " tag should be added near the top of the <head> tag and before any other script or CSS tags". Where would be the best place to store the Tag JavaScript code? On the Header as a Raw Code?
Many thanks in advance.