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

Store bot status in attributes #217

Closed
rmccue opened this issue May 31, 2021 · 1 comment
Closed

Store bot status in attributes #217

rmccue opened this issue May 31, 2021 · 1 comment

Comments

@rmccue
Copy link
Member

rmccue commented May 31, 2021

We currently store UA data in analytics, but don't separate out bot traffic. For example, the user agent for Googlebot is Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; Googlebot/2.1; +http://www.google.com/bot.html) Chrome/W.X.Y.Z‡ Safari/537.36 which will be identified as Chrome.

This means we later can't exclude bot traffic from reports.

Related: faisalman/ua-parser-js#227

@roborourke
Copy link
Contributor

Bots are now excluded by default as they're not really useful for what we're doing with the data or useful to our customers without more advanced capabilities built on top.

#281 added the ability to not exclude bots as well, and in such cases we add attributes.isBot to the event data so we can query for its existence.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants