Domains
Open and click tracking
Measure opens and clicks through a tracking subdomain served by your own installation.
How it works
Opensend tracks opens and clicks itself; Amazon SES only delivers the message. When tracking is on, Opensend rewrites the HTML links in each email and adds a tracking pixel. The links and pixel point at your domain's tracking subdomain, which forwards to your installation.
Turn it on
- Open the domain and go to the Configuration tab.
- Under Enable tracking metrics, click Configure.
- In Configure tracking, keep or change the Tracking subdomain (default
links, so links becomelinks.<your domain>), and turn on Click tracking, Open tracking, or both. - Click Save, then add the Tracking CNAME shown on the page at your DNS provider and verify the domain.
The CNAME points at the hostname of your installation's public URL. Until it verifies, tracked links use the installation's own hostname, and a domain that is otherwise ready can already send.
Serve the tracking host
A CNAME alone gives the tracking host neither a TLS certificate nor a route. Before you verify it, make sure your proxy terminates HTTPS for the tracking hostname and forwards /t/* to the Convex HTTP site on port 3211. The optional Caddy add-on does this for every verified tracking host. See reverse proxy and TLS.
What is tracked
<a href="https://example.com/account">Tracked account link</a>
<a href="https://example.com/private" ses:no-track>Untracked link</a>- HTTP and HTTPS links in HTML
aandareatags are rewritten. Plain text,mailto:links, fragments, unsubscribe links, and links withses:no-trackorrel="unsubscribe"are left alone. - Every open and click adds an event, including repeats, and fires
email.openedoremail.clicked. - An email with several recipients shares one tracking token, so events are counted per message, not per recipient. Link scanners and mail prefetching can create events too.
- An email can carry up to 1,000 tracked links and 128 KiB of destination URLs; more fails the send before it reaches SES. Each email accepts up to 120 tracking hits a minute; more return
429without an event. - Tracking links stop working when the email's content expires after 30 days, and when
BETTER_AUTH_SECRETis changed.