Ignore a URL


I have had someone ‘steal’ the code from one of my sites and publish the coder on their own server as their own site.

Unfortunately they have kept the tracking code on there (hence I found out what they had done).

Is there a way to remove the data from their domain and also block data coming in from their domain?

(Matthieu Aubry) #2

Not possible currently, but thereis a feature request: New setting: Piwik to track only 'known' page URLs · Issue #1918 · matomo-org/matomo · GitHub


This should be possible with a clever .htaccess block using mod_rewrite and regexp.

The url structure for the call the tracker contains the &url= parameter. Compare the base url to your actual url and send them to a 401 (access denied) if they don’t match.

Example tracker call: