A collection of ready-to-use Twig snippets for Mautic personalization.
contact.primaryCompany
shortcut to easily access the primary company associated with the contact. If no company is explicitly marked as primary, this will return the first company associated. It returns null
if no companies are linked.
contact.companies
. This is useful if a contact might be associated with multiple companies or if you need to display a complete list.
affinity
).
date_last_order
) and the current date.
cart_data
) to display personalized content like cart items or order details.
tokens
key of the payload. See the API Documentation for more details.