Closed ilyapoz closed 10 years ago
http://www.paulirish.com/2010/the-protocol-relative-url/
Resolution: the "//" notation is in the script for sites where https:// is used so that everything is loaded through https://. Earlier there used to be a ternary of the form
("https:" == document.location.protocol) ? "https://ssl." : "http://www."
in the ga.js. But they removed it later, don't know why.
So now chrome tries to look for file://www.google-analytics.com/analytics.cs.
In the end of the day, we can simply remove it on this site, because we don't plan ssl :)
Here we have some information
https://developers.google.com/analytics/devguides/collection/analyticsjs/domains