Good link practice in email comes down to four settings: anchor text that describes the destination, an <a href> tag pointing to HTTPS, a tracking domain that belongs to you, and one-click unsubscribe. A badly set link costs clicks, or gets the whole message filed as spam. Below is how to create the link, then each setting and what Google and the standards require.

How to create a hyperlink in an email

A hyperlink takes three steps: select the text or button, enter the destination URL, test the click. Only the interface changes, depending on whether you use a visual editor or write HTML.

In an email marketing editor

  1. Select the text or button you want to make clickable.
  2. Click the link icon (a chain in most editors).
  3. Paste the full URL, including the https:// protocol.
  4. Choose to open it in a new tab if the tool offers it; the topic is covered in our guide to target blank in emails.
  5. Save, send yourself a test email and click the link.

In Gmail and Outlook

For an email sent by hand, the gesture is the same. In Gmail, select the text then choose “Insert link” (Ctrl+K, or Cmd+K on Mac): the “Edit link” box opens with the text to display and the web address. In Outlook (Microsoft 365 and the 2016 to 2024 editions), open the “Insert” tab, click “Link”, then “Insert Link”, and fill in “Text to display” and “Address”. Right-clicking the selection and choosing “Link” does the same thing, and Outlook also links a selected image.

In HTML with the a href tag

A link is written with the <a> tag and its href attribute, which holds the target address:

<a href="https://example.com/guide" style="color:#0057b8;text-decoration:underline;">Download the guide</a>

In a campaign sent from Brevo, Mailchimp or Mailjet, the editor generates this tag for you. Styles go inline, because many mail clients ignore external stylesheets.

The mailto link

To open a new message to an address, use the mailto: scheme, defined by RFC 6068: <a href="mailto:contact@example.com?subject=Question">Write to us</a>. The subject parameter pre-fills the subject line, which some email programs do not display. In Outlook, the same link is created by choosing “E-mail Address” under “Link to”, then filling in “E-mail address” and “Subject”. Outlook also turns an address typed as is, such as someone@example.com, into a link.

Which link text gets clicks

The anchor should tell readers what they will find after the click, with an action verb and the object concerned: “Download the DKIM guide” beats “Click here”.

A generic anchor is hard on people who navigate with a screen reader: the tool reads out the links without their context, so 10 “Learn more” tell them nothing. Also avoid showing a raw URL as the link text. If the visible text says bank.com while the href goes somewhere else, anti-phishing filters read it as spoofing. The text and the target must point to the same destination.

A person taps a touchscreen to click a link in an email

Button or text link when images are blocked

A button built in HTML still shows when images are blocked, while a button made of an image vanishes. Prefer a “bulletproof” button built in code, and always keep a text link next to it.

An email made of one large image shows only an empty frame to readers who block images by default, and its text-to-image ratio makes filters suspicious too. Keep real text around the button. One limit to know: classic Outlook for Windows, since version 2007, relies on Word’s rendering engine, which handles padding and rounded corners on a link poorly. Test the button in that version before any send.

On size, success criterion 2.5.8 of WCAG 2.2 (level AA) asks for targets of at least 24 by 24 CSS pixels. Five exceptions exist: spacing (a 24-pixel-diameter circle centered on each target must not intersect any other target), an accessible equivalent on the same page, a target inside a sentence, a size set by the browser, and essential presentation. A link inside a sentence is therefore exempt; a standalone button must meet the minimum. We cover the coding in our article on accessible emails.

How many links an email can carry

A campaign email works well with one main link repeated at most once, plus the legal links. Beyond that, each link competes with the CTA and dilutes the click rate.

Put the CTA in the first screen, then repeat it after the central argument if the message is long. Contextual links in an editorial newsletter are legitimate. Count them: each one should answer a question the reader has at that exact spot. The click rate of each link is read alongside the open rate; the method is laid out in our engagement rate calculation.

How a link affects deliverability

A link hurts deliverability in four ways: a shared tracking domain, a public URL shortener, a displayed URL that differs from the target, and an HTTP link. Filters, which already authenticate the sender through SPF (RFC 7208), DKIM (RFC 6376) and DMARC, also read every link: domain, reputation, gap between displayed text and target, redirects.

  • Shared tracking domain: email tools rewrite your links to count clicks. If that redirect domain is common to all their customers, its reputation depends on the worst of them.
  • Public shorteners: services like bit.ly hide the destination and are also used in phishing campaigns. They count against you.
  • Displayed URL different from the target URL: see above, it is the classic phishing pattern.
  • HTTP link: use HTTPS everywhere.

Since February 1, 2024, Google’s sender guidelines ask every sender to Gmail to authenticate messages with SPF or DKIM and to keep the spam rate in Postmaster Tools under 0.10%, never reaching 0.30%. Above 5,000 messages a day to Gmail, SPF, DKIM and DMARC become mandatory. Google also recommends, for all senders, visible and easy-to-understand web links in the body of the message, a DKIM key of at least 1024 bits (2048 bits recommended) and a TLS connection. Gmail adds AI filtering to these signals, which judges the content of the message on top of its links; our analysis of how Gmail protects against spam details that layer.

Set up a custom tracking domain

A custom tracking domain is a subdomain of yours (for example click.yourdomain.com) that serves as the redirect for your tracked links. The reputation becomes yours instead of being pooled.

  1. Create the subdomain (such as click) in the DNS zone of your sending domain, at your DNS host.
  2. Add the CNAME record (type CNAME, name click) given by your email tool, which points to its redirect servers.
  3. Wait for DNS propagation, then run the verification in the tool.
  4. Enable the domain for tracked links, then send a test and hover over a link: the displayed address must start with your subdomain.

A common mistake is enabling the domain before propagation has finished, which produces links that do not respond.

Unsubscribe link and the List-Unsubscribe header

For large senders, Google requires marketing messages to offer one-click unsubscribe and a visible unsubscribe link in the body. The second is an ordinary link; the first goes through two technical headers.

One-click unsubscribe relies on the List-Unsubscribe and List-Unsubscribe-Post headers, defined by RFC 8058 (published in 2017, it complements RFC 2369 from 1998 without changing it) and required by Google from large senders. In practice, List-Unsubscribe must hold an HTTPS address that handles the request (a mailto: can be added to it). List-Unsubscribe-Post takes the value List-Unsubscribe=One-Click; the request body repeats this pair, preferably as multipart/form-data, and the mail client then shows its own “Unsubscribe” button without opening a page. The receiver only sends this POST with the user’s consent (RFC 8058). RFC 8058 requires an HTTPS POST request and a DKIM signature covering both headers. The visible link in the body remains mandatory on top of that: it serves the clients that do not show the button. A hidden or hard-to-find unsubscribe link pushes readers toward the “spam” button, which raises the complaint rate. The legal obligations are summarized in our sheet on GDPR and email marketing.

Signature, “view in browser” link and cold email

A signature link or a “view in browser” link follows the same rules as any other. Cold email calls for restraint: few links, even none in the first message.

In a signature, stick to the company website or a professional profile, with a clear anchor rather than a long URL. The “View in browser” link at the top of a newsletter is a fallback if the rendering breaks. In cold outreach, a message with several tracked links looks like a mass campaign: a single link, or just a question to reply to, gives filters less to grab.

Track clicks and test before sending

Add UTM parameters to every campaign link and check each one in a test email before the main send: a broken link or a mistyped UTM skews all your click statistics.

UTM parameters (utm_source, utm_medium, utm_campaign) identify the campaign in your analytics tool; our guide to UTM tags in emailing gives the convention to follow. Before sending, click every link from a real mail client, then on mobile. Check that the landing page delivers on what the anchor promised.

Keep a fixed convention for values: lowercase, no spaces or accents, for example utm_medium=email and utm_campaign=newsletter-november. Google Analytics tells “Email” and “email” apart and counts two different sources. Add the utm_content value when one email holds two links to the same page, so you know which one got the click: the top one or the bottom one.

Email links: what works and what hurts

Good practice To avoid
Explicit anchor (“Download the DKIM guide”) Generic text such as “Click here”
Displayed text and target URL point to the same destination Raw URL displayed that leads to another domain
Custom tracking domain over HTTPS Public shortener or shared redirect domain
HTML button with a text link as fallback Button or email made entirely of images
One main link and the legal links 10 links competing with each other
One-click unsubscribe with List-Unsubscribe Hidden or missing unsubscribe link
Every link tested on Gmail, Outlook and mobile Sending without a single check click

Frequently asked questions

Can you use a URL shortener in an email campaign?

Public shorteners hide the destination and are common in phishing. Replace them with a custom tracking subdomain.

Does a linked image need alt text?

Yes. The image’s alt attribute acts as the clickable text when images are blocked, and it describes the destination for screen readers. Write “Download the DKIM guide” rather than “image 3”.

Why does my button not show in Outlook?

Classic Outlook for Windows renders HTML with the Microsoft Word engine, which ignores part of the CSS on a simple styled link (padding, border-radius). Build a “bulletproof” button and keep a text link beside it.

What happens when a tracked link stops responding?

The reader lands on an error instead of the promised page. A tracking domain whose DNS or HTTPS certificate is misconfigured produces exactly that: check both before sending.

Add Captain Verify as a preferred source on Google
Nicolas Forni
Author

Founder of Captain Verify, I have worked on email and mobile number verification since 2015. On this blog I write about deliverability, contact list hygiene, mailbox provider rules and SMS marketing. Practical articles, written for marketing teams that send every week.