Answer the question
In order to leave comments, you need to log in
Why doesn't TOR browser load the piwik.js script?
I'm using the PIWIK statistics script and placing the piwik.js script before closing the head tag. This works in all browsers except TOR - it says in the developer console
Loading script at domain.com/piwik/piwik.js failed.
Statistics script code that accesses domain.com/piwik/piwik.js:
var _paq = _paq || [];
_paq.push(["setDomains", ["*.mywebsite.ru"]]);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="https://domain.com/piwik/";
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', 35]);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
})();
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question