Skip to contentSkip to navigationSkip to topbar
Page toolsOn this page
Looking for more inspiration?Visit the

Internet Bots


What's a bot?

whats-a-bot page anchor

A bot is an automated software application that makes requests over the internet. For a fuller overview, see the Wikipedia article on internet bots(link takes you to an external page).

Some bots are good bots with a regulated pattern, and therefore beneficial to online businesses. Others have malicious intents and are mostly unregulated.


Is it possible to ignore bad bots?

is-it-possible-to-ignore-bad-bots page anchor

Segment doesn't offer an out-of-the-box solution to filter or ignore bot traffic.

As such, you generally have two options:

The advantage of filtering bots at a destination level is that it lets you implement a robust, easy-to-maintain solution. The downside is that bot traffic will still make it to Segment, affecting your MTU count.

To prevent bot traffic from reaching Segment in the first place, write your own custom code. The logic, in pseudo-code, would look something like this if you know a particular characteristic of the bot traffic to filter out, such as the userAgent:

1
var robots = [useragent1, useragent2]
2
if ! window.navigator.userAgent in robots
3
// send analytics calls
4
analytics.track

The benefit here is that you would be able to limit the impact that bots have on your MTU count. On the flip side, it's much harder to implement and maintain a custom filter.


If I see a massive MTU spike because of bots, can I apply for a refund?

if-i-see-a-massive-mtu-spike-because-of-bots-can-i-apply-for-a-refund page anchor

As a matter of policy, Segment doesn't provide refunds for bot-related MTU spikes, as bot traffic is out of Segment's control. However for extenuating circumstances, you can petition for a refund(link takes you to an external page), assuming you're able to provide proof of the bot's effect.


I'm seeing a lot of browser traffic from Boardman; is that from Segment or a bot?

im-seeing-a-lot-of-browser-traffic-from-boardman-is-that-from-segment-or-a-bot page anchor

Segment uses Amazon's hosting services, which are based in Boardman, Oregon. However many bots also originate from AWS in Boardman as well(link takes you to an external page).

One way you can confirm whether or not traffic is coming from Segment vs. a bot is to check the userAgent of the inbound call. Segment's is:

1
'Mozilla/5.0 (' + deviceModel.slice(0, -3) + '; CPU ' + osName + ' ' +
2
osVersion.replace(/\./g, '_') + ' like Mac OS X) AppleWebKit/600.1.4 (KHTML,
3
like Gecko) Version/' + osVersion.charAt(0) + '.0 Mobile/10B329 Safari/8536.25'