Contact
| Placeholder | Description |
|---|---|
| [contact:NAME] | Prints the value of the field with ID "NAME" |
| [contact:IDCAMPO$colonna1] | Given a simple relationship contact field with ID "IDCAMPO" and a data table linked to the field that has the column "colonna1", prints the value of "colonna1" for the contact. |
| [contact:IDCAMPO$colonna1 orderby='cod asc'] | Given a many-to-many relationship contact field with ID "IDCAMPO" and a data table linked to the field that has the column "colonna1", prints the first value found by sorting by the "cod" column. |
| [contact:IDCAMPO$colonna1 where='cod=20'] | Given a many-to-many relationship contact field with ID "IDCAMPO" and a data table linked to the field that has the column "colonna1", prints the value found in the record where the "cod" column is equal to 20. |
| [contact:IDCAMPO$colonna1 where='cod eq \'cravatta\''] | Avendo un campo contatto di tipo relazione molti a molti con ID "IDCAMPO" e una tabella dati collegata al campo che ha la colonna "colonna1", stampa il valore trovato nel record con la colonna "cod" uguale a "cravatta". Nota: utilizza gli apici singoli e la \ come escape, come da esempio; non utilizzare le doppie virgolette. |
Contactstats
| Placeholder | Description | Example |
|---|---|---|
| [contactstats:sent] | Prints the number of emails sent | contact.stats.sent |
| [contactstats:received] | Prints the number of emails received | contact.stats.received |
| [contactstats:opened] | Prints the number of emails opened | contact.stats.opened |
| [contactstats:clicked] | Prints the number of emails clicked | contact.stats.clicked |
| [contactstats:forwarded] | Prints the number of emails forwarded | contact.stats.forwarded |
| [contactstats:lasttags] | Prints the list of the most recently clicked tags (clicks on Communications + clicks on content) |
contact.stats.lasttags (string)mn:where='taglist like @contact.stats.lasttags' |
Messages
| Placeholder | Description |
|---|---|
| [message:fromname] | Prints the from name of the message. |
| [message:fromemail] | Prints the from email of the message. |
| [message:subject] | Stampa il subject del messaggio. Attenzione: per rappresentare il subject del messaggio eventuali sezioni mn:init, che solitamente eseguono delle query, verranno eseguite nuovamente. |
| [message:preheader] | Prints the message preview text. |
| [message:sentdate] | Prints the message send date. |
| [message:deliverydate] | Prints the message delivery date. |
| [message:firstdeliverydate] | Prints the message first delivery date. |
| [message:deliverydate pattern='dd/MM/yyyy HH:mm'] | Configures the date format for the message delivery date. |
| [message:iddelivery] | Delivery identifier, where applicable |
| [message:idnewsletter] | Communication identifier, where applicable |
| [message:idcampaign] | Journey identifier, where applicable |
| [message:idmessage] | Transactional message identifier, where applicable |
| [message:description] | Message description for contacts, set in the Communication Setup |
| [message:ref] | Token that uniquely identifies the message; it can be used to generate events using the APIs (see the "storeEvent" option in the Contact-related APIs) |
Link
| Parameter | Description | Example |
|---|---|---|
| [link:unsubscribe] | Link to the unsubscribe flow. | <a href="[link:subscribe]" mn:if="friend">Subscribe</a> |
| [link:subscribe] | Link to the subscription flow. |
<a href="[link:unsubscribe]" mn:if="not friend and contact.identified">Unsubscribe</a> Using the <mn:if="friend"> condition makes the link visible only to unrecognized contacts. The <mn:if="not friend and contact.identified"> condition makes the unsubscribe link visible only to recognized contacts. |
| [link:confirmsubscription] | Link to the subscription confirmation flow. | <a href="[link:confirmsubscription]">Confirm Subscribe</a> |
| [link:editprofile] | Link to the profile edit flow. | <a href="[link:editprofile]">Edit profile</a> |
| [link:webversion] | Link to the web version of the communication. |
<a href="[link:webversion]">Web version</a> <a href="[link:webversion]" lang='ENG'>Web english version</a> |
| [link:mobileversion] | Link to the mobile web version of the Communication. | <a href="[link:mobileversion]">Mobile version</a> |
| [link:forwardnewsletter] | Link to the Communication forward-to-a-friend flow. | <a href="[link:forwardnewsletter]">Forward to a friend</a> |
| [link:sharenewsletter] | Link to the flow for sharing the Communication on social networks. |
<a href="[link:sharenewsletter social='facebook']">Share on Facebook</a> <a href="[link:sharenewsletter social='twitter']">Share on Twitter</a> <a href="[link:sharenewsletter social='linkedin']">Share on LinkedIn</a> |
| [link:sharelink] | Link for sharing an external link on social networks. |
<a href="[link:sharelink social='facebook' href='http://mydomain.com']">Share on Facebook</a> <a href="[link:sharelink social='twitter' href='param.mylink' text='Text on twitter']">Share on Twitter</a> <a href="[link:sharelink social='linkedin' href='param.mylink']">Share on LinkedIn</a> |
| [link:forwardcontent] | Link to the flow for forwarding specific content to a friend. | < a href="[link:forwardcontent]">Forward to a friend</a> |
| [link:sharecontent] | Link for sharing content on social networks. |
<a href="[link:sharecontent social=' facebook']">Share Content on facebook</a> <a href="[link:sharecontent social=' twitter ']">Share Content on twitter</a> |