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
Ignore Browserstack visits #12402
Comments
Do you know any way to differentiate the visits of Browserstack from other real visits? (Preferably by user agent) |
I'm not sure if there is a deterministic way to see if the visit comes from Browserstack. I exported one of the visit profiles from Piwik but I don't see anything interesting. Are there certain tables in the DB that would tell me more about this visit, for instance about the user agent like you suggest? |
The easiest way to get the user agent is to visit your website with browserstack and check your webservers access log. |
Good idea. But it looks like we're out of luck on the user-agent side: when I use IE 7 through Browserstack for example, my access logs give: I saw that there is ongoing work on BrowserStack's side to provide to way to distinguish their sessions from real users' ones : https://www.browserstack.com/question/585 A dirty way would be to ignore visits that last less than a second, but I don't know how likely it is that I get wrongly excluded visits in that case; I'm not even sure if that's possible without changing Piwik's code. |
Excluding via IP also doesn't work. |
Thanks. That's the best I can do I guess. Closing |
When checking the responsiveness of a website using Browserstack (https://www.browserstack.com/screenshots) I noticed that Browserstack's visits were shown in Piwik. Shouldn't they could be excluded from tracking?
The text was updated successfully, but these errors were encountered: