Personalization that falls back cleanly in Eloqua and Marketo
The email went to 60,000 people at nine. By ten past, a sales rep had forwarded one that opened “Hi ,” and another that opened “Hi TEST.” Personalization fails in public and it fails on the records nobody looked at. Both platforms can fill in a default when a field is empty. Here is how to set them up, where bad data still gets through and how to catch it before the send.
Updated
In short
Both platforms show a default value when a field is empty. In Eloqua the default belongs to the field merge, set once under Assets > Components > Field Merge, so every email that uses that merge gets the same fallback. In Marketo it’s written into each token, as in {{lead.First Name:default=there}}, so every marketer who inserts a token picks their own and the Email Designer’s + icon adds one with no fallback at all. When the whole sentence should change, use a dynamic content default in Eloqua or a Velocity email script in Marketo. Defaults only cover empty fields. A first name of “test,” “ASDF” or “John Smith” goes straight into the email, so the lasting fix is keeping that data out of the database and testing with records built to fail. Campaign Launchpad gives marketers only the merges Ops set up, with their defaults defined, and checks every imported row against Ops’s rules before it reaches the database.
Why one empty field matters
Personalization is a promise that someone looked at your record. When it breaks, it breaks the other way. “Hi ,” tells the reader a machine put the email together and didn’t know their name. “Hi TEST” tells them their record is junk. “Dear JOHN SMITH” tells them both.
Scale makes it worse. An email to 60,000 contacts that is right for 59,400 of them still opens wrong for 600 people. Some of them work at the accounts sales cares about most. They forward it. Someone posts a screenshot. A campaign that took three weeks to build is remembered for its greeting.
Two habits prevent most of it: a default on every merge and a test list built to break things. The rest is bad data, and that has to be fixed where it comes in.
How defaults work in Eloqua
The default belongs to the field merge
In Eloqua a field merge is a reusable component, not something typed into the email. You create one under Assets > Components > Field Merge. Give it a name, enter the default value to show when the contact or account has no value for the field and pick the field under Merge From. Oracle’s own example is a First Name merge with “valued customer” as its default.
Merges on other sources take a default the same way. A custom object merge can show “No purchases” when there are none, or “No qualifying purchases” when you add criteria such as a date range. Event and session merges work alike.
Because the default lives on the merge, it’s the same in every email that uses it. That’s good for consistency and awkward in practice. “Valued customer” reads fine after “Dear” and badly after “Hi.” So most instances grow a family of First Name merges, one per greeting, and the marketer picks one from a search box. Name each one after its default, such as First Name (default: there), so the right choice is obvious. The same naming conventions that keep your emails findable work for components too.
One more setting matters. By default Eloqua removes URLs from merged data and inserts the rest, unless someone ticks Allow URLs in field merge. Leave it off. Bots that fill in forms like to put links in name fields.
Subject lines
Field merges go into the subject line from the email’s Settings panel with Insert > Field Merge. Oracle warns that the name shown can differ from the merge you chose if the merge was renamed at some point, so preview the subject line to be sure. A default written for a greeting rarely suits a subject line. “Valued customer, your seat is saved” is worse than no name at all. Give subject lines their own merge or leave the name out.
Dynamic content when the sentence should change
A default replaces a word. Sometimes the whole line should change. Eloqua’s dynamic content does that with rules on contact fields, account fields, custom object records or events. Oracle has you set up the default content first. It’s what any contact who matches no rule sees, and rules are checked from the top down.
So a greeting block can have one rule for contacts whose First Name isn’t blank, with “Hi” and the merge, and default content that just says “Hello,” with no name. The same block can go into the subject line through Insert > Dynamic Content. One limit: rules can’t search for a value in a large text field.
Signatures and senders
Signature rules are personalization too. They pick the sender for each contact from a key field, which can be a contact field, a custom object field or an event registration field. When nothing matches, Eloqua uses the default sender. Make that a user whose signature fields are all filled in, or the fallback is an email signed by nobody.
How defaults work in Marketo
The default belongs to each token
A Marketo token carries its default inside it: {{lead.First Name:default=there}}. Adobe’s quick start has you type it in the Default Value box when you insert a token, with the tip to “always include a default value for tokens.” In the new Email Designer it’s called fallback text. You set it by clicking the … icon next to a token. Adobe notes that clicking + instead adds the token with no fallback text.
The upside is flexibility. Each email can have the fallback that fits its sentence. The downside is that every marketer who inserts a token makes the choice again. One writes “there,” one writes “Friend,” one writes “Valued Customer” and one clicks the plus.
The syntax has to be exact. Adobe’s support article shows that {{lead.FirstName:default=Hello}}, without the space, stops the email from being approved. The same article shows a Reply-To token whose default is “edit me” making Send Sample fail, because “edit me” isn’t an email address.
Company tokens such as {{Company.Company Name}} work the same way and need a default just as much.
Header fields and the preheader
The From, Reply-to and Subject fields take tokens through the token icon. Adobe’s quick start puts the lead owner’s name in the From field with the company name and a dash as the default, so the sender is never blank. The preheader is the exception. Adobe’s tokens overview says tokens don’t work there in Marketo’s email editor unless the template puts the preheader in its own HTML.
My Tokens
My Tokens such as {{my.Event Date}} hold program values, not person values, so there is nothing to fall back from. Their risk is different: a placeholder inherited from the template program that nobody overrode. The program templates guide covers keeping them filled in.
Velocity when a default isn’t enough
For anything smarter than a fixed fallback, Marketo has email script tokens written in Velocity. You create one on a program’s My Tokens tab and drag in the fields you need from the tree. Adobe warns that a field typed in by hand must also be checked in the tree, or it’s treated as plain text. Scripts refer to fields by their API name, as in Adobe’s examples with ${lead.FirstName}.
A greeting that also catches the worst junk might look like this:
#set( $first = "$!lead.FirstName" )
#set( $first = $first.trim() )
#if( $first.length() < 2 || $first.equalsIgnoreCase("test") )
Hello,
#else
Hi ${first},
#end
Adobe’s scripting notes say to test with Send Sample and pick a real lead. They also cap all the email script tokens in one email at a combined 100,000 bytes.
Landing pages
Marketo landing pages take tokens with a default value the same way, and Adobe notes that values such as First Name come from the person record. Eloqua landing pages use the same field merges as email. A visitor the platform can’t match to a record has no first name to show. For many visitors the default is the version they see, so write it as the main one.
Where defaults don’t help
A default fills in when a field is empty. Most bad personalization comes from fields that aren’t.
- Placeholder values. “test,” “asdf,” “x” and “N/A,” typed to get past a form or by a rep adding a record in a hurry.
- The wrong case. “JOHN” from a badge scanner, “john” from a phone keyboard.
- The wrong field. “John Smith” in First Name, or “Dr.” or an email address.
- Companies that aren’t. “Self-employed,” “None” or “gmail.”
- Shifted imports. A spreadsheet with its columns off by one, so every first name is a last name.
Neither platform judges whether a value looks like a name. Eloqua’s validation rules come closest. They check data that is uploaded or submitted in a form for whether there is a value, its type and length and whether it’s in a data set. They can also replace particular values with ones you specify, which is one way to turn “test” into a blank before it’s stored. The upload wizard lets you choose, field by field, whether an upload always overwrites or only fills blanks.
In Marketo a blank cell in an import doesn’t overwrite existing data, but a bad value does. Block Field Updates lets a list marked untrusted fill empty fields without touching values that are already there. Neither stops an untrusted list from putting “asdf” into a field that was empty. The Eloqua upload guide and the Marketo import guide cover the rest of the import settings.
How to test personalization
Previewing as yourself proves nothing. Your record is complete. Test as the records that will break.
Build a seed list. Eight or so test contacts on your own domain, each wrong in one way: an empty first name, “test,” “ASDF,” “John Smith” in First Name, an empty company, a very long name and names like O’Brien and José. Keep it for every campaign.
In Eloqua, Actions > Preview shows the email as a contact you search for, up to 10 at a time. It shows the subject line and the signature from signature rules, but not the preview text. Test sends only go to contacts in your database, and signature rules only run when you pick a user to send from.
In Marketo, Send Sample resolves tokens as the person you choose in its person drop-down. A preview by list only covers the first 25 people on the list, another reason to keep the seed list short. In the Email Designer you check personalization with test profile data. For scripts, view the preview as a lead and it shows any errors the script threw.
A short checklist
- Give every merge and token a default, written for the sentence it sits in.
- Keep one approved merge or default per greeting style and retire the rest.
- Use a separate default, or no name, in subject lines and From names.
- Write landing page copy around the default.
- Use dynamic content or Velocity when the whole line should change.
- Stop junk at the door with validation rules, untrusted imports and required form fields.
- Test every email against the seed list before it’s approved.
- Search the database for “test,” “asdf” and all-caps names every quarter.
Personalization in Campaign Launchpad
Campaign Launchpad takes merge syntax out of marketers’ hands. Ops chooses the field merges marketers can use, once, on the platform’s Field Merges tab. Eloqua merges come straight from Eloqua with the defaults they already have. Marketo merges get their default right there, so “there” is set once for First Name and never retyped.
In the editor, marketers open a Field Merges tab that lists those merges, each with its default, and copy a short code such as {{First Name}} into their copy. When the campaign deploys, Launchpad swaps each code for the platform’s own field merge or token with its default in place. Nobody types :default=. Nobody clicks the icon that leaves the fallback out or picks the wrong First Name merge from a list of six. Change a default and the code stays the same. The AI Assistant follows the same rule. It can move the merges already in an email but never invents new ones.
Testing is part of the wizard. Ops can require a test send before a campaign launches and a fresh one after every change. Marketo tests can be personalized with the marketer’s own lead record, so they see real values instead of codes. The launch checklist holds the campaign until the test is done.
Imports are where junk gets stopped for good. When a marketer uploads a spreadsheet of event attendees, Launchpad checks every row against the rules Ops set on each field before anything reaches Eloqua or Marketo. First Name can be required, held to a minimum and maximum length, matched against a pattern or checked against a list of values it must never be, such as “test,” “asdf” and “n/a.” Each row is marked valid, invalid or duplicate. The marketer sees exactly why a row failed and only valid rows are imported.
| Capability | Eloqua | Marketo | Campaign Launchpad |
|---|---|---|---|
| Where the default is set | On the field merge, once for every email that uses it | In each token, every time it’s inserted | Once by Ops for each merge marketers can use |
| Inserting personalization | Pick a merge from a search of every field merge in the instance | Pick a token, then type the default by hand | Copy a short code from the list Ops approved |
| Leaving the default out | Depends on how each merge was built | The Email Designer’s + icon adds a token with no fallback text | Marketers only see Ops’s merges, each shown with its default |
| Junk values such as “test” | Validation rules can replace values you list on upload or form submit | Not checked. Untrusted imports can be kept from overwriting existing values | Every imported row checked against Ops’s rules. Invalid rows never load |
| Testing before launch | Preview as up to 10 contacts. Tests go to contacts in the database | Send Sample as a chosen person. List previews cover the first 25 people | A test can be required before launch and again after every change |
| Who has to remember | Whoever picks the merge | Every marketer who inserts a token | Ops, once |
The same merges and rules work on Eloqua and Marketo alike, so a company that runs both sets up personalization once. Ops designs it, marketers use it and nobody has to remember the syntax.
Getting it right
Defaults are the easy part. Set one on every merge and token this week and “Hi ,” is gone. The harder part is data that isn’t empty but is wrong. That has to be stopped where it enters: forms, imports and the people who type records in by hand. Then test every email against the records you’d least like a customer to see.
Frequently asked questions
- How do you set a default value for a field merge in Eloqua?
- Go to Assets > Components > Field Merge and create the merge or open an existing one. Enter the default value, which is the text shown when the contact or account has no value for the field. Then choose the field under Merge From and save. Oracle’s example is “valued customer” for First Name. The default belongs to the merge, so every email that uses it shows the same fallback. For a different fallback, create a second merge on the same field.
- What is the syntax for a default value in a Marketo token?
- Add :default= and the fallback after the field name inside the braces, as in {{lead.First Name:default=there}}. The field name has to match exactly, spaces included. Adobe’s support article shows that {{lead.FirstName:default=Hello}} stops the email from being approved. In the classic editor you type the default in the Default Value box when you insert the token. In the Email Designer it’s called fallback text and you set it with the … icon next to the token.
- Can you personalize the subject line in Eloqua and Marketo?
- Yes. In Eloqua, open the email’s Settings panel and use Insert > Field Merge or Insert > Dynamic Content in the subject line. In Marketo, click inside the Subject field and use the token icon. The same defaults apply, so a subject line needs a fallback that reads well on its own. Adobe notes that tokens don’t work in the preheader in Marketo’s email editor unless the template puts the preheader in its own HTML.
- What is a good default value for first name?
- One that fits the sentence around it. “Hi there” works for a casual greeting. “Hello” with no name at all is often better than “Dear Valued Customer.” Never leave a placeholder such as “edit me” in a token. In Eloqua, where the default belongs to the merge, keep one merge per greeting style and name it after its default. In Marketo, agree on one default per greeting and use it in every token.
- How do you leave the name out when the field is empty?
- Change the whole line instead of filling in a word. In Eloqua, build a dynamic content block with a rule for contacts whose First Name isn’t blank and default content with no name in it. In Marketo, use a Velocity email script token that checks the field and writes a different greeting when it’s empty or too short to be a real name. Test both with contacts whose first name is empty.
- Why do emails show “test” or an all-caps name?
- Because a default only fills in when the field is empty. A first name of “test,” “ASDF” or “JOHN” is a value, so it goes into the email as it is. The fix is upstream: validation rules on uploads and form submissions in Eloqua, untrusted imports with Block Field Updates in Marketo and regular searches of the database for placeholder values. In Marketo a Velocity script can also catch the worst cases at send time.
- How do you test personalization before sending?
- Keep a seed list of test contacts with deliberately broken data: an empty first name, “test,” a full name in First Name and an empty company. In Eloqua, preview the email as up to 10 of them with Actions > Preview, which shows the subject line too. In Marketo, use Send Sample and choose the person whose values the tokens should use. Marketo’s previews by list only cover the first 25 people, so keep the seed list short.
- How does Campaign Launchpad handle personalization?
- Ops chooses the field merges marketers can use and each one’s default is set once. Marketers copy personalization from that list in the editor, where every merge shows its default, and Launchpad turns it into the platform’s own field merge or token when it builds the email. Ops can require a test send before launch and again after every change. Imports check every row against Ops’s rules, such as a minimum length or a list of banned values, and only valid rows reach Eloqua or Marketo.