Skip to content

MailgunOpen-tracking pixel, click tracking and unsubscribe

Mailgun can insert an open-tracking pixel, and lets you remove it campaign by campaign.

API / Transactionnel · vendor's site ↗ · code mailgun

Compare

API-based sending service for developers, intended for the emails an application generates — confirmations, alerts, resets. Owned by Sinch since 2021, like Mailjet.

Postmetry reference sheet

What the vendor says, checked by us

Documentation maturity 5 / 20 capabilities 25 %

4 sources · last reviewed on 08/20/2026. Still not checked: Exclusion by contact, Consent — absence means no pixel, Tracking anonymization, Traceable choice, List-Unsubscribe, RFC 8058 — one click, Preferences page, Transactional exceptions, DKIM, SPF, DMARC, Sending domain, Logging, Consent history, Granularity of settings.

Postmetry corpus

What brands actually send

Observation base 6 brands · 3 months 9

9 messages received from 08/07/2026 to 10/19/2026. Below the threshold of 30 messages and 8 brands: no rate is published.

Postmetry reference sheet

What this ESP allows

Catalog shared by both pages. Each note carries its source, its date, and its confidence level.

On the right, what our emails say about it: matching, contradicted, never observed despite the volume, too few emails to conclude — or out of reach, when the capability can't be read from an email.

Tracking 5 not verified

Open pixel Yes 1 note · 20/08/2026 Too few emails seen on 4 of 4 emails from 2 brands, 3 months
By default

Mailgun uses tracking pixels and URL redirects to track every time a recipient opens

Caveat Off by default (event tracking is automatic except for opens, clicks and unsubscribes — introduction page). Two levels: domain (Tracking Settings) and message (o:tracking / o:tracking-opens, which overrides the domain). Pixel position: bottom by default, top via o:X-Mailgun-Track-Pixel-Location-Top.

Tracking Opens · Help centre · last reviewed on 08/20/2026 · confidence medium

Click tracking Yes 1 note · 20/08/2026 Too few emails out of 4 emails from 2 brands, 3 months
By default

When you enable Click tracking, links will be overwritten and point to Mailgun's servers

Caveat Opt-in; o:tracking-clicks accepts htmlonly (rewrite the HTML, leave the text untouched); disabling per link via the HTML attribute disable-tracking=true (introduction page) — documented link-level granularity, rare in this group.

Tracking Clicks · Help centre · last reviewed on 08/20/2026 · confidence medium

Exclusion by campaign Yes 1 note · 20/08/2026 Out of reach
By default

can be enabled on two levels – per sending domain (as mentioned above) and per message

Caveat The per-message setting overrides the domain in both directions (enabling as well as switching off). An implementation nuance noted by the ecosystem: o:tracking must accompany o:tracking-opens/clicks to override a domain set to OFF — to be observed.

Tracking Messages Introduction · Help centre · last reviewed on 08/20/2026 · confidence medium

Exclusion by contact Not verified Documentation muette Non vérifié Out of reach
Consent — absence means no pixel Not verified Documentation muette Non vérifié Out of reach
Native consent collection Non vérifié Pas encore documenté Non vérifié Out of reach
Tracking anonymization Not verified Documentation muette Non vérifié Out of reach
Traceable choice Not verified Documentation muette Non vérifié Out of reach

Unsubscribe 4 not verified

List-Unsubscribe Not verified Pas encore documenté Non vérifié Too few emails seen on 4 of 4 emails from 2 brands, 3 months
RFC 8058 — one click Not verified Pas encore documenté Non vérifié Too few emails seen on 4 of 4 emails from 2 brands, 3 months
Preferences page Not verified Documentation muette Non vérifié
Transactional exceptions Not verified Pas encore documenté Non vérifié

Authentication 4 not verified

DKIM Not verified Pas encore documenté Non vérifié Too few emails seen on 9 of 9 emails from 6 brands, 3 months
SPF Not verified Pas encore documenté Non vérifié Too few emails seen on 9 of 9 emails from 6 brands, 3 months
DMARC Not verified Pas encore documenté Non vérifié Too few emails seen on 9 of 9 emails from 6 brands, 3 months
Sending domain Not verified Pas encore documenté Non vérifié Too few emails seen on 2 of 9 emails from 6 brands, 3 months
Tracking domain Yes 1 note · 20/08/2026 Too few emails out of 4 emails from 2 brands, 3 months
By default

You will need to point CNAME records to mailgun.org for Mailgun to rewrite links and track opens.

Caveat Finding: the branded CNAME is a condition of tracking, not a convenience option — without it, there is neither link rewriting nor a pixel, and the UI blocks the settings. HTTPS via Let's Encrypt on the existing CNAME, HSTS supported, certificates can be regenerated via the API. CNAME target mailgun.org = signature in our corpus.

Tracking Messages Introduction · Help centre · last reviewed on 08/20/2026 · confidence medium

Infrastructure & governance 3 not verified

Logging Not verified Documentation muette Non vérifié Out of reach
API Yes 1 note · 20/08/2026 Out of reach
By default

Mailgun offers tracking for clicks, unsubscribes, and opens, with optional HTTPS protocol support

Caveat Tracking settings can be read and modified via the API at every level (domain, message via o:* parameters, link via an attribute); webhooks deduplicated at account/domain level.

Domain Tracking · API documentation · last reviewed on 08/20/2026 · confidence high

Consent history Not verified Documentation muette Non vérifié Out of reach
Granularity of settings Not verified Documentation muette Non vérifié Out of reach

Postmetry corpus

Observed in our corpus

Recorded by our analyzers on messages received on addresses we control. Nothing from the reference sheet here, no access to the tool.

9 messages, 6 brands, below the threshold of 30 messages and 8 brands: no rate is published. A percentage on so few emails, or so few brands, describes what one brand configured, not what the sending platform does.

Period observed

08/2026 → 19/10/2026

3 months, 6 distinct brands.

Identification signals

What we recognized the sending platform by, message by message.

  • X-Mailgun-Sid 100 %

Limits of this analysis

It doesn't say what a brand has actually configured. A sending platform that allows turning off the pixel says nothing about which brands have done so — that's what a brand's report answers.

It doesn't rank. No score, no recommendation: capabilities don't carry the same weight depending on the use, and that weight isn't ours to set.

A “not checked” cell is not a “no”. It says nobody has gone to look yet, and nothing else.

The corpus does not establish a capability. A rate of observed pixels says what brands send, not what the tool can do.

Sources

4 sources

Frequently asked questions

Can you turn off open tracking in Mailgun?

Yes, campaign by campaign: Mailgun lets you send a campaign without inserting the open-tracking pixel.

Does Mailgun rewrite links for click tracking?

Yes: Mailgun rewrites the links in its emails to count clicks.

Do your emails go through Mailgun?

The sending platform is read from the headers, not from a claim. The report names it, and says where to fix the findings with that vendor.

Analyze one of my emails