How do redirect/tracking domains record clicks?

Still have a question, spotted an error, or have a better explanation or a source we should cite?

When you send a campaign, the links in your email aren't pointing directly to your website. They're pointing to a tracking URL on your ESP's click-tracking domain (or your own custom tracking domain if you've set one up). When a subscriber clicks, here's what happens:

  1. The browser sends a request to the tracking domain URL, like https://clicks.myesp.com/track?id=abc123&url=...
  2. The tracking server logs the click event, including timestamp, recipient identifier, IP address, and user agent
  3. The tracking server immediately redirects the browser to the actual destination URL

The whole thing takes milliseconds. The subscriber doesn't notice the redirect. They just land on your website.

The tracking domain is important for deliverability. If your tracking domain has a bad reputation, it can affect your inbox placement even if your sending domain is clean. That's why it's worth setting up a custom tracking domain that matches your brand rather than using your ESP's shared domain.

One thing that can distort your click data: security link scanners. Some corporate email gateways from providers like Proofpoint or Mimecast click every link in an incoming email to check for malware. These bot clicks register in your analytics and can significantly inflate your click numbers, especially for B2B audiences.

Contributors

Who worked on this answer

Every name links to their profile. Every company links to their site. Real people, real accountability.

Ask an AI · tailored to your setup

Help me set up a custom tracking domain

I want to set up a custom click-tracking domain for my email campaigns instead of using my ESP's shared tracking domain. My sending domain is {sending_domain} and I use {esp_name}. Can you walk me through what DNS records I need to set up, any deliverability considerations, and whether I should use a subdomain of my main domain or a completely separate domain for tracking?

Edit the yellow boxes, then send to the AI of your choice.