Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Merge requests
  • !10476

Open
Created Feb 15, 2018 by Administrator@rootOwner
  • Report abuse
Report abuse

Update _piwik.html.haml

  • Overview 0
  • Commits 1
  • Pipelines 1
  • Changes 1

Created by: r00t0vi4

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.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: github/fork/r00t0vi4/patch-1