On this page
What this issue is
Personalisation swaps parts of a page for each visitor. Common examples are "Hi Sam", "Plumbers in Leeds" or a local phone number. The value comes from a URL parameter, a cookie, a logged-in account, a CRM record or an IP geolocation lookup (a guess of where someone is from their IP address).
Why it costs you leads or sales
A wrong name feels like a data leak. A wrong city makes your offer look irrelevant, or suggests you do not serve the visitor's area. Either one lowers trust at the moment you ask for an email, a phone call or a card. The impact is usually modest, but a cached page showing a real person's name to strangers is also a privacy risk.
- Visitor A loads pagePage says "Hi Sam, Leeds"
- CDN caches the HTMLPersonal values saved in the shared copy
- Visitor B loads pageSees "Hi Sam"
- Trust dropsVisitor leaves without converting
One visitor's name is stored in a shared cache and shown to the next.
Common causes
| Cause | What you see | Where to look |
|---|---|---|
| Full-page caching of personalised HTML | Different visitors see the same name | CDN, host cache or caching plugin rules |
| IP geolocation is inaccurate | Wrong city, or the data centre or ISP city | Geo tool or plugin; VPN and mobile traffic |
| Stale cookie or local storage | Old name or city on a shared device | Browser storage, cookie lifetime |
| URL parameter copied or shared | Link with ?name=Sam shared with others | Email links, ad URLs, personalisation script |
| No fallback value | Blank, wrong or generic text | Template default for missing values |
| Mismatched CRM merge data | Wrong name in emailed links | Email tool merge tags and list data |
How to check if your site has it
Test with a clean browser
Open a private window with no cookies and load the page with no parameters. You should see the fallback text, not a name.
Test two different identities
Load the page with ?name=Alex in one browser and ?name=Sam in another, ideally at the same time. Each must show only its own value.
Check the cache headers
In browser DevTools, open the Network tab, click the page request and look at Cache-Control, Age and any x-cache header. A shared cache hit on a personalised page is a red flag.
Test locations
Use a mobile connection, a VPN and a work network. Note which city each shows and compare it with where you really are.
Test a returning visitor
Visit as one person, then clear nothing and visit as another on the same browser. See if the old value sticks.
How to fix it
The right fix depends on the cause. Start with caching, because it is the most serious, then improve fallbacks and location accuracy.
Exclude personalised pages from page cache
In your caching plugin or host cache settings, add the URL or query parameter to the never-cache list, or use the plugin's option to bypass cache for URLs with query strings.
Load personal values client-side
Keep the cached HTML generic and fill in the name or city with JavaScript after load, so the cache never holds personal data.
Set a fallback
If your personalisation plugin supports default values, set one such as "there" or leave the greeting out.
Avoid putting customer data in cached sections
In Liquid, show customer.first_name only inside logged-in contexts and use a fallback when it is blank.
Check your geo app
If a market or geolocation app shows city or country, review its settings and let visitors change the selection manually.
Validate the source variable
Check the variable that reads the name or city (URL, cookie or data layer). Add a default value and a Custom JavaScript check that rejects empty or odd values.
Limit cookie lifetime
If you store the value in a cookie, set a short expiry and overwrite it when a new URL value arrives.
Use a script for personal values
Webflow publishes static pages, so fill personal values from your script after load rather than baking them in.
Write a neutral default
Put generic text in the element in the Designer so visitors without a value see something sensible.
Check merge fields
In funnels, personalise from the contact record only for known contacts, and check the custom value or merge field holds the right data.
Review shared links
If links with contact data are forwarded, switch to generic landing pages for cold traffic.
Use member data only for logged-in members
If you use Velo code or dynamic pages, show names only after login and add a fallback for guests.
Review scripts in Code Injection
If a script writes a name or city, add a fallback and ensure it reads the current URL value, not an old stored one.
Send no-store for personal HTML
If the server renders names into HTML, send Cache-Control: private, no-store, or move personal values to a client-side call.
Escape and default values
Always escape user-provided values and fall back when the value is missing or invalid.
(function () {
var params = new URLSearchParams(window.location.search);
var raw = params.get('name') || '';
// Allow letters, spaces, hyphens and apostrophes, max 30 characters
var valid = /^[A-Za-z\u00C0-\u024F' -]{1,30}$/.test(raw);
var el = document.getElementById('greeting-name');
if (el) {
el.textContent = valid ? raw : 'there';
}
})();location /welcome {
add_header Cache-Control "private, no-store";
}Broken
- Cached page shows one visitor's name to others
- City guessed from a data-centre IP
- Blank or odd text when the value is missing
Fixed
- Personal values loaded per visitor, outside shared cache
- Location shown only when confident, and changeable
- Neutral fallback text when no value exists
How to confirm it's fixed
- A clean browser with no parameters shows the fallback text
- Two browsers with different names each show only their own
- The page response is not served from a shared cache for personalised content
- A returning visitor with a new URL value sees the new value
- Location looks right or falls back on mobile, VPN and office networks
- Page source for the generic version contains no personal data
How to prevent it happening again
- Add a personalisation test to your release checklist whenever you change caching, CDN or plugins
- Always define a fallback for every personalised value
- Validate and escape any value that comes from a URL
- Document which pages are personalised and exclude them from page caching
- Re-test after changing hosts, CDN rules or your personalisation tool
- Review your tool's location accuracy before using city in headlines
How FunnelGuard handles this
FunnelGuard does not check for wrong names or cities in personalised content yet. It is a possible future check, not a current feature.
What FunnelGuard does do nearby: a robot visitor runs your real journeys on a schedule, such as lead forms, checkouts and booking buttons. It checks each step, the tracking hits sent to ad and analytics platforms, and whether test leads reach your inbox and CRM. If a broken personalisation script stops a form or button working, that step failure can be caught and re-checked from a second region before one alert is sent. It will not tell you the greeting says the wrong name.
Questions people ask
Why is my website showing the wrong name to visitors?
The most common cause is a cached page that was generated for one visitor and then served to others. It can also be an old cookie on a shared device, or a URL parameter that was copied from someone else's link. Exclude personalised pages from shared caching and load names per visitor.
Why does my site show the wrong city for visitors?
Cities are usually guessed from the IP address, which can point to the mobile carrier's hub, a company network or a VPN exit in another place. The lookup database may also be out of date. Use a fallback such as your service area, and let visitors choose their location.
How do I stop my CDN caching personalised pages?
Send a Cache-Control: private or no-store header for personalised URLs, or add a bypass rule in your CDN or caching plugin for those paths or query strings. Better still, serve generic HTML and fill in personal values with JavaScript after load.
How do I test personalisation for different visitors?
Open separate private windows or browsers and load the page with different test values, such as ?name=Alex and ?name=Sam. Repeat on a mobile network and with a VPN for location. Each must show only its own value and a clean visit must show the fallback.
What should personalised text show when the name is missing?
Show a neutral fallback, such as "Hi there" or no greeting at all. Never leave a blank gap or a raw placeholder. Define the fallback for every personalised value in your template or script.
Is showing another visitor's name a privacy problem?
It can be. If a cached page exposes a real person's name or details to others, that may count as a data exposure under privacy rules such as GDPR. Fix the caching quickly and consider getting advice if real personal data was shown.
Does FunnelGuard check for wrong names or cities in personalised content?
No, not yet. It is a possible future check. FunnelGuard does run your real customer journeys on a schedule and checks forms, buttons, tracking and lead delivery, so it can show if a broken script stops a step from working.
Related issues
- CNV-346A/B variant B has a broken formFix guide
- CNV-347Flicker of original content before variantFix guide
- CNV-348Test tool script fails and hides page (anti-flicker snippet)Fix guide
- CNV-349Variant drops tracking tagsFix guide
- CNV-350Variant ends but traffic still splitFix guide
- CNV-352Dynamic text replacement shows raw tokensFix guide