MoEngage tries to prevent all the traffic from bots as they may impact the DAU/MAU and billing. Due to bots, there would be web activities that have not been performed by actual users and it results in higher DAU, MAU.
Bots, such as crawlers, spiders, and search engine bots, download and index content from websites all over the internet. MoEngage uses a user agent filtering method to prevent bots from using its functionality and block the bot traffic.
Default Blocked Bot List
Applebot - http://www.apple.com/go/applebot
PetalBot - https://webmaster.petalsearch.com/site/petalbot
Pingbot - www.pingdom.com
Proximic - https://www.comscore.com/Web-Crawler
AdsBot-Google - www.google.com/adsbot
Googlebot - http://www.google.com/bot.html, http://www.googlebot.com/bot.html
Cincraw - http://cincrawdata.net/bot
Crawler - headlessChrome
SnapchatBot - https://businesshelp.snapchat.com/s/article/adsbot-crawler
SnapchatAds - https://businesshelp.snapchat.com/s/article/adsbot-crawler
YandexRenderResourcesBot - http://yandex.com/bots
Bingbot - http://www.bing.com/bingbot.htm
Slurp - http://help.yahoo.com/help/us/ysearch/slurp
MicrosoftPreview - https://aka.ms/MicrosoftPreview
Baiduspider/2.0 - http://www.baidu.com/search/spider.html
Integration Changes
To block additional bots, you can update the key bots_list: ["bot_name"] key during integration.
Provide an array of strings containing the identifiers for the bots you wish to block, where each string is a unique bot identifier, it can be:
- the full userAgent
- a specific substring
You can handle multiple bots as shown in the code below:
Moengage = moe({
app_id: moeAppID,
bots_list: ["bot_name1","bot_name2","bot_name3"],
});