Is pkBaseURL used outside of the Javascript snippet? Piwik is installed on the same server that is being tracked so I’m thinking of deleting the entire pkBaseURL line and changing the next line to this:

document.write(unescape("%3Cscript src=’/piwik/piwik.js’ type=‘text/javascript’%3E%3C/script%3E"));

Would that work or is the value of pkBaseURL used outside of the snippet?

(Matthieu Aubry) #2

pkBaseURL is not used outside of the JS tracking snippet


Should this work since my website and piwik are on the same domain? I’ve removed pkBaseURL and changed the document.write and var lines.