How To enable gzip for piwik.js


(druckgott) #1

Hallo, is there any posibility to aktivate gzip for piwik.js?

If yes, how can I do this?

thx


(vipsoft) #2

This is documented in piwik/js/README.

It’s a one line in change your tracking code. e.g.,

Change:

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

To:

document.write(unescape("%3Cscript src='" + pkBaseURL + "js/' type='text/javascript'%3E%3C/script%3E"));

(rebornsusi) #3

hi,

If I used the " /js/index.php" - File , no more Internet Explorer (6,7,8) are counted. :S
Other Browsers work well!
Have somebody the same problem?


(vipsoft) #4

If I recall correctly, there was a bug in the proxy. Please try Piwik 1.1.