For admins
Dotdigital integration
This guide connects Dotdigital to Better Email, so a finished Campaign lands in Dotdigital as a campaign, with its subject line, preheader and sender set. It also covers the optional parts: sending and scheduling from Better Email, personalizing with Dotdigital's data fields, showing content to part of your list, and bringing performance data back.
Better Email reads your account's from addresses, address books, segments and data fields to fill in its settings, and campaign totals for performance data. It never reads or changes your contacts.
Before you start
You will need:
- a Dotdigital API user for Better Email alone, set up as in step 1
- an admin user in Better Email who can create and edit integrations
- for conditional content, Liquid personalisation turned on in your Dotdigital account
1. Create an API user in Dotdigital
Better Email connects to Dotdigital as an API user. Give it one of its own, so nothing else can lock it out or change its password.
- In Dotdigital, go to Settings > Access > API users and click New user. You need to be the account owner or have the Can manage account permission.
- Note the username. Dotdigital creates it for you, and it looks like an email address.
- Set a password with at least 8 characters, including a number or a symbol.
Five wrong passwords lock an API user until someone unlocks it in Dotdigital. If syncing stops with a login error, check the password before you try again.
2. Create the integration in Better Email
- Go to
Integrationsand clickAdd integration. - Choose
Dotdigital. - Give the integration a clear name, such as
Dotdigital (Island Records). - Fill in
API usernameandAPI passwordfrom step 1. - Optional: turn on
Sync recipient fields,Sync performance dataandSend and schedule from Better Email. See Personalization with data fields, Performance data and Send and schedule. - Leave
Enabledon and clickCreate integration.

Better Email encrypts the password and never shows it again. There's no region to choose. Better Email finds the region your account is in when it connects.
One integration connects to one Dotdigital account. If your brands or labels each have their own account, create one integration for each.
3. Set up Destinations
Saving the integration creates its default Destination. A Destination decides who a campaign is from.
- Open the
Destinationstab and open the Destination. - Under
Dotdigital target, fill inFrom name. Dotdigital needs one on every campaign. - Under the Dotdigital from address section, click
Fetch from Dotdigitaland pick one of the account's custom from addresses inFrom address. Leave it onAccount defaultto use the account's default from address. - Optional: under
Delivery defaults, fill inForward replies to. Replies to the campaign are then forwarded to that address. Left blank, the account's own reply handling applies. - Save the Destination.
If you send for several brands or senders from one Dotdigital account, add one Destination for each. Campaigns pick their Destination when they're created.
4. Add an unsubscribe link to your Design System
Dotdigital won't send a campaign without an unsubscribe link. Better Email checks before it syncs that every contact gets one, whichever version of the email they see. Put it outside any condition, or in every version of a footer that has an Everybody else version.
In your Design System's footer, link the unsubscribe text to Dotdigital's placeholder:
<a href="https://$UNSUB$">Unsubscribe</a>
Dotdigital replaces https://$UNSUB$ with each contact's own unsubscribe link when it sends. Better Email leaves these placeholder links alone when it adds link tags. Dotdigital's other placeholders work the same way: https://$CANTREAD$ for view in browser, and https://$PREFCENTRE$ for the preference centre.
If your Dotdigital account is in the US, Dotdigital also needs your postal address in the footer. Add $SENDERADDRESS$ where it should appear.
5. Sync a Campaign to Dotdigital
On the Campaign's Review tab, click Sync to <integration name>.
The first sync creates a draft campaign in Dotdigital, named after the Campaign. It carries:
- the Campaign's subject line
- its preheader, as hidden text at the top of the email, since Dotdigital's API has no preheader field
- the rendered HTML
- a plain-text version, written by Better Email
- the Destination's from name, from address and reply handling
The campaign opens in Dotdigital's HTML editor, not EasyEditor. Make content changes in Better Email and sync again, because the next sync replaces the HTML.
Better Email doesn't sync a Campaign without a subject line, a from name on the Destination, or an unsubscribe link.
Syncing again
Each later sync through the same Destination updates the same draft: its name, subject line, from name, HTML and plain text.
Better Email creates a new campaign instead of updating when the earlier one:
- has been sent, or started sending. The sent campaign stays as it is, with its reporting.
- was deleted in Dotdigital
- belongs to another Dotdigital account, because the integration's API user now points somewhere else
- was made with a different from address or reply-to than the Destination has now. Dotdigital can't change those on an existing campaign, so Better Email creates a new draft and deletes the old one.
Better Email won't sync while the campaign is scheduled to send, or is waiting for approval in Dotdigital, because the sync would change what goes out. Unschedule it in Dotdigital first.
6. Optional: send and schedule from Better Email
Sending from Better Email is optional and off by default. Without it, your team opens the synced campaign in Dotdigital, picks its recipients and sends it there.
With it on, editors send or schedule the campaign straight from the Review tab. Dotdigital still delivers it, from your own sending setup, with your data fields filled in per contact.
Turn on sending
- Open the Dotdigital integration in Better Email.
- Turn on
Send and schedule from Better Email. - Click Save.
Choose who each Destination may send to
Each Destination lists the address books and segments its campaigns may go to. Better Email never sends anywhere else.
- Open the
Destinationstab and open the Destination. - In the
Dotdigital from address and audiencessection, clickFetch from Dotdigital, then pick the address books and segments this Destination may send to underAddress books and segments. - Save the Destination.
Sending is blocked until a Destination has at least one audience.
Send or schedule a campaign
- Open the Campaign's Review tab and click
Sync to <your Dotdigital integration>. - Click
Next. The send step shows who it goes to, the subject and the sender. - Choose what happens:
Sync onlyupdates the campaign in Dotdigital. Nothing is sent.Send nowsyncs and sends to the address book or segment straight away.Schedulesyncs and sends at the time you pick, in your own time zone.
- If the Destination has more than one audience, pick the one to send to under
To. - Click
Send noworSchedule send, and confirm it once more. Better Email can't take a send back, so it always asks.
The email that goes out is the revision you're syncing, exactly as rendered.
After a campaign is scheduled or sent
A scheduled Campaign shows its send time on the Review tab and in the Campaign list. A sent one shows when it went out.
Dotdigital can't move or cancel a scheduled send through its API, so do that in Dotdigital: open the campaign there and unschedule it. While a send is scheduled, Better Email won't sync the Campaign, because that would change what goes out.
Once the send time has passed, Better Email shows Scheduled for …, check Dotdigital until it knows the send went out. The next sync asks Dotdigital first:
- If Dotdigital sent it, the sync makes a new campaign. The sent one keeps its reporting.
- If the send was cancelled in Dotdigital, the sync carries on as if it had never been scheduled.
- If it's still scheduled there, perhaps moved to a later time, the sync is refused until it has gone out.
- If Dotdigital can't say what happened, for example because the campaign was deleted there, the sync is refused for an hour after the send time. After that it leaves the old campaign alone and makes a new one. The Campaign keeps showing
check Dotdigital, and sending again needs theSend it againtick.
Sending a Campaign again
After a send, the next sync makes a new Dotdigital campaign, and the send step comes back for it. The step shows when the Campaign was last sent and to whom. To send it again, tick Send it again. Everyone in the address book or segment you pick gets it, including people who had the first send.
Audiences and the Dotdigital account
Address books and segments belong to one Dotdigital account. If you point the integration at another account, for example from a test account to your real one, pick each Destination's audiences again. Better Email won't send until you do.
7. Personalization with data fields
Dotdigital personalizes campaigns with contact data fields. Recipient fields export as Dotdigital's placeholder, the field name in capitals between @ signs:
Hi @FIRSTNAME@,
When a contact has no value, Dotdigital shows the data field's default value, or nothing. Set defaults on the data field in Dotdigital, under Settings > Contacts > Contact data fields.
Syncing fields from Dotdigital
- On the integration, turn on
Sync recipient fieldsand save. - Click
Sync nowin the page header.
Better Email reads the account's contact data fields and creates a recipient field for each one. The data field's name becomes the field's ESP field name. Number, date and yes/no fields keep their type. Everything else arrives as text.
New fields arrive inactive. Switch on the ones you want on the integration's Recipient fields tab.
Adding a field by hand
Create the data field in Dotdigital first. Then add a recipient field on the Recipient fields tab and set its ESP field name to the data field's name, such as FIRSTNAME.
See Recipient Fields / Merge Tags for the general setup.
8. Segmentation and block variants
Block variants and segments export as Dotdigital Liquid. Each condition becomes a Liquid if on the contact's data fields, so one campaign shows different blocks to different contacts:
<!--{% if contact.data.country == 'GB' %}-->
UK tour dates
<!--{% else %}-->
World tour dates
<!--{% endif %}-->
Better Email wraps every Liquid tag in an HTML comment, as Dotdigital recommends, so its editor can't change the conditions.
Conditions only work when Liquid personalisation is turned on in your Dotdigital account. Without it, Dotdigital ignores the conditions and every contact gets every block. Ask your Dotdigital account manager if you're not sure.
What each field type supports:
- Text fields: is, is not, is set and is not set.
- Number fields: the same, plus greater than and less than. A contact with no value matches neither.
- Yes/no fields: is and is not.
- Date fields: is set and is not set only.
And, or and not groups work, nested as deep as you need.
A few things don't work with Dotdigital:
- Subject line variants. Dotdigital doesn't run Liquid in subject lines, so the campaign gets the Everybody else subject.
- Conditions inside a link, another HTML attribute, or an Outlook-only
<!--[if mso]>block. Put the condition around the whole element instead. - Dates relative to today, such as Within the next 14 days. The builder doesn't offer them on a Dotdigital integration. See Dates relative to today.
The plain-text version can't show different content to different contacts, so it carries each block's Everybody else content.
Use preview profiles to check the variants before you sync. To see them with real contact data, send a test from Dotdigital.
Test sends
Dotdigital sends tests only to the addresses on its Test list, up to 200. To test to a new address, add it to the Test list in Dotdigital first.
9. Performance data
Better Email can bring back sends, deliveries, opens, clicks, bounces, unsubscribes and complaints for the campaigns it synced. See Performance data from Dotdigital.
Troubleshooting
- "Dotdigital rejected the API username or password." Check
API usernameandAPI password. If syncing worked before, someone may have changed the password, or the API user is locked after five wrong attempts. Unlock it in Dotdigital and enter the password again. - "Dotdigital needs a from name." Fill in
From nameon the Destination and sync again. - "Dotdigital won't send a campaign without an unsubscribe link." Link your footer to
https://$UNSUB$, outside any condition or in every version of it. See step 4. - "Dotdigital rejected this API user's password last time." Better Email stops trying a password Dotdigital rejected, so the API user doesn't get locked. Check the password, enter it again on the integration and try again.
- "…is scheduled to send." Unschedule the campaign in Dotdigital, then sync again.
- "Add an address book or segment to this Destination before sending." Pick the audiences on the Destination. See Choose who each Destination may send to.
- "This Campaign already has a send scheduled in Dotdigital." Unschedule it in Dotdigital, then sync again.
- "…didn't get an answer, so it can't tell whether it went out." Better Email lost contact with Dotdigital mid-send. It locks the Campaign rather than risk a second send. Check the campaign's send history in Dotdigital, then contact us to unlock it.
- Every contact got every variant. Liquid personalisation is off in your Dotdigital account. Ask Dotdigital to turn it on.
- A second campaign appeared in Dotdigital. The first one was sent, deleted or made with another from address, or the integration now points at another account. See Syncing again.
- A new field doesn't show up in the Campaign Editor. Synced fields arrive inactive. Switch it on in the
Recipient fieldstab.