Mailfois
Email platform cheat sheets / Constant Contact
Constant Contact

Constant Contact email coding cheat sheet

The tags and rules you need to code an email or a module for Constant Contact: the unsubscribe link, personalisation with a fallback, the view-in-browser and address tags, editable regions and how to get your HTML in. Checked against Constant Contact's own documentation on 27 October 2026.

Unsubscribe
Added by Constant Contact in its compliance footer; there is no tag to place.
First name
[[FIRSTNAME]] (Variable tags)
With a fallback
[[FIRSTNAME OR "there"]]
Postal address
[[account.AddressLine1]], [[account.City]], [[account.PostalCode]] (the footer also shows the account's saved address)

The Constant Contact unsubscribe link

Put this in the footer of every marketing email you code for Constant Contact:

Added by Constant Contact in its compliance footer; there is no tag to place.

The law in most countries also wants the unsubscribe to be easy to find and free to use: see the email rules by country.

Personalisation in Constant Contact: first name with a fallback

Constant Contact uses Variable tags. A first name on its own:

[[FIRSTNAME]]

With a fallback, so an empty field never shows a blank or a raw tag:

[[FIRSTNAME OR "there"]]

Showing something only to some people (an if / else):

No if/else in custom code emails: use [[FIELD OR "text"]] fallbacks.
  • Postal address: [[account.AddressLine1]], [[account.City]], [[account.PostalCode]] (the footer also shows the account's saved address)

Making a coded template editable in Constant Contact

No editable-region markup: a custom code email is edited as code in the custom code editor, with a live preview.

<!-- Paste the whole email into the custom code editor and include [[trackingImage]] in the body -->

Getting your HTML into Constant Contact

Create a custom code email and paste the HTML into the custom code editor (the API equivalent is format_type 5).

Limits worth knowing

  • Under 400 KB, and no [#, ${ or <@ anywhere in the code.
  • Include [[trackingImage]] in the <body>, or opens are estimated from clicks.
  • <style> rules are converted to inline CSS when the email is sent.
  • Custom fields: [[CUSTOM.<field_name>]].

What Constant Contact calls things

Every platform has its own words for the same ideas. Constant Contact's, in plain English:

The ideaConstant Contact calls itWorth knowing
One-off sendEmail campaignA single email created and sent to selected contact lists, segments or tags.
Automated journeyAutomation pathA multi-step sequence of emails, texts, delays and splits built in the Path Builder. Emails created inside a path cannot be reused as standalone campaigns.
Trigger / entryTriggerThe event starting a contact on an automation path, such as joining a list.
Static groupContact listA fixed group you add people to manually, by import or by sign-up form. Tags also label contacts statically but work across lists.
Dynamic groupSegmentA rule-based group automatically including contacts matching your criteria.
Customer recordContactOne person’s stored details, list memberships, tags and engagement history.
Custom fieldCustom fieldAn extra field you create for information specific to your organisation.
TemplateTemplateA pre-built or saved design used as the starting point for a new email.
Personalisation languageVariable tagsDouble-square-bracket placeholders like [[FirstName]] inserting contact or account data.
Fallback valueFallback text statementWritten as [[FIELD OR "text"]], showing stand-in wording when a contact lacks the field. Required in subject lines, or the send is blocked with an error.
A/B testSubject line A/B testTests two subject lines on portions of your list, then sends the winner. Subject lines only, you cannot A/B test content.
SuppressionUnsubscribed contactsContacts who opted out, automatically excluded from all future sends. No importable suppression list, you cannot pre-block addresses you’ve never mailed.
Preference centreUpdate Profile formA hosted form, linked via [[updateLink]], where contacts edit details and list choices.
ReportingReportingSends, opens, clicks, split distribution and revenue per email or path.
Draft vs liveDraft / ActiveA path only runs once activated. Drafts are unlimited but active paths are capped by plan.

What we couldn't confirm

We only list what Constant Contact's documentation says. These points weren't clear from it, so test them in your account:

  • That the footer with unsubscribe link is always added and cannot be removed (community answers only).
  • The [[updateLink]] update-profile tag named in the glossary.
  • That custom code emails have no conditional logic.
  • No view-in-browser tag found; a permalink exists for each campaign.
Do it in Mailfois. Ask Mailfois, your email marketing assistant, writes modules and whole templates for Constant Contact with these tags, fallbacks and editable regions already in place. Studio adds the unsubscribe and privacy links before you copy the code, and Brand Guard flags merge tags left without a fallback. How Ask Mailfois works

Questions

What is the unsubscribe tag in Constant Contact?

Added by Constant Contact in its compliance footer; there is no tag to place..

How do I add a first name with a fallback in Constant Contact?

Constant Contact uses Variable tags. A first name is [[FIRSTNAME]], and with a fallback: [[FIRSTNAME OR "there"]]

How do I get a custom HTML email into Constant Contact?

Create a custom code email and paste the HTML into the custom code editor (the API equivalent is format_type 5).

Sources

Checked by Mailfois against Constant Contact's documentation on 27 October 2026. Platforms rename things often: spotted something out of date? Email [email protected].

Other platforms

Mailchimp · Klaviyo · HubSpot Marketing Hub · Salesforce Marketing Cloud Engagement · Braze · Adobe Marketo Engage · Bloomreach Engagement · Brevo · Campaign Monitor · Dotdigital · Iterable · Resend

Code for Constant Contact without looking up the tags.

Start with Ask Mailfois