Use your own domain for tracking links to improve deliverability and brand consistency.
Tracking can give you a clear picture of how your emails are performing.
But email tracking typically relies on shared domains, meaning reputation is shared as well. If others using your domain are not sending emails responsibly, it can impact your deliverability.
Today, we're launching custom tracking domains, free for all Resend users.
To get started, go to Domains, and select the Configure tab for your domain.
Add the required record to your DNS settings and Resend will automatically route all tracking through your custom domain.
Both features are configured at the domain level, and both are disabled by default.
On Resend, you can enable two different types of tracking:
When you enable click tracking, Resend sets up a redirect for each link in your email. When a recipient clicks, the action is recorded and they are immediately forwarded to the original URL.
When you enable open tracking, Resend embeds a 1x1 pixel transparent image in your emails. When a recipient's mail client downloads it, Resend records an open event.
Inbox providers like to see consistency between your sending domain and the content of your emails.
When tracking links pass through a domain you own, rather than a shared one, inbox providers notice. And that alignment is better for deliverability.
It also means your recipients never see an unfamiliar domain in the links they click.
Of course, you can also enable custom tracking when creating a domain via the API.
import { Resend } from 'resend';const resend = new Resend('re_xxxxxxxxx');const { data, error } = await resend.domains.create({name: 'example.com',openTracking: true,clickTracking: true,trackingSubdomain: 'links',});
You can also verify the tracking domain via the API.
Custom tracking is most powerful when combined with webhooks. Every open and click fires an event in real time, so you can:
Custom tracking domains are free for all Resend users.
Visit the custom tracking domain docs to get started.