Gzip the piwik.js file?


(roy_1) #1

Is there any way to use gzip with the piwik.js file… if so, how would it be done?

Thanks roy.


(vipsoft) #2

This is already implemented for the upcoming 0.5.5 release. Simply use piwik/js/index.php (or implicitly via piwik/js/) instead of piwik/piwik.js, to serve it up.


(roy_1) #3

How do i add this, and where do i add this too, please?

I have the JavaScript tracking code added to my website, is it this i edit?

thanks, roy.


(vipsoft) #4

We haven’t released 0.5.5 yet. Instructions on using js/index.php will be found in js/README.