New guide: how to warm up a dedicated IP without hurting your reputation. Read now →
Log in
MigoSMTP
Domains and DNSUpdated 26 Oct 2026

Custom Click Tracking Domain: HTTPS, Branding and Reputation for Email Links

Why email click tracking rewrites links, how a shared tracking domain affects reputation, how to set up a custom tracking domain with CNAME and HTTPS, and the privacy, security and deliverability points to check.

ML
Written by Mei Lin Tan
Email Analytics Analyst
Reviewed by Sana Qureshi
  • Published12 Feb 2026
  • Read time6 min
  • Length1,282 words
Share this guide

Click tracking works by rewriting each link in your message. Instead of pointing directly at your page, the link points at a tracking server that records the click and then redirects the reader to the real destination. Open tracking adds a tiny image in the same way, as described in email tracking pixels. The tracking server needs a domain name, and the choice of that name has more influence on deliverability than most people expect. A shared domain belonging to your provider is easy to start with, but it lends your links the reputation of every other customer. A custom tracking domain on your own domain puts the reputation in your hands and makes the links look consistent with your brand. This guide explains how tracking links work, what a custom domain changes, how to set one up including HTTPS, what to check afterwards and which privacy points to bear in mind.

Tracked linkA URL on the tracking host that logs the click, then redirects to the destination
Shared domainProvider-owned; reputation is shared with other customers
Custom domainA subdomain of yours, such as links.example.com, via CNAME
Must haveA valid HTTPS certificate and a stable, fast redirect

When you send a campaign with click tracking on, the sending system replaces each URL with one that encodes the message, the recipient and the target. A reader who clicks reaches the tracking host, which records the event (time, link, usually a coarse device and location from the request) and returns an HTTP redirect, normally 301 or 302, to the destination. This takes a few milliseconds when the server is healthy. The recorded events feed your click reports, automations that act on clicks and, if you use them, webhooks. See delivery event webhooks.

Why the tracking domain matters

  • Filters look at link domains. Spam filters and URL blocklists check every domain in the message. If a shared tracking domain is listed because another customer sent abusive links, your messages inherit the problem even though you did nothing wrong.
  • Mismatch looks suspicious. A message from example.com whose links all point at an unrelated domain may seem odd to a cautious reader or an automated check. Matching domains look consistent.
  • HTTPS and trust. Browsers warn about links without valid certificates. A tracking host that serves a certificate for the wrong name, or only plain HTTP, will show warnings and lose clicks.
  • Portability. A tracking domain you own travels with you if you change provider; old emails keep working as long as the redirect still resolves. Links on a provider's shared domain stop working if you leave.
  • Reputation of your own. The domain collects its own history. Good engagement helps; careless link content hurts.

See domain vs IP reputation and custom return-path and tracking domain alignment.

Setting up a custom tracking domain

  1. Pick a subdomain. Choose a name that is clearly yours and neutral, for example links.example.com or click.example.com. Avoid words that spam filters associate with abuse. Use a subdomain, not the root, so that the CNAME does not conflict with other records.
  2. Add the CNAME. Your provider gives you a target host. Create the record at your DNS host:
links.example.com.  3600  IN  CNAME  track.provider.example.
  1. Let the provider issue the certificate. Most providers obtain an HTTPS certificate for your tracking host automatically once the CNAME resolves. Wait for the status to show as active. If you must supply your own certificate, make sure it covers the exact host name and renew it before it expires.
  2. Verify. Open https://links.example.com/ in a browser and check that the certificate matches the name and the page does not show an error. Many providers show a verification status in the dashboard.
  3. Switch the sending to the new domain. Enable the custom domain for the account or the sending domain. New campaigns will use it.
  4. Send a test. Click each type of link, including the unsubscribe link, and confirm that the redirect works, that the destination is correct and that the click appears in reports.

Look at adding DNS records at common registrars if you are unsure. On Cloudflare, set the record to "DNS only" (grey cloud) unless your provider says otherwise, as a proxy can interfere with certificate issue. If your DNS host already has a CNAME or other record at the same name, remove it first, because a name that has a CNAME cannot hold other records.

Common problems

SymptomCauseFix
Browser warns "not secure" on clickNo HTTPS certificate for the tracking host, or still pendingWait for issuance, or check CNAME; do not send until active
Clicks work but are not recordedRedirect bypassed, or the link was changed by a security scannerReview scanner behaviour; see below
CNAME will not saveAnother record exists at the same nameRemove the conflicting record
Links break after changing providerTracking domain still points at the old hostKeep the old target until old emails no longer matter, or migrate with the provider
Unusually high click counts at the same secondSecurity scanners opening links automaticallyFilter bot clicks in analysis
Messages go to spam after turning tracking onShared domain with poor reputation, or too many redirectsUse a custom domain; reduce the number of tracked links
Redirect is slowOverloaded tracking server or long redirect chainsChoose a provider with good performance; avoid chaining shorteners

Scanners and inflated clicks

Many companies run security gateways that open every link in incoming mail to check for malware. These requests look like clicks. They typically occur within seconds of delivery, come from data centre addresses and hit every link in the message. Treat click counts with care: a campaign showing a click on every link from the same recipient within a second is probably a scanner. Good platforms filter known scanners; you can add your own rules by looking at timing and user agents. Never trigger an irreversible action, such as unsubscribing or confirming a purchase, from a plain GET request that a scanner could follow. Use a confirmation page. See one-click unsubscribe for how this is handled correctly.

Privacy and compliance

Click tracking collects information about individual recipients. Your privacy notice should say that you measure engagement with email, and in regions that require consent for tracking technologies you should check what that means for your audience; seek legal advice for the details. Some recipients and mail clients block tracking, and several privacy features now hide or alter engagement data, so build your decisions on trends and on actions that cannot be faked, such as purchases and replies. See Apple Mail Privacy Protection and GDPR email consent.

When to turn click tracking off

Not every message needs tracked links. Password reset emails and one-time codes are sensitive: a rewritten link adds a third party to the path and a redirect that can fail. Many teams disable tracking for security-related mail and keep it for marketing. You may also turn it off for plain-text style emails sent to a business audience, where a wrapped link can look less personal. If you do track, use the same domain for all links in a message, because a mix of domains looks careless to both people and filters. Make sure that the visible text of a link matches its destination host; a link whose text shows example.com but whose target is another domain resembles phishing.

A custom tracking domain is a small piece of DNS work that gives you control over link reputation, brand and portability. Set it up before you scale up, test the HTTPS behaviour and monitor clicks with the knowledge that scanners exist.

Brand your tracked links Set up a custom tracking domain with HTTPS and keep link reputation in your hands.

Explore the SMTP relay

References and further reading

Frequently asked questions

What is a custom click tracking domain?

A subdomain of your own, pointed by CNAME at your provider, that serves the redirects for tracked links in your email.

Why not use the provider shared tracking domain?

It shares reputation with other customers. If it is listed or distrusted, your links suffer too.

Do I need HTTPS on the tracking domain?

Yes. Without a valid certificate, browsers show warnings and clicks are lost.

Why do I see clicks within seconds of delivery?

Security scanners often open every link. Filter them out when you analyse engagement.

Should I track links in password reset emails?

Usually not. Disable tracking for sensitive, security-related messages.

Topics#click tracking#tracking domain#https#cname#reputation
Was this guide helpful?Your answer helps us improve our documentation.

Start sending in minutes.

Create an account, add your domain and send your first email.

Get started Talk to sales