Message variables are a body of text that you can assign a personalization tag to for use in any campaign email (including those sent from an automation).
They are similar to custom fields, but not the same: Whereas custom fields pull values from contact records, message variables pull one constant value from a single place within ActiveCampaign.
There are lots of ways to use a Message Variable in your campaigns. For example, you can use a variable for an email signature or a variable for a disclaimer. There is no limit to the number of Message Variables you can create.
To access Message Variables, navigate to Campaigns in the left menu then Click “Message Variables.”
Then, follow these instructions below to create a Message Variable:
- Type the Message Variable name into the “Personalization Name” field.
The Message Variable name is internal only and should be something that you recognize. For example, if you want to create a signature message variable, you can call this “Signature.”
3. Create the personalization tag for the Message Variable. To do so, type the tag into the “Personalization Tag” field.
As a best practice, make sure that the tag is something you would recognize and remember. This is so you can type it into your campaign. In this example, we’ll use “signature.”
4. Click a list(s) to assign it to the variable.
The information contained in the variable will appear for contacts in that list only. You can select more than one list by holding the SHIFT key.
5. Click the “Format” dropdown to select a format.
Here you can choose either HTML or Plain Text. HTML means you can only use this message variable in your HTML emails, and Text means you can only use that message variable in your plain-text emails.
6. Add content to your message variable in the Editor box.
In this section, you can add and format text, add images, and insert conditional content (Plus, Professional, and Enterprise plans). You can add personalization with personalization tags also.
If you prefer to add custom HTML when creating a message variable, you can do so by clicking on the “Code Editor” tab.
- When finished, click the “Add” button.
To add your message variable to your campaign, type the personalization tag (see step 3 above) for the variable into your message.
Continuing with the example above, we would type the following into a campaign:
%signature%
Once your contact receives the email, they will see the information contained in your variable.
If you insert the message variable into an automated campaign, the content for that variable will render for all contacts. It does not matter if they are in the list selected for the Message Variable.