You can insert placeholders for contact fields or platform variables, as well as special links that point to service flows for the recipients.
Placeholders
-
[contact:name]
contact: prints the values of a contact's field; in the example, the value of theNamefield -
[message:subject]
message: prints information related to the message; in the example, the subject of the communication
Service links
To manage service links, such as unsubscribe or forward message links, use specific placeholders.
Example:
<a href="[link:unsubscribe]">Unsubscribe</a>
The placeholder is automatically replaced at send time with a link to the contact's unsubscribe page.
You can also insert these links directly from the editor without manually typing the placeholder. Enter the text (for example, "Unsubscribe"), select it, and click the link icon. In the Service links section, you'll find the available options, such as web version, audio version, unsubscribe, preferences, subscription, and subscription confirmation.
When you select an option, magnews automatically inserts the correct placeholder.
For example, selecting "Unsubscription" inserts [link:unsubscribe], while selecting the audio version generated by Q audio, the placeholder [link:confirmsubscription] is inserted.
The same behavior applies to CTAs. When you add a button to a communication, you can assign a service link from the same menu. For example, an "Unsubscribe" button can point to the unsubscribe service link and take contacts directly to the related service page.
This applies to all service pages, including external unsubscribe pages.
Refer to the Parameters and Placeholder section for a complete list of available placeholders in the Giotto language.
Note:
We recommend using target="_blank" to open links in a new window.
Additionally, we suggest hiding the unsubscribe link on the web version of the communication when viewed by recipients not subscribed to any of your databases and in the forwarded version of the communication, by inserting the string mn:if="not friend and contact.identified" in the links indicated above.
Example:
<a href="[link:webversion]" mn:if="not webversion" target="_blank">Web Version</a>