Gzip the piwik.js file?

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

Thanks roy.

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.

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.

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