Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Excluded IPs still show up in Piwik when using IP anonymization #11467

Closed
ghost opened this issue Mar 8, 2017 · 5 comments
Closed

Excluded IPs still show up in Piwik when using IP anonymization #11467

ghost opened this issue Mar 8, 2017 · 5 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. worksforme The issue cannot be reproduced and things work as intended.
Milestone

Comments

@ghost
Copy link

ghost commented Mar 8, 2017

I have a few spam IPs that regular show up in my Piwik analytics. I have added them to the "Global list of excluded IPs" in "Global website settings" - one address per line with no wildcards. However, their visits still keep showing up. I've enabled debug logs now, and I'll update this issue if they shed light on the issue.

I'm using Piwik 3.0.2. Has anyone else had a similar problem?

@tsteur
Copy link
Member

tsteur commented Mar 8, 2017

FYI: I just browsed through the code, and debugged it while trying to reproduce it but it works.

Are you using the regular JavaScript tracker?

@ghost
Copy link
Author

ghost commented Mar 8, 2017

I found the problem - it was my mistake.
I've set Piwik to anonymize the last part of visitor's IP addresses, so they all end in .0. Of course, this isn't the actual visitor's IP, so I'll have to use the wildcard in the list of excluded IPs.

Sorry for the false alarm - closing this issue.

@ghost ghost closed this as completed Mar 8, 2017
@tsteur
Copy link
Member

tsteur commented Mar 8, 2017

Actually, I'm thinking this might be a bug as the exclusion should maybe still work on the original IP. I will reopen for now but feel free to close if I'm wrong @mattab

@tsteur tsteur reopened this Mar 8, 2017
@tsteur tsteur added the Bug For errors / faults / flaws / inconsistencies etc. label Mar 8, 2017
@tsteur tsteur changed the title Excluded IPs still show up in Piwik Excluded IPs still show up in Piwik when using IP anonymization Mar 8, 2017
@tsteur tsteur added this to the 3.0.3 milestone Mar 8, 2017
@sgiehl
Copy link
Member

sgiehl commented Mar 20, 2017

Looking at the code, the IP exclusion should be handled before the IP get anonymized. So excluding the original IP should work.

@BalooBearUSA
Copy link

I have also have my setting set to anonymize YES, but my Global List of Excluded IPs still appear in my visitor logs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. worksforme The issue cannot be reproduced and things work as intended.
Projects
None yet
Development

No branches or pull requests

4 participants