On this page
What this issue is
A merge tag (also called a placeholder, token or personalization field) is a small piece of text in an email template, such as {{first_name}}, that your tool swaps for data the lead typed into the form. If the swap fails, the lead gets the raw tag, or "Hi ," with nothing after it.
Every tool has its own syntax. Some use {{first_name}}, others use [your-name], %FIRSTNAME%, {{contact.first_name}} or *|FNAME|*. Copying a tag from one tool into another is the most common cause.
- Lead submits formFirst name typed in
- Autoresponder triggersEmail template loads
- Merge tag replacedTag name does not match a field
- Lead reads emailSees 'Hi {{first_name}}'
The form works and the email sends, but the swap step fails, so the first message the lead sees looks broken.
Why it costs you leads or sales
The autoresponder is often the first thing a lead receives from you. A visible placeholder looks careless, and it can look like a mass mailing or a phishing attempt. Leads may ignore the email, miss the booking link inside it, or mark it as spam, which also hurts delivery of later emails.
The damage is quiet. The form works, the lead reaches your CRM, and nothing alerts you. You only find out when someone replies, or never does.
Example: illustrative numbers showing how a broken greeting could lower replies. Your results will differ.
How to check if your site has it
Submit your own form
Use a real inbox you can read, and type a clear test name such as 'Testname Lastname'.
Read the email you receive
Look in the subject line, greeting, body, button text and footer. Merge tags can fail in only one of these places.
Look for leftovers
Search for curly braces, square brackets, percent signs or empty gaps like 'Hi ,'.
Test an edge case
Submit again with the name field empty, or with only a full name, to see how the fallback behaves.
Check every form
Each form may use its own template. A fix on the contact form does not cover the quote or booking form.
How to fix it
The idea is the same everywhere: the tag in the template must match the exact name of a field the form actually sends. Then give it a fallback for when the field is empty.
| Cause | What you see | Fix |
|---|---|---|
| Tag name does not match the field | Raw {{first_name}} in email | Rename the tag or the field so they match exactly |
| Syntax from another tool | Raw tag or brackets | Use the syntax of the tool that sends the email |
| Field was empty or optional | 'Hi ,' | Make the field required or add a default value |
| Single 'Full name' field | Whole name or blank in first name tag | Split into first and last name fields |
| Tag in subject line unsupported | Raw tag only in subject | Check if the tool supports tags in subjects, or remove it |
Find the exact field name
In your form plugin, open the form and note each field's name or ID. Contact Form 7 uses
[your-name], WPForms uses Smart Tags such as{field_id="1"}, and Gravity Forms uses merge tags like{Name (First):1.3}. Use the insert-tag button in the email editor where one exists, rather than typing it.Replace the tag in the confirmation email
Edit the notification or confirmation to the lead and paste in the tag the plugin generated.
Split the name field if needed
If you only collect a full name, use first and last name subfields so a first-name tag has something to read.
Use contact custom values
In the workflow email or template, insert tags with the built-in variable picker, for example
{{contact.first_name}}, instead of typing them.Map the form field to the contact field
Check that the form's name field is a standard First Name field, not a custom text field, so the contact record is filled before the email goes out.
Check the workflow timing
Make sure the email step runs after the contact is created, not at the same moment.
Webflow does not send a lead autoresponder by itself
Native forms only notify you. The email to the lead comes from a connected tool such as Zapier, Make or your email platform.
Match the field name
In the form settings, note the field's Name attribute. Map that exact name in the connected tool, then use that tool's own merge syntax.
Open the automation
In Wix Automations or Wix Forms, edit the email sent after a form submission.
Insert the field with the personalize option
Use the insert-field option in the email editor to add the submitter's first name, rather than typing a tag.
Set a fallback
Where available, set a default such as 'there' for when the name is missing.
Check what the form sends
Squarespace form storage notifies you, and does not send a personalized email to the lead on its own. Any lead email comes from a connected tool such as Mailchimp or Zapier.
Fix the tag in that tool
Make sure the name field is mapped to the tool's first name field, then use that tool's syntax, for example
*|FNAME|*in Mailchimp.
Check the template variables
Compare the variable names in your template with the keys in the data object you pass to it.
Add a default
Fall back to a neutral greeting when the value is missing, as in the snippet below.
function greeting(lead) {
const name = (lead.first_name || '').trim();
return name ? `Hi ${name},` : 'Hi there,';
}
// Fail loudly if any tag is left unreplaced
function assertNoTags(html) {
if (/\{\{.*?\}\}|\[[a-z-]+\]|%[A-Z_]+%/.test(html)) {
throw new Error('Unreplaced merge tag in email');
}
}Broken tag
- Subject: Thanks, {{first_name}}
- Body starts 'Hi {{first_name}},'
- Looks like a template error
Fixed tag
- Subject: Thanks, Sam
- Body starts 'Hi Sam,'
- Falls back to 'Hi there,' if name is empty
How to confirm it's fixed
- Submit the form with a real name and read the email in your inbox
- No braces, brackets or percent signs remain in subject, body or buttons
- Submit once with the name left empty and check the fallback greeting
- Open the email on mobile and in a second mail app, since previews can differ
- Repeat on every form that sends an autoresponder
- Check the lead record in your CRM holds the same name
How to prevent it happening again
Merge tags usually break when someone renames a form field, swaps the form plugin, rebuilds the form, or edits the email template. Treat these as changes that need a test submission.
- Insert tags with the tool's picker instead of typing them
- Keep field names stable and document them
- Set a fallback value on every personalized tag
- Test submit after any form, template or plugin change
- Avoid putting tags in subject lines unless you have tested them
- Run a scheduled test so a silent break is caught quickly
Day 1
Someone renames the form field from 'first_name' to 'fname'.
Day 1
The autoresponder still uses {{first_name}} and starts sending raw tags.
Days 2-14
Every new lead gets a broken greeting. Nothing alerts you.
Day 15
A lead mentions it, or a test catches it. The tag is fixed.
How FunnelGuard handles this
FunnelGuard detects this today. It runs a marked test submission through your real lead form on a schedule, then checks the content of the email that arrives (the email_content merge tags check). If the email still contains an unreplaced merge tag such as {{first_name}}, the check fails.
A failure is re-checked from a second region before one alert goes out, by email, Slack, Teams, WhatsApp, webhook or PagerDuty, with a screenshot and a likely cause. Test traffic is marked with utm_source=funnelguard, fg_test=1 and its own user agent. The Free plan covers 1 site and 2 journeys with daily checks and no card, and paid plans have a 3-day free trial.
Questions people ask
Why is my autoresponder showing {{first_name}} instead of the name?
The email tool could not find a form field matching that tag, so it sent the raw text. The usual causes are a renamed field, a tag written in another tool's syntax, or a field the form never sends. Match the tag to the exact field name and send a test.
Why does my confirmation email say 'Hi ,' with no name?
The tag matched a field, but the field was empty. The lead may have skipped an optional field or typed a full name into a last-name box. Make the field required or set a fallback such as 'there'.
How do I fix merge tags in a Contact Form 7 email?
Contact Form 7 uses the field name in square brackets, for example [your-name], in the Mail tab. The bracket name must match the field's name in the form tab exactly. Copy it from the form rather than typing a tag from another tool.
Do merge tags work in the email subject line?
It depends on the tool. Many support them, some do not, and some fail when the field is empty. Send a test with and without a name, and remove the tag from the subject if it breaks.
What is a fallback value for a merge tag?
A fallback is the default text used when a field is empty, such as 'there' for a first name. It stops the email reading 'Hi ,'. Most email and CRM tools let you set one in the tag or the template.
Can a form plugin update break my merge tags?
Yes. Updates, theme changes or rebuilt forms can rename fields or change tag syntax. Send a test submission after any change to a form or its email template.
How can I know when my autoresponder merge tags break without testing by hand?
Run an automated test submission on a schedule and inspect the email that arrives for leftover tags. FunnelGuard does this with a marked test lead and alerts you if an unreplaced tag such as {{first_name}} appears.
Related issues
- CNV-062Autoresponder to the lead not sentFix guide
- CNV-064Autoresponder links brokenFix guide
- CNV-050Lead reaches CRM with wrong or empty fieldsFix guide
- CNV-048Form says success but lead never reaches emailFix guide
- CNV-053Notification email lands in spamFix guide
- CNV-065SMS confirmation not sentFix guide