Exclude keynote users


Is there way to Exclude keynote users from PiWik? Best practice suggested by keynote is to use user agent filtering as follows.

Transaction Perspective Agents can be filtered by using the keyword KTXN, which is a part of the following Transaction
agent string:

“Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; KTXN)”

Application Perspective agents use this string:

“Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 4.0; KHTE)”

If this is not supported in PiWik, is there a way to clean the data from database directly for these users?


(Matthieu Aubry) #2

what is keynote, and why should we ban it?

you can otherwise manually ban some user agents and IP in the Settings>Websites


Keynote checks your applications availability and performance from different locations around the world. In a nutshell it runs specific scripts for defined intervals to access the application.
We want to ignore this data as these are not real users.

(Matthieu Aubry) #4

Add the user agent to exclude in the Settings>Websites


Thanks Matt. Would it be comma separated value?

(Matthieu Aubry) #6

one per line


I have related question. I use Piwik without revealing its server URL address, therefore cookie to ignore my visits on the website doesn’t work.
So, can I somehow delete or ban a specific user ID from being tracked?

(Matthieu Aubry) #8

use the Visitor IP exclusion technique. How do I exclude traffic from an IP or a range of IP addresses? - Analytics Platform - Matomo


I considered it, but since my IP is not static, this technique is cumbersome.
But it seems I have no other option. Thank you for your answer.