Mailfois
Email platform cheat sheets / Campaign Monitor
Campaign Monitor

Campaign Monitor email coding cheat sheet

The tags and rules you need to code an email or a module for Campaign Monitor: 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 Campaign Monitor's own documentation on 27 October 2026.

Unsubscribe
<unsubscribe>Unsubscribe</unsubscribe>
First name
[firstname] (Template language and personalisation tags)
With a fallback
[firstname,fallback=there]
View in browser
<webversion>View in browser</webversion>
Preferences
<preferences>Manage preferences</preferences>

The Campaign Monitor unsubscribe link

Put this in the footer of every marketing email you code for Campaign Monitor:

<unsubscribe>Unsubscribe</unsubscribe>
  • The <unsubscribe> link is required in every campaign and cannot sit inside an editable region.

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 Campaign Monitor: first name with a fallback

Campaign Monitor uses Template language and personalisation tags. A first name on its own:

[firstname]

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

[firstname,fallback=there]

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

[if:CustomerType=VIP]VIP offer[else]Become a VIP[endif]
  • View in browser: <webversion>View in browser</webversion>
  • Preferences: <preferences>Manage preferences</preferences>

Making a coded template editable in Campaign Monitor

Template language tags: singleline and multiline for text, img editable for images, repeater for blocks people can add again, layout for alternative designs inside a repeater.

<repeater><layout label="Story"><img editable src="hero.jpg" width="600" label="Image"><h2><singleline label="Title" repeatertitle="true">Title</singleline></h2><multiline label="Body">Text</multiline></layout></repeater>

Getting your HTML into Campaign Monitor

Import a custom template (HTML plus a ZIP of images and CSS) before creating campaigns, or import straight into a campaign: Design email > Import HTML > From my computer.

Limits worth knowing

  • img editable needs a pixel width and no height.
  • Repeaters cannot be nested; each needs at least one editable item.
  • Imports must be under 20 MB; tick "Move my CSS inline" so clients do not strip styles.
  • cm_dontimportimage on an <img> keeps it on your own server; cm_dontconvertlink stops link tracking.

What Campaign Monitor calls things

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

The ideaCampaign Monitor calls itWorth knowing
One-off sendCampaignA single email built and sent to chosen subscriber lists or segments.
Automated journeyJourneyA series of automated steps processed in order when a subscriber event triggers it.
Trigger / entryJourney triggerThe subscriber event starting someone on a journey, such as joining a list.
Static groupSubscriber listA fixed group with its own custom fields, preference centre and unsubscribe settings. Custom fields belong to a list, so the same field must be recreated per list.
Dynamic groupSegmentA rule-based subset of a subscriber list that updates automatically. A segment always sits inside one list, it cannot span lists.
Customer recordSubscriberOne person’s record on a list: email, name, custom field values and status. The same person on two lists is two records with separate data.
Custom fieldCustom fieldAn extra data field on a subscriber, used for personalisation and segmentation.
TemplateTemplateA reusable design with editable regions that campaigns are created from.
Personalisation languagePersonalization tagsSquare-bracket placeholders like [firstname] inserting subscriber data. Smart transactional emails use Liquid instead, a different syntax entirely.
Fallback valueFallback termText after fallback= in a tag, shown when the subscriber has no value. Omit it and a blank space appears mid-sentence. Mandatory for from-addresses.
A/B testA/B test campaignA campaign type sending competing versions to portions of your list.
SuppressionSuppression listClient-level list of addresses never to send to, fed by bounces, complaints and unsubscribes. By default one unsubscribe suppresses that person across all your lists.
TransactionalSmart / Classic transactional emailSmart emails hold content in Campaign Monitor; classic emails carry content supplied at send time.
Preference centreSubscriber preference centerA hosted page where subscribers update details, custom fields and tracking consent. Unsubscribing here removes them from all lists, ignoring list-level settings.
Send-time optimisationSend time optimizationSchedules delivery per subscriber based on past engagement, or on their local time zone.
ReportingReportsPer-campaign and per-journey recipients, opens, clicks, bounces and unsubscribes.
API-triggered sendSend a smart emailThe transactional endpoint triggers an individual send. List webhooks push events out.
Draft vs liveDraft / ActiveJourneys and smart transactional emails are draft until activated. Editing an active journey affects people mid-flow.

What we couldn't confirm

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

  • No postal address tag was found.
Do it in Mailfois. Ask Mailfois, your email marketing assistant, writes modules and whole templates for Campaign Monitor 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 Campaign Monitor?

<unsubscribe>Unsubscribe</unsubscribe>. The <unsubscribe> link is required in every campaign and cannot sit inside an editable region.

How do I add a first name with a fallback in Campaign Monitor?

Campaign Monitor uses Template language and personalisation tags. A first name is [firstname], and with a fallback: [firstname,fallback=there]

How do I add a view-in-browser link in Campaign Monitor?

Use <webversion>View in browser</webversion>.

How do I get a custom HTML email into Campaign Monitor?

Import a custom template (HTML plus a ZIP of images and CSS) before creating campaigns, or import straight into a campaign: Design email > Import HTML > From my computer.

Sources

Checked by Mailfois against Campaign Monitor'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 · Constant Contact · Dotdigital · Iterable · Resend

Code for Campaign Monitor without looking up the tags.

Start with Ask Mailfois