Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update _piwik.html.haml #10476

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update _piwik.html.haml #10476

wants to merge 1 commit into from

Conversation

r00t0vi4
Copy link

Matomo core developers are recommended to use "js/" instead of "piwik.js" and "piwik.php":

  • js/index.php (or implicitly as "js/") can be used to serve up the minified piwik.js;
  • it supports conditional-GET and Last-Modified, so piwik.js can be cached by the browser;
  • it supports deflate/gzip compression if your web server (e.g., Apache without mod_deflate or mod_gzip), shrinking the data transfer to 8K;
  • js/index.php (or implicitly as "js/") can also act as a proxy to piwik.php;
  • If you are concerned about the impact of browser-based privacy filters which attempt to block tracking, you can change your tracking code to use "js/" instead of "piwik.js" and "piwik.php", respectively.

https://github.com/matomo-org/matomo/blob/3.x-dev/js/README.md

Thank you for taking the time to contribute back to GitLab!

Please open a merge request on GitLab.com, we look forward to reviewing your contribution! You can log into GitLab.com using your GitHub account.

Matomo core developers  are recommended to use "js/" instead of "piwik.js" and "piwik.php":
- js/index.php (or implicitly as "js/") can be used to serve up the minified piwik.js;
- it supports conditional-GET and Last-Modified, so piwik.js can be cached by the browser;
- it supports deflate/gzip compression if your web server (e.g., Apache without mod_deflate or mod_gzip), shrinking the data transfer to 8K;
- js/index.php (or implicitly as "js/") can also act as a proxy to piwik.php;
- If you are concerned about the impact of browser-based privacy filters which attempt to block tracking, you can change your tracking code to use "js/" instead of "piwik.js" and "piwik.php", respectively.

https://github.com/matomo-org/matomo/blob/3.x-dev/js/README.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant