Global tokens are snippets of text or HTML content that can be added to emails, landing pages, text messages, and dynamic web content in Campaign Studio. By using global tokens, you can create and use content that is consistent in multiple places. If the content where you have used a global token needs to change, you can update the content in the global token to apply the changes to all content where the global token is used.
Note
To get access to the global tokens feature, create a Support ticket.
Creating global tokens
To create a global token:
- Log in to Campaign Studio.
- In the top right corner, click the Settings icon.
- Click the Global Tokens tab.
On the Global Tokens page, click +New.
The system displays the New Global Token page.
- Enter the appropriate value in each of the following fields:
- Name - Enter a name that allows other users to easily identify what the global token is used for. For example, Copyright Year where every year on January 1, you can update the content of the global token to reflect the new year.
- Alias - Specify the machine name for the global token. This value is used in the global token that you add to emails, landing pages, text messages, and dynamic web content. You also use this value when updating the global token content through APIs. If you leave this field blank, Campaign Studio automatically generates a value based on Name.
- Type - Select HTML or Text to change the content editor type in the Content field.
- HTML - Create content that will be converted to HTML with the global token, including links, images, and videos.
- Text - Create content using the WYSIWYG editor or paste the HTML code either in the code view in the WYSIWYG editor or in the Content field.
Content - Create the content that you want the global token to display.
Note
All styling and alignment, including mobile-responsiveness and MS Outlook compatibility, must be done in the Content field. Global token content overrides the alignment or styling applied to the email or landing page block where the global token is used.
Published - Set the toggle bar to Yes to display the content of the global token when it is used in emails, landing pages, text messages, and dynamic web content.
Note
- Unpublished global tokens appear as blank space if they are used in a published email, landing page, text message, or dynamic web content.
- Click Save & Close.
Using global tokens
After creating a global token, you can use them in emails, landing pages, text messages, and dynamic web content.
- Log in to Campaign Studio.
- In the top right corner, click the Settings icon.
- Click the Global Tokens tab.
- Locate the global token that you want to use.
Copy the value in the Token column.
The global token follows the format of
{global-token=alias}
, using the alias that you specify when creating the global token.A Universally Unique Identifier (UUID) is used for the ID number of a global token so that unique resources can be tracked across multiple instances.
- You can add this value to the following:
- The subject line of an email
- Preheader text of an email
- Body of an email
Title of a landing page
- Body of a landing page
- Body of a text message
- Body of dynamic web content
To match the font of the email or landing page where the global token is used, do not paste the global token’s value using Command + v
or Control + v
. Instead, use Command + Shift + v
or Control + Shift + v
, or right-click and select Paste and Match Style.
The email and landing page builders do not display the global token’s content. However, the content can be viewed in the email and landing page previews.
Important
Global tokens are case sensitive.
Campaign Studio does not support using a global token within another global token as doing so results in unexpected behaviors.
HTML type global tokens are not supported in:
- Email subject line
- Email preheaders
- Body of text messages
- Landing page title