Skip to content
FunnelGuard

Fix guide by FunnelsGuard

First name merge blank in emails ("Hi ,"): how to fix it

DLV-030Low impactDetectedBy FunnelGuardPublished Updated
On this page

What this issue is

A merge tag is a placeholder in an email, like {{first_name}}, that your email tool swaps for a value from the lead's record. If the value is empty, the tool swaps in nothing. The greeting Hi {{first_name}}, then becomes Hi ,.

This is different from an unfilled tag, where the lead sees the raw text {{first_name}}. Here the tag works, but the data behind it is blank.

Why it costs you leads or sales

The impact is small but real. A greeting with a gap looks like a mistake, so the email feels automated and careless. It can lower trust right when the lead is deciding whether to reply, book or buy. It also hints that other data may be missing from the lead record.

How a blank greeting happens
  1. Lead submits formName typed in one field or left out
  2. Field mappingName not mapped to First name
  3. Contact recordFirst name is empty
  4. AutoresponderSends "Hi ,"

The name is lost before the email is built, so the template has nothing to insert.

How to check if your site has it

Test the greeting yourself
  1. Submit the form with a full name

    Use a test email you can read. Type a first and last name and check the email greeting.

  2. Submit it with only one word

    Enter a single name, such as "Sam" in a combined Name field. Some tools cannot split it and leave first name empty.

  3. Submit it with the name left blank

    If the field is optional, leave it empty. This shows what real leads without a name will see.

  4. Open the contact record

    In your CRM or email tool, check whether First name was saved. If it is empty there, the problem is in the form mapping, not the template.

How to fix it

There are two fixes, and you usually want both. First, add a fallback so the greeting reads well when the name is missing. Second, fix the mapping so the name is captured when the lead typed it.

Fallback syntax in common email tools (check your tool's current docs, as syntax can change)
ToolGreeting with fallback
MailchimpHi *|FNAME|*, becomes Hi *|FNAME:there|*,
HubSpotHi {{ contact.firstname | default: "there" }},
ActiveCampaignHi %FIRSTNAME|there%,
Liquid-based tools (Klaviyo, Shopify Email)Hi {{ first_name | default: "there" }},
Fix it on your platform
  1. Check the form's email settings

    In your form plugin (for example Contact Form 7, Gravity Forms, WPForms), open the confirmation email and look at the name tag. Make sure it points to the actual name field, such as [your-name] or the Name field's first-name part.

  2. Use the first-name part of a split field

    If your plugin has a combined Name field, choose its First sub-field in the merge tag picker instead of the whole field.

  3. Add a fallback

    If the plugin does not support defaults, make the Name field required so it cannot be empty.

Shopify Liquid greeting with fallbackliquid
Hi {% if customer.first_name != blank %}{{ customer.first_name }}{% else %}there{% endif %},
Greeting with fallback in custom codejavascript
const name = (lead.firstName || '').trim();
const greeting = name ? `Hi ${name},` : 'Hi there,';
Greeting before and after

Before

  • Greeting reads "Hi ,"
  • No fallback in the merge tag
  • Name field not mapped to First name

After

  • Greeting reads "Hi Sam," or "Hi there,"
  • Fallback set in the template
  • Name saved to the contact record

How to confirm it's fixed

Confirmation checks
  • Submit the form with a full name and see the first name in the greeting
  • Submit with a single word in a combined name field and check the result
  • Submit with the name blank and see the fallback, not "Hi ,"
  • Open the contact record and confirm First name is saved
  • Check the email in a mobile client as well as desktop

How to prevent it happening again

Prevention habits
  • Add a fallback to every merge tag in every template
  • Make the name field required if the greeting depends on it
  • Retest the email after changing form fields, plugins or CRM mapping
  • Check imported or API-created leads, which often lack a first name
  • Keep a checklist for new forms that includes the confirmation email

How FunnelGuard handles this

FunnelGuard detects this issue. A robot visitor runs your lead form on a schedule and submits a test lead. It then checks the content of the confirmation email that arrives, and flags an empty greeting such as "Hi ,". A failure is re-checked from a second region before one alert goes out, with a screenshot and a likely cause.

Test traffic is marked with utm_source=funnelguard, fg_test=1, an fg_test cookie and its own user agent. The Free plan covers 1 site and 2 journeys with daily checks and no card. Paid plans start at $39/month with a 3-day free trial.

Questions people ask

Why does my confirmation email say "Hi ," with no name?

The merge tag in your template is inserting an empty first name. Either the lead did not give a name, or your form did not pass it to your email tool. Add a fallback to the tag and check the field mapping.

How do I set a default value for a first name merge tag?

Most email tools let you add a fallback inside the tag. In Mailchimp use *|FNAME:there|*, and in HubSpot use {{ contact.firstname | default: "there" }}. Check your tool's documentation for the exact syntax.

What is a good fallback for a missing first name?

"Hi there," or "Hello," are safe choices. They read naturally and do not signal that data is missing. Avoid placeholders like "Customer".

Why is first name empty when the lead typed their name?

The name field is probably not mapped to the First name property. A single combined Name field often does not split into first and last name automatically. Map the field correctly or use separate first and last name fields.

What is the difference between "Hi ," and "Hi {{first_name}}"?

"Hi ," means the tag worked but the value was empty. "Hi {{first_name}}" means the tag was never replaced, usually because of a wrong tag name or syntax. Each has a different fix.

Should I make the name field required?

If your emails depend on the name, requiring it helps. But extra required fields can lower form submissions, so a fallback is often the better first step.

Can I detect a blank greeting automatically?

Yes. FunnelGuard submits a test lead on a schedule, checks the confirmation email content, and flags an empty greeting like "Hi ,".

Does FunnelGuard catch this?

Detected

FunnelGuard checks for this today.

How: email_content: empty greeting ("Hi ,").

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.