Mautic Community Forums

Exclude bots from leads list?

My leads list is filling up with visits from Google in Mountain View, California and various other bots that crawl my site for good or evil.



These are generally excluded from results in Piwk and Google Analytics etc.



Is there any way Mautic can also exclude non-human traffic from its lead list?

My leads list is filling up with visits from Google in Mountain View, California and various other bots that crawl my site for good or evil.

These are generally excluded from results in Piwk and Google Analytics etc.

Is there any way Mautic can also exclude non-human traffic from its lead list?

You can exclude any IP address from Mautic tracking. The option is in the configuration. So you can filter out the IP addresses which are obviously bots. You can even publish this list of IPs for other Mautic users. However, the leads from Mountain View doesn’t have to be always bots. It’s also IP address a lead will get if she/he opens an email in GMail.

You can also use the robots.txt file to disallow all (not misbehaving) robots at once with something like

User-agent: *
Disallow: /path-to-your-mautic/mtracking.gif

how about adding support for http://www.useragentstring.com/ or a UI where crawlers/bots can be excluded?

@destineo I like your ideas, but could you explain them in more depth?

Here’s a good example of a bot/device detection.
https://github.com/piwik/device-detector

Yep, that’s something we’d like to see in Mautic as well. Would you mind creating a new feature request at https://github.com/mautic/mautic/issues ?