I am facing a big issue on my website.
The problem is, because of some reason my analytics code link refuses to talk with the following link:
https://www.google-analytics.com/analytics.js
and gives me this error in the console:
GET https://www.google-analytics.com/analytics.js net::ERR_CONNECTION_REFUSED
I have contacted the Google Analytics Support but useless. They told me to copy the analytics code exactly as it's shown.
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-xxxxxxx-x', 'auto');
ga('send', 'pageview');
</script>
I am using Managed Wordpress Hosting from GoDaddy. Is there anyone who faced this problem?
Thank you, Mitko