How can I use Mailgun click webhooks to track email clicks while excluding bot/security-scanner clicks?
01:46 13 Aug 2026

I am using Mailgun API to send email campaigns and I want to accurately track which subscribers actually click links in my emails.

My problem is that email clients and security systems can automatically scan/follow links when an email is delivered or rendered. These automated opens & clicks can therefore appear as genuine clicks in Mailgun.

I am specifically looking for a reliable approach to calculating qualified human opens & clicks rather than simply counting every clicked event.

email