Personalize your emails with recipient-specific information
{{ variable }}
.
Email personalization is supported when sending a campaign through the IndiePitcher dashboard, and by following API endpoints:
Both markdown and HTML email content supports personalization.
{{ firstName }}
placeholder. Fallback values can be specified by using {{ firstName|default:"there" }}
.
{{ name }}
: Maps to the contact’s name
property if available.{{ firstName }}
: Synthesized from the contact’s name
if available.{{ lastName }}
: Synthesized from the contact’s name
if available.{{ email }}
: Maps to the contact’s email
. Always available.{{ userId }}
: Maps to the contact’s userId
property if available.{{ avatarUrl }}
: Maps to the contact’s avatarUrl
property if available.{{ languageCode }}
: Maps to the contact’s languageCode
property if available.{{ companyName }}
: Represents the company name you set in your project’s settings. Useful for custom HTML emails to include your company name in the email footer.{{ companyAddress }}
: Represents the company address you optionally set in your project’s settings. Useful for custom HTML emails to include your company name in the email footer.{{ unsubscribeURL }}
: URL to unsubscribe from the mailing list this email belongs to. Not present if you’ve selected the important mailing list, users cannot unsubscribe from receiving important emails. Useful for custom HTML emails to provide a one click unsubscribe button in the footer of your email.{{ manageSubscriptionsURL }}
: URL to manage the recipients mailing list subscriptions. Not present if you’ve selected the important mailing list. Useful for custom HTML emails to provide a manage your subscriptions button in the footer of your email.{{ custom.<propertyName> }}
syntax to avoid possible name collisions with the fields IndiePitcher provides by default and may introduce in the future.
Example