Configure file extensions

Hi!

I do not want to track the file extensions JPG, JPEG as downloads in Piwik (just the ‘normal tracking’ no log file import). Where can I configure this option? Would this new configuration ‘update-safe’?

Thanks a lot,
hulotte

Hi Hulotte

please see this guide: JavaScript Tracking Client: Integrate - Matomo Analytics (formerly Piwik Analytics) - Developer Docs - v3

If I understand it correctly you have to configure the file extensions in the tracking code on the respective website?
Is there not a central file to configure this?

There is not a central configuration for this, because the Javascript itself has to know about this.

However to help you you can use CustomTrackerJs plugin: http://plugins.piwik.org/CustomTrackerJs
it lets you append content to the piwik.js script so you could configure the download extensions at once.

Btw if you do this and test and it works could you post here the code? we would gladly add it to the plugin’s readme file :slight_smile: