Back to Articles

How the Klaviyo Unsubscribe Link Works (and How to Route It to Last Chance)

If you send email through Klaviyo, every marketing message you send includes an unsubscribe link. It's required. But "required" doesn't mean "default is fine"—the experience subscribers get when they click that link is entirely within your control, and most brands have never changed it from Klaviyo's out-of-the-box confirmation page.

This guide explains how Klaviyo's unsubscribe system actually works, where you can intervene, and how to connect it to Last Chance so clicks land on a branded page that offers real alternatives.

How Klaviyo's unsubscribe link works under the hood

When you use Klaviyo's drag-and-drop editor or their template tags, the unsubscribe link in your email isn't a plain URL you control. It's generated dynamically by Klaviyo and routes through their consent infrastructure. That system does three things:

  1. Tracks the click as an unsubscribe event tied to the specific profile.
  2. Records consent (or revocation of consent) in Klaviyo's compliance layer.
  3. Sends the subscriber to a destination page—by default, Klaviyo's own hosted confirmation screen.

Step three is the one you can change.

Template tags vs. the editor's unsubscribe block

Klaviyo gives you two ways to insert an unsubscribe link in your emails:

  • Template tags: {% unsubscribe %} renders a full hyperlinked "Unsubscribe" text; {% unsubscribe_link %} gives you the raw URL to use in your own anchor tag. These ensure the link runs through Klaviyo's consent system.
  • Editor block: Klaviyo's drag-and-drop editor has a built-in footer block that inserts the unsubscribe link automatically.

Both route through the same Klaviyo consent infrastructure. The distinction matters when you're customizing template HTML or troubleshooting why clicks aren't being tracked. For the full tag reference and how they interact with consent pages, see our docs on Klaviyo email links and consent pages.

What "hosted pages" are and why they matter

Klaviyo allows you to create hosted pages—custom HTML pages served under Klaviyo's infrastructure—for the unsubscribe and manage-preferences flows. When a subscriber clicks your unsubscribe link, Klaviyo can redirect them to one of these pages instead of the default confirmation screen.

This is the mechanism that makes Last Chance possible without touching a single email template.

When you configure a Last Chance hosted page in Klaviyo:

  • Every existing email in every active campaign and flow automatically routes through the new page.
  • You don't need to update links or re-publish templates.
  • Klaviyo's consent recording still happens—Last Chance sits on top of the flow, not around it.

The subscriber sees your branded page with pause, preferences, and offers. If they click "unsubscribe," Klaviyo processes it exactly as before. The redirect is transparent.

The unsubscribe link vs. the manage-preferences link

These are separate flows in Klaviyo, and they should be configured separately:

Unsubscribe link ({% unsubscribe %} / {% unsubscribe_link %}) — This is for subscribers actively trying to leave. A Last Chance hosted page here intercepts that intent and offers alternatives: pause, frequency controls, a discount. Unsubscribing is still available, clearly, in one click.

Manage preferences link ({% manage_preferences %} / {% manage_preferences_link %}) — This is for subscribers who want to adjust their relationship without leaving. Routing this to a second Last Chance hosted page (configured with data-entry="preferences") means those clicks land on your topic and frequency controls instead of a generic Klaviyo form.

Brands that configure both get coverage at both points of subscriber friction—not just the exit.

Step-by-step: connecting Last Chance to Klaviyo's unsubscribe link

Here's the high-level flow. Detailed screenshots and code snippets for each step live in Klaviyo unsubscribe hosted page setup in the docs.

  1. Create and publish your Last Chance unsubscribe page. Build your page in the Last Chance dashboard, configure the pause options and offers you want to show, and publish it.

  2. Connect Klaviyo to Last Chance via OAuth. This happens in Last Chance's settings under Email Providers. OAuth gives Last Chance the ability to generate the redirect script scoped to your account.

  3. Enable hosted pages in Klaviyo. Navigate to Klaviyo's Consent Pages settings and turn on the hosted pages feature for your account.

  4. Create a new hosted page in Klaviyo. Paste in the Last Chance script. The script tells Klaviyo to redirect unsubscribe-link clicks to your Last Chance page, passing the profile context (email, Klaviyo ID) through so Last Chance can show the right experience.

  5. Set this page as your unsubscribe hosted page in Klaviyo's settings.

  6. Test. Send a test email to yourself, click the unsubscribe link, and confirm you see your Last Chance page. Click "unsubscribe" on that page and confirm Klaviyo processes it. The Klaviyo profile should reflect the unsubscribe event.

A note for brands reading this who aren't Klaviyo users

This guide is written for email marketers configuring their sending platform. If you're a subscriber trying to remove yourself from a specific brand's email list, the right path is the unsubscribe link in any of their emails or their preference center—brands are legally required to honor those requests. This article isn't about that process.

What to configure next

Once your unsubscribe hosted page is live, the logical next step is the preferences page:


Connect your Klaviyo unsubscribe link to a page that works. Get started with Last Chance →