Home
/
User Guides
/
Mautic User Guides
/
How-To guides for Mautic
/
How-To - Mautic - General
/
How-To - Mautic - Tokens
How-To: Mautic - Tokens
Tokens are placeholders used within emails, landing pages, and other communications, which automatically get replaced with personalized information (like a contact's name, email, or custom field data) when the message is sent, enhancing the personal touch and relevance of the content.
Info
The default value – called Fallback Text – is specified after the | character. Consider this example:
For example, if a contact doesn’t have a First name while using this token Hi {contactfield=firstname|there,, the email will send the phrase as Hi there.
Variable name
Variable syntax
Attribution
{contactfield=attribution}
Attribution Date
{contactfield=attribution_date}
Address Line 1
{contactfield=address1}
Address Line 2
{contactfield=address2}
Country
{contactfield=country}
City
{contactfield=city}
Company
{contactfield=company}
Contact ID
{contactfield=id}
Email
{contactfield=email}
Facebook
{contactfield=facebook}
Fax
{contactfield=fax}
First Name
{contactfield=firstname}
Foursquare
{contactfield=foursquare}
Google+
{contactfield=googleplus}
Instagram
{contactfield=instagram}
IP Address
{contactfield=ipAddress}
Last Name
{contactfield=lastname}
LinkedIn
{contactfield=linkedin}
Mobile Number
{contactfield=mobile}
Phone Number
{contactfield=phone}
Position
{contactfield=position}
Skype
{contactfield=skype}
State
{contactfield=state}
Twitter
{contactfield=twitter}
Title
{contactfield=title}
Website
{contactfield=website}
Zip Code
{contactfield=zipcode}
Variable name
Variable syntax
First Name
{ownerfield=firstname}
Last Name
{ownerfield=lastname}
Email
{ownerfield=email}
Position
{ownerfield=position}
Signature
{ownerfield=signature}
Variable name
Variable syntax
Address Line 1 (Company)
{contactfield=companyaddress1}
Address Line 2 (Company)
{contactfield=companyaddress2}
Annual Revenue (Company)
{contactfield=companyannual_revenue}
City (Company)
{contactfield=companycity}
Country (Company)
{contactfield=companycountry}
Description (Company)
{contactfield=companydescription}
Email (Company)
{contactfield=companyemail}
Fax (Company)
{contactfield=companyfax}
Industry (Company)
{contactfield=companyindustry}
Name
{contactfield=companyname}
Number of Employees (Company)
{contactfield=companynumber_of_employees}
Phone Number (Company)
{contactfield=companyphone}
State (Company)
{contactfield=companystate}
Website (Company)
{contactfield=companywebsite}
Zip Code (Company)
{contactfield=companyzipcode}
Mautic Component tokens
Variable name
Variable syntax
Asset link for Asset id#
{assetlink=25}
Focus Item id#
{focus=4}
Form id#
{form=83}
Landing Page link for page id#
{pagelink=17}
Email specific tokens
Variable name
Variable syntax
Signature
{signature}
Subject
{subject}
Tracking pixel
{tracking_pixel}
Unsubscribe Text
{unsubscribe_text}
Web View Text
{webview_text}
Web View URL
{webview_url}
Landing Page tokens
Variable name
Variable syntax
Meta Description
{pagemetadescription}
Title
{pagetitle}
Language bar
{langbar}
Share Buttons
{sharebuttons}
Success Message
{successmessage}
Preference Center Landing Page tokens
Variable name
Variable syntax
Lead Identifier
{leadidentifier}
Category List
{categorylist}
Segment List
{segmentlist}
Preferred Channel
{preferredchannel}
Channel Frequency
{channelfrequency}
Save Preferences
{saveprefsbutton}
Dynamic Web Content tokens
Variable name
Variable syntax
[Dynamic Content 1]
for example User-defined variable name
Variable name
Variable syntax
Language
{language}
Title
{title}
Landing Page Title
{page_title}
URL
{url}
Landing Page URL
{page_url}
Referrer
{referrer}
Tracking pixel
{tracking_pixel}
UTM Campaign
{utm_campaign}
UTM Content
{utm_content}
UTM Medium
{utm_medium}
UTM Source
{utm_source}
UTM Term
{utm_term}
Custom fields
Date and time
When working with date and time fields, you can specify date and time formats based in your Mautic’s settings.
Variable syntax
{contactfield=aliasofyourcustomdatefield|datetime}
{contactfield=aliasofyourcustomdatefield|date}
{contactfield=aliasofyourcustomdatefield|time}
Note
Replace aliasofyourcustomdatefield with the alias of your custom field.