ignore bots and crawlers

I'd like to ask if there is a possibility to ignore bots and crawlers .

Any suggestion how to do this correctly? 

1reply Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
  • Here's how I'd do it. I would spot any user agent that bot usually use before sending any Segment events.

    Something like:

    If browser.user-agent === "phantomjs" => return false;  else => track()/page()/etc...
    Reply Upvote