How to avoid spaming bots

Methods of controlling spam bots

The following bots are filtered by default:

Yahoo

Googlebot

BingBot

FaceBot

AppleBot

TwitterBot

All other bots can affect the leads information in Dashly database while visiting your website. To filter out such leads, set the code:

  1. Check your unique visitors viewer agent information;

  2. Search for "bot" word in your leads agent information.

  3. If you find this word, then just set $ignore property defined.

We recommend you to set the common regularity of bots actions in order to block all at once. You can do it by filtering any atypical integration with your site that comes from framework.

Code example for GTM:

!function(){function t(t,e){return function(){window.dashlyasync.push(t,arguments)}}if("undefined"==typeof dashly){var e=document.createElement("script");e.type="text/javascript",e.async=!0,e.src="https://cdn.dashly.app/api.min.js",document.getElementsByTagName("head")[0].appendChild(e),window.dashly={},window.dashlyasync=[],dashly.settings={};for(var n=["connect","track","identify","auth","onReady","addCallback","removeCallback","trackMessageInteraction"],a=0;a<n.length;a++)dashly[n[a]]=t(n[a])}}(); if (!/(Bot)/i.test(navigator.userAgent)) {dashly.connect("xxx")};

You will block all lead agents with "bot" in a lead name by setting this code.

If it doesn't work, you can track this agent's activity to set the common regularity of bots actions on your site.

Powered by