Analytics.js net :: ERR_CONNECTION_REFUSED

Can someone help me understand why this is happening with the Google Analytics code?

This is a bug that then gives me download tracking code:

https://www.google-analytics.com/analytics.js Failed to load resource: net :: ERR_CONNECTION_REFUSED

Is there any solution? I tried to fix it all morning.

My situation:

If this error occurs, the tracking code does not work. Therefore, if events are monitored and the callback functions specified in the hitCallback property are never executed. When the reason is the lack of functionality of the website, as well as tracking statistics.

The types of events that brought me to me: behavioral events, events advanced in electronic commerce (turn-based cart).

My attempts:

I turned off antivirus, antivirus firewall, Windows firewall and unsuccessfully thought about what could be. I installed the extension for debugging Google analytics. Worked for hours. I tried to download the code directly in the browser and on any PC, I can get it. I could get https://www.google-analytics.com/analytics.js by making wget from my server console. Could this be a problem with the provider?

Many thanks!

Update:

Confirmed by ISP. Although they did not decide in my case, because the technician went on vacation.

- , , , Analitycs, URL-, "mydomain.com/analytics.js", modrewrite php Js www.google-analytics.com/analytics.js . php. , . , , .

+4
1
+1

Source: https://habr.com/ru/post/1648671/


All Articles