Sub topic 10
Bot and scanner clicks
This chapter assumes you know how redirect-link click tracking works, how click rate is calculated, and what a denominator is. It covers clicks that no human made, and how to keep them out of your numbers.
Where bot clicks come from
Click tracking wraps each link in a redirect URL. A request to that URL is logged as a click. The tracker cannot tell whether a person or a program made the request.
Many programs request links before a person does:
- Corporate security gateways open every link in an incoming message to check it for malware or phishing.
- Some mailbox providers and anti-spam filters scan links on delivery.
- Link preview and archiving tools fetch pages automatically.
These tools often act within seconds of delivery. They follow every link, including the unsubscribe link. One message can therefore record many clicks, and every link in it can get one.
What the data looks like
Scanner clicks leave patterns you can find in the event log.
| Signal | Human behavior | Scanner behavior |
|---|---|---|
| Time after delivery | Seconds to days, spread out | Often within 1 to 5 seconds |
| Links clicked | Usually one or two | Often all links in the message |
| Click order | Varies | Top to bottom, in document order |
| User agent | Browser string | Missing, generic, or a known security vendor |
| Open event | Usually after the open | May have no open at all |
Finding suspicious clicks
You can flag a click as suspect when it happens very soon after delivery. The query below counts, for each recipient, how many distinct links were clicked within 10 seconds of delivery. It assumes an email_events table with recipient_id, campaign_id, event_type, link_id, and event_time columns.
SELECT
c.campaign_id,
c.recipient_id,
COUNT(DISTINCT c.link_id) AS links_clicked_fast
FROM email_events c
JOIN email_events d
ON d.campaign_id = c.campaign_id
AND d.recipient_id = c.recipient_id
AND d.event_type = 'delivered'
WHERE c.event_type = 'click'
AND c.event_time <= d.event_time + INTERVAL '10 seconds'
GROUP BY c.campaign_id, c.recipient_id
HAVING COUNT(DISTINCT c.link_id) >= 2;Recipients returned by this query are very likely scanner traffic. A person rarely clicks two different links within ten seconds of delivery.
Effects on your metrics
Bot clicks distort several numbers:
- Click rate rises. Unique clickers include recipients whose only click came from a scanner.
- Click-to-open rate becomes unreliable. A scanner click can occur with no open, so the ratio can look too high.
- Unsubscribes can be triggered by accident. If the scanner follows a one-click unsubscribe link, the person is removed without choosing to be.
- A/B tests are polluted. If one variant has more links, a scanner produces more clicks on it.
Segments differ. A list with many business addresses will show more scanner clicks than a consumer list.
Reducing the damage
- Filter clicks that occur within a short window after delivery, and report both raw and filtered counts.
- Filter known bot user agents and IP ranges your provider publishes.
- Make unsubscribe links require a confirmation step, such as a POST request or a button, so a simple GET request does not unsubscribe anyone.
- Prefer conversions, such as a purchase or sign-up on your site, over raw clicks when judging a campaign.
Exercise
A campaign shows a 9% click rate, but 70% of clickers clicked every link in the email within 3 seconds of delivery. What is the most likely explanation, and what two steps would you take before reporting the result?
Show answer
Security scanners at the recipients' organizations most likely followed every link, so the 9% is inflated by non-human clicks. First, flag clicks that occur within a few seconds of delivery or that hit all links in order, and report the filtered click rate next to the raw one. Second, check conversions or on-site activity to see whether real engagement matches the filtered number. Also check that the unsubscribe link needs a confirmation step.