Link Templates

This article covers how to create link templates for use in email messaging.

Link templates allow you to append parameters or prepend URLs to all links in an email message. This is most often used for the following use cases:

  1. Appending Google Analytics query parameters to all links in a given email message
  2. Prepending a URL to all links in a given email message

To create a link template, navigate to the Templates & Media page, and select the Link Templates tab. You can create an unlimited number of link templates to support your various needs. Click Create Link Template to get started.

Create Link Template

There are two types of link templates you can create:

If you want to add a string or URL before the links in your email message, create a new link template and set the Template Position to Before URL. This will allow you to enter a string that will always get prepended to your URL.

A preview section is provided to give you an example of the insertion process.

pre-append

If you want to add query parameters after a URL in your email message, create a new link template and set the Template Position to After URL. This will allow you to enter query parameters (value=something) to the end of each URL.

You can have multiple parameters appended to the end of a URL.

postappend

Using Your Templates in Email Campaigns

Once your templates are set up, you can select which template you would like to use in your email from the email editor.

From the email editor, click Content Library and select the Link Templating tab. You will see all the links present in your email and can add the template from there.

messagecomposer

You can also duplicate link templates! Learn more about creating and managing templates and creative content in Templates & Media.

FAQs

For answers to frequently asked questions about link templates, check out our Email and Link Templates FAQs page.

WAS THIS PAGE HELPFUL?
New Stuff!