Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Unrendered merge tags on page ({{first_name}}): how to fix

PRF-259High impactPartlyBy FunnelGuardPublished Updated
On this page

What this issue is

A merge tag (also called a token, variable or personalization field) is a placeholder that a platform replaces with real data when a page or email is built. Examples: {{first_name}}, {{contact.first_name}}, %%name%%, *|FNAME|*, [FirstName].

Why it costs you leads or sales

Where a broken merge tag hurts the funnel
  1. Ad clickVisitor arrives on the page
  2. Landing pageHeadline shows {{first_name}}
  3. Lead formVisitor hesitates or leaves
  4. Confirmation emailNever requested

The tag fails on the landing page, so trust is lost before the form.

Form conversion with and without the broken tagExample numbers
Form conversion with and without the broken tag (example)Raw tag visible: 2.1 %; Tag fixed: 3.4 %0132.13.4Raw tag visibleTag fixed%

Example: illustrative numbers only. A page showing raw tags can convert worse than the same page with a clean headline.

How to check if your site has it

Manual check
  1. Open the live page in a private window

    Use the real ad URL, then try it without any personalization parameters or cookies.

  2. Search the visible text

    Press Ctrl+F (Cmd+F on Mac) and search for {{, }}, %%, *| and [.

  3. Search the page source

    Open View Source (Ctrl+U) and search the same strings. Tags inside page titles, alt text, button labels and meta descriptions are easy to miss.

  4. Submit a test lead

    Fill in your own form and read the thank-you page and the confirmation email for raw tags.

  5. Test on mobile and in the popups

    Open popups, sticky bars and chat greetings, which are often separate templates.

How to fix it

Fix by platform
  1. Find the source of the tag

    Search the page content, theme files and plugin settings (forms, popups, email plugins) for the tag. Use Tools or a plugin's search-and-replace carefully, with a backup.

  2. Use the syntax of the plugin that renders it

    Each plugin has its own tags. Copy the exact tag from that plugin's merge tag list instead of typing it.

  3. Clear caches

    Page caching can serve a version built without visitor data. Exclude personalized pages from caching or purge the cache after the fix.

Greeting with a safe fallbackhtml
<h1>Welcome<span id="fg-name"></span>, your quote is ready</h1>
<script>
  var n = new URLSearchParams(location.search).get('name');
  if (n && /^[A-Za-z\u00C0-\u024F' -]{1,40}$/.test(n)) {
    document.getElementById('fg-name').textContent = ', ' + n;
  }
</script>
Headline before and after

Before

  • Hi {{first_name}}, claim your offer
  • Tag syntax from another tool
  • No fallback text

After

  • Hi there, claim your offer
  • Name added only when data exists
  • Readable default in the HTML

How to confirm it's fixed

Confirmation checklist
  • Live page in a private window shows no {{, %% or *| text
  • Page source contains no leftover tags, including title and meta tags
  • Page works with and without personalization parameters
  • Test form submission gives a clean thank-you page
  • Confirmation email arrives with real values or the fallback
  • Cache purged and page rechecked on mobile

How to prevent it happening again

Prevention habits
  • Insert tags from the platform's own dropdown instead of typing them
  • Never copy email templates into web pages without checking tags
  • Set a fallback value on every tag
  • Test with a contact that has empty fields
  • Re-test personalized pages after renaming fields, changing themes or updating plugins
  • Check live pages after every campaign launch

How FunnelGuard handles this

Quick reference: common tag formats

Common merge tag styles and what to search for
StyleExampleSearch for
Double curly braces{{first_name}}{{
Double percent%%name%%%%
Asterisk pipe*|FNAME|**|
Square brackets[FirstName][

Questions people ask

Why is {{first_name}} showing on my page instead of the name?

The platform that should replace the tag did not run, had no data for the visitor, or the tag uses another tool's syntax. Web pages usually have no contact data for anonymous visitors. Replace the tag with static text or add a fallback.

How do I fix merge tags not working in my email?

Insert the tag from your email tool's own merge tag menu, confirm the contact field is filled, and send a test to a real contact. Add a default value so empty fields do not leave raw text.

How do I find unrendered merge tags across my website?

Open each key page and search the visible text and page source for {{, %%, *| and [. Also check popups, thank-you pages, page titles and confirmation emails, since they are easy to miss.

Why does the tag show only for some visitors?

Personalization often depends on URL parameters, cookies or a logged-in contact. Visitors without that data get the raw tag. Test the page with no parameters and with empty fields.

What does %%name%% mean on a web page?

It is a merge tag from a system that should have swapped it for a real name, often an email or ad platform template. Seeing it means the page was not processed by that system. Replace it or move the personalization to a supported place.

Can FunnelGuard detect unrendered merge tags?

Partly. It detects them in emails from test leads, and on pages through a text_absent check you set for specific text. It does not scan your whole site on its own, so check other pages by hand.

Do merge tags hurt SEO?

They can if raw tags appear in titles, meta descriptions or headings that search engines index. That looks low quality in results. Remove them from those fields and use plain text.

Does FunnelGuard catch this?

Partly

FunnelGuard checks part of this.

How: in emails detected; page via text_absent.

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.