Exclude Visitor Stats by Referring URL :)


#1

I would like to exclude the counting of visitor stats from specified referrer URLs. Is this possible and how?

As a theoretical example, if I have visitors from the notorious semalt.com and don’t want to completely block them with .htaccess. Instead I would simply want to prevent those stats from being included in Piwik analytics. Which come from several IP addresses.

ANY help much appreciated! Thank you.

Chiappa


(Matthieu Aubry) #2

Hi Chiappa,

yes it’s possible. But semalt.com is already excluded in Piwik. More info in: Extend list of known Referrer Spammers · Issue #5099 · matomo-org/matomo · GitHub


#3

Thanks so much for the answer Matt. I should have figured out to search for “spam solutions” to find the answer, even though this was not the case for me, in this particular case.

For the next one. First, update Piwik. Then edit your piwik/config/config.ini.php (not global.ini.php) file like this:

According to my observations, www is not needed, and there must not be a space between the commas.

Thanks.

I love Piwik =)