Sub topic 4
How an open is detected
This chapter explains the mechanism behind every open event in your reports. It assumes you can send campaigns from an email service provider (ESP), you are comfortable with percentages and ratios, and you know the difference between sent and delivered messages from earlier chapters. You do not need to know HTML in depth, but you will read a short snippet.
The problem: email has no "read" signal
When someone opens a paper letter, the sender learns nothing. Email works much the same way at the protocol level. The message travels from your ESP to the recipient's mail server using SMTP (Simple Mail Transfer Protocol). SMTP reports whether the receiving server accepted the message. It does not report whether a person looked at it.
To fill this gap, ESPs use an indirect trick. They embed something in the message that the recipient's mail app must fetch from the ESP's servers when the message is displayed. If the fetch happens, the ESP logs it and calls it an open. The open is an inference. No one at the ESP observes a human reading anything.
The tracking pixel
A tracking pixel (also called a web beacon) is a tiny image, usually 1 by 1 pixels, placed in the HTML body of the email. Its URL is unique to each recipient and campaign.
<img src="https://tracking.example.com/o/abc123.gif" width="1" height="1" alt="" style="display:none">The parts that matter:
srcpoints to a server the ESP controls. The path segmentabc123is a token that maps to one recipient and one campaign in the ESP's database.width="1" height="1"makes the image invisible to the reader.alt=""gives screen readers nothing to announce.style="display:none"hides it further. Some senders omit this, because a few clients treat hidden images differently or skip them.
The ESP generates a different token for every recipient. That is what lets it say which person triggered the open, not just that someone did.
What happens step by step
- The ESP builds the HTML for each recipient and inserts that recipient's unique pixel URL.
- The message is delivered to the recipient's mailbox.
- The recipient opens the message in a mail client that displays remote images.
- The client sends an HTTP GET request for the image URL.
- The ESP's tracking server receives the request, looks up the token, and records an open event with a timestamp, IP address, and user-agent string (the text a client sends to identify itself).
- The server replies with a tiny image so the request looks normal.
Two properties follow from this design.
First, an open is really "the image was requested." Anything that requests the image counts, whether or not a person is looking at the screen.
Second, the open is recorded at the time of the request, which is not always the time the person read the message. Some clients download images ahead of time, and others download them only after the user approves.
Where the data ends up
Each request becomes a row in an events table. Reports are queries over that table. The query below counts unique recipients per event type and also counts total open events, so you can see the gap between them for each campaign.
SELECT
campaign_id,
COUNT(DISTINCT CASE WHEN event_type = 'delivered' THEN recipient_id END) AS delivered,
COUNT(DISTINCT CASE WHEN event_type = 'open' THEN recipient_id END) AS unique_opens,
COUNT(DISTINCT CASE WHEN event_type = 'click' THEN recipient_id END) AS unique_clickers,
COUNT(CASE WHEN event_type = 'open' THEN 1 END) AS total_opens
FROM email_events
GROUP BY campaign_id;If one recipient opens a message four times, total_opens rises by four and unique_opens rises by one. A person who opens the message on a phone and then on a laptop produces two requests for the same token. The ESP typically counts both in total opens and one in unique opens.
Why this detection is imperfect
Because the signal depends on an image request, any factor that changes whether the request happens changes the count. The errors go in both directions.
| Situation | What happens to the pixel request | Effect on the count |
|---|---|---|
| Client blocks remote images by default | No request until the user allows images | Real reads are missed (undercount) |
| Plain-text email or text-only view | No image is in the message | Real reads are missed (undercount) |
| Reader skims the preview pane and never loads images | No request | Missed |
| Client or proxy prefetches images on delivery | Request happens with no human present | Opens that never happened (overcount) |
| Security scanner fetches all images in a message | Request happens at delivery time | Overcount |
| Reader reopens the message many times | Several requests | Inflates total opens, not unique opens |
| Message forwarded to someone else | The forwarded copy still carries the original token | Opens attributed to the wrong person |
The next chapters cover the consequences in detail, including Apple Mail Privacy Protection (MPP), which prefetches images for a large share of recipients. For now, the point is structural. The pixel does not measure reading. It measures a request that usually, but not always, follows reading.
Image blocking
Many clients, especially in corporate environments, do not load remote images until the user clicks "display images." A person can read a whole message, and even click a link, without ever triggering the pixel. Those recipients look like non-openers.
Plain-text messages
If you send multipart email, the message holds both an HTML and a plain-text version. A client that shows the plain-text part never sees the pixel. Some people configure their client this way for security or accessibility reasons.
Proxies and caching
Some mail providers fetch remote images through their own proxy servers. The request your tracking server sees comes from the proxy's IP address, not the reader's. This breaks location and device data. If the proxy caches the image, later views may not reach your server at all, which hides repeat opens.
Reading the raw event fields
The data attached to an open can hint at what generated it, but it should be treated with caution.
- Timestamp: An open recorded within a second or two of delivery is suspicious. Most people do not read a message the instant it lands.
- IP address: A single IP address producing opens for thousands of different recipients suggests a proxy or scanner.
- User-agent: Strings that name an image proxy or a known security product indicate a non-human fetch. Many strings look like ordinary browsers, so absence of a flag proves nothing.
Some ESPs filter opens they believe are machine-generated. The filtering rules are rarely published, and they differ between vendors. The same campaign can show different open rates in two tools for this reason alone.
A worked example
You send 10,000 emails and 9,800 are delivered. Your ESP reports 3,920 unique opens. The open rate with delivered as the denominator is 3,920 / 9,800 = 40%.
Now imagine your list has two segments:
- 6,000 recipients use Apple Mail with Mail Privacy Protection on. Their client fetches the pixel on delivery for roughly all of them, so suppose 5,400 of those 6,000 register an open without any human action.
- 3,800 recipients use other clients. Of those, 800 read the message and loaded images.
In this simplified case the totals would be 5,400 + 800 = 6,200, which is higher than the reported 3,920, so the real numbers differ from these illustrative figures. The point of the exercise is the shape of the problem: if a majority of the opens come from automated fetches, the headline rate no longer tells you how many people read your message. To find out what fraction of your audience was genuinely engaged, you need a signal that a machine cannot easily fake, such as a click on a unique link or a conversion on your site.
Practical consequences
- Treat an open as "a request for the pixel was recorded," and write it that way in your own documentation.
- Prefer unique opens when you want to know how many recipients were reached, and total opens only when you want to see repeat activity. Remember that total opens can be inflated by prefetching and by one person using several devices.
- Do not use the absence of an open as proof that someone did not read the message.
- Do not use an open as the trigger for high-stakes automation, such as removing a contact for "never opening," without checking other signals.
- If you inspect events yourself, look at timing and IP patterns before trusting a spike.
Exercise
A campaign shows 4,000 unique opens and 9,500 total opens. A colleague says "9,500 people read the email." Explain what is wrong with the statement and name two reasons the number of real readers could be different from 4,000.
Show answer
Total opens counts every pixel request, including repeated requests from the same recipient, so it is not a count of people. The unique count of 4,000 is the number of recipients with at least one recorded request. The true number of readers could be lower than 4,000 because prefetching by privacy features (such as Apple MPP) or security scanners request the pixel without a human reading. It could also be higher because recipients who block images, or who read the plain-text version, never trigger the pixel.
Exercise
You see 600 opens, all timestamped within three seconds of delivery, and all from a handful of IP addresses. What does this pattern suggest, and which other metric would you check to decide whether real engagement happened?
Show answer
The pattern suggests automated image fetching by a proxy, prefetching feature, or security scanner, because humans rarely open within seconds of delivery and many unrelated recipients would not share a few IP addresses. To check for real engagement, look at clicks (preferably unique clickers, filtered for scanner behavior) or downstream conversions and replies, since these require a deliberate action.