Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Summary / TL:DR: This article will show you how to utilize unsubscribe links inside an email template.

1 min read

In order to utilize unsubscribe links inside of an email template, you need to take care of two items.

...

Adding the link Algorithm

In order for unsubscribe links to work properly, you must include the Link Algorithm shared asset within your email template. This should be included after your <HTML> opening tag.

Code Block
<shared_asset> bsft_Link_Algo </shared_asset>

Note: You only need to add the link algorithm once per mailing. The actual name of the Shared Asset might differ from the one represented here. 

...

Defining an Unsubscribe Link

Within your email templates, your <a> tags need to be modified to include the unsub_link variable using liquid script.

Code Block
<a href="{{unsub_link}}">Unsubscribe</a>

Important Note: You must have your unsubscribe links defined inside of the link algorithm and your base/wiki/spaces/BSSUPPORT/pages/13633203987list transaction starred in the advanced segment builder.

...

A typical HTML email might look like the following

Code Block
<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8" />
        <title>My Nifty Email</title>
        </head>
    <shared_asset> bsft_Link_Algorithm </shared_asset>
    <body>
        Hi there, I am an unsubscribe link <a href="{{unsub_link}}">Unsubscribe</a>
    </body>
</html>

...

Tip

Wrap up

You should now know how to utilize unsubscribe links inside an email template.

Info

Still need help?

We know this can be frustrating. To get further help please open a Support ticket.

Click here to open a ticket

Read this guide

Read this guide

Get started!

...

Get started!

Note

Cannot find the article you’re looking for?

Suggest a new article here!