In your Matomo (Piwik) Javascript Tracking tag, add the following line:

_paq.push(['setCustomUrl', location.href.toLowerCase()]);

just before the line:


All your pages will now be tracked as lowercase, eg. “Default.aspx” or “DEFAULT.aspx” will be tracked as “default.aspx”.

If instead of the Javascript Tracker you are using the Log Analytics tool, then you can pass the following option to the script: