Variables are super important. You can add variables in the print template and campaign. The same steps apply.
Variables in text
Customize the text in a module and make the document more personal by adding variables.
- Click a module or a field that contains text to add variables.
- Click the place where you'd want to insert the variable. Then, click the variable icon.
A new window pops up.
- Select which contact field you wish to insert. The contact fields listed here include the basic Loopify fields and the custom fields you have created. You say what? We say read Manage fields to understand.
- Write what should the field say instead in case the specific field is empty for some of the selected contacts who are going to receive the campaign. Click OK.
When you send the campaign, the variables automatically fill in for the selected contact field of each contact receiving the campaign.
Variables in custom link
There is also another option to insert variables in links, specifically custom links. You can read more about how to Add links.
- Click the link icon.
A new window pops up. Follow these steps to fill in the data.
- Choose Custom link from the drop-down menu.
- Type the link URL and insert the variable. This creates a custom link for each contact, meaning that the link will be different for each contact depending on the chosen variable.
- When you are done, click Use.
Use a date variable.
To add a date variable first, you'll need to add a date custom field from the manage fields.
- When the variable window pops up select the date field you wish to insert.
- Set a date format, and the date will be displayed as the chosen format. If you don't choose a preferred date format, then the date will be displayed as a default format: MM/dd/yyyy.
- You can also add a custom date format, from the date format drop-down menu choose 'Custom format'.
- When you are all set with the desired format, choose your language.
If the date format contains 'MM' then it's a number from 1 to 12 months, if however, the date format includes 'MMMM' then it's a word. If you choose a date format that contains a word, then select a language that you prefer, and the word will be displayed in the selected language.
For example, if you choose a date format: MMMM d. yyyy and language English, then the date will be displayed: May 04. 2019.
If you don't pick a language, then the date will be displayed as a default in English.
Note: Keep in mind that if contacts have an empty date field, they will receive the campaign with a blank date field!
Well done! Victory dance 💃🏻🕺🏾. If you wish you can read our related articles, but no pressure.