Campaign Email Template Tags

Email Template Tags allow you to create dynamic email templates. They are used to pull in content specific to a campaign, to pull in subscriber information, and to pull in campaign information.

Making Content Editable

These tags are used to add editable areas to your email templates. When setting up a new campaign these areas will be available to be customized for each campaign. Ideally you should have at least one editable area for the template.


Heading tags are for a single line of heading text. A text box will be used for the user to edit the content

Tag Example

{apEmail:heading name="headingName" default="default value"}

Required Attribute

The unique name for that heading text.

Optional Attribute

Sets the default or example text for the heading.


Content tags are used for large content areas. When creating a new email campaign this will provide the user with the WYSIWYG editor to add content.

Tag Example

{apEmail:content name="contentName" default="default value"}

Required Attribute

The unique name for that content area.

Optional Attribute

Sets the default or example text for the content area.

Quick Links

These tags can be used to create links to different campaign app pages.


You can add a link for subscribers to unsubscribe from the list if they want to.

Tag Example

<a href="{#manage.unsubscribeUrl}">Click Here to Unsubscribe</a>

Web Version

Include a link to the web version of the email. The web version is automatically created and is essentially an HTML snapshot of the email at the time that the campaign started delivery.

Tag Example

<a href="{#campaign.webversion}">View in your browser</a>

Campaign Data

You can include some information from the campaign in your email or use it for doing some logic.

Campaign Name


Email Subject


From Email


From Name


Reply-to Email



Add your recipient's personal data into your email content.

All recipient data is held in the {#subscriber} variable.

First Name


Last Name


Full Name


Email Address


Example Usage

The following code snippet tests to see if there is a "First Name" value for the subscriber and if so includes it in the template. This is best practice as your list might not always contain the First Name of a subscriber. Using this logic allows your template to adapt to the subscriber information.

{if #subscriber.firstName}
  <p>Dear {#subscriber.firstName}, </p>

Other Account Attributes

Subscriber data comes from individual Account profiles. The subscriber personalization information above is just the basic account data made available to the email templates. You can also include all other account attributes and custom attributes. All of it is available in the {#subscriber} variable just like the first name, last name and email address.

For example, you could use their company name:


Or their profile image:


Or their username:


Including Other App or Website Content

App APIs

You can include any app API tag in an email template to include data from an app. For example, you could use the Blog Recent Posts API tag to include the 5 most recent blog posts in the sidebar of your email.

Core Tags

The following Core Tags can be used in an email template.

Snippet Tags

Any of the AP date or time tags.