On this page
What this issue is
Personally identifiable information (PII) is any data that can point to a real person, such as a name, email or phone number. This issue happens when the HTML <title> of a page contains that data, for example <title>Thanks John</title> on a form confirmation page.
Most tracking tags read the page title automatically. GA4 sends it as the page_title (dt) parameter on every page_view and event. Other tools and tag templates can also pick it up. So the name leaves your site without anyone deciding to send it.
Why it costs you leads or sales
The direct cost is risk, not a broken form. Google's Analytics terms forbid sending data that identifies a person, and privacy laws such as GDPR treat a name tied to a visit as personal data. A violation can lead to data being deleted, to a complaint, or to a consent problem that forces you to switch tracking off.
There is a reporting cost too. Every visitor gets a different title, so your Pages report fills with one-off rows like "Thanks John" and "Thanks Maria". Conversion pages become hard to group, and reports and audiences built on page title stop working.
- Visitor submits formEnters first name
- Thank-you page loadsTitle becomes "Thanks John"
- Tag reads titlepage_title = Thanks John
- Sent to GA4 and othersName stored by vendor
The leak happens automatically once the title is personalised.
How to check if your site has it
Complete your own form
Use a test name such as "Testname" so it is easy to spot. Land on the thank-you or confirmation page.
Read the browser tab
If the tab text includes the name you typed, the title is personalised.
Inspect the network hit
Open DevTools, go to the Network tab and filter by
collect. Open the GA4 request and look fordt=in the query string.Check GA4 DebugView
In GA4 go to Admin, then DebugView, and open the page_view event. Look at the page_title parameter.
Check other pages
Account pages, order confirmations and booking confirmations often use greetings too. Repeat the test there.
How to fix it
The cleanest fix is to stop putting the name in the <title> at all. If the greeting must stay, move it into the page body (an <h1> or paragraph) and use a generic title. If you cannot change the title, override page_title in your tags.
Find where the title is built
Check your form plugin's confirmation settings and any shortcode or theme code that adds the name to the title (for example in a
pre_get_document_titlefilter or an SEO plugin title template).Use a generic title
Set the page title in the editor or SEO plugin to "Thank you". Put the personalised greeting in the page content instead.
Edit the template
In Online Store, Themes, Edit code, search
theme.liquidand the order status or thank-you templates for<title>output that includescustomer.first_name.Remove the name from the title
Use a static title such as "Thank you" and keep any greeting inside the page body. Note that checkout pages are limited on some plans, so check what you can edit.
Create a constant variable
Add a Constant variable named
Safe page titlewith the value "Thank you".Override page_title in the GA4 tag
In your GA4 Configuration or Google tag settings, add the field
page_titleand set it to{{Safe page title}}. Use a trigger or lookup table so it only applies to the thank-you page.Preview and publish
Use Preview mode, submit the form and confirm the hit now shows the generic title.
Check for custom code
Webflow's static page title cannot hold a visitor's name, so look in Page settings, Custom code for scripts that set
document.title.Remove or replace it
Delete the script, or change it to write a generic title.
Open the funnel step
In Sites, Funnels, open the thank-you step and its Settings, then check the Page title (SEO) field and custom code.
Use a generic title
Remove any contact merge field (such as a first-name custom value) from the title and use plain text.
Check page SEO settings
Open the thank-you page, then SEO basics, and make sure the title does not use dynamic personal data.
Check Velo or custom code
If you use Velo, search for code that sets
wixWindowordocument.titlefrom member data and remove it.
Set a static SEO title
In page settings, SEO, set the title to "Thank you".
Check code injection
In Settings, Developer tools, Code injection, remove scripts that rewrite the title with form values.
Find the title logic
Search your templates and JavaScript for
<title>anddocument.titleassignments that use user input, query strings or session data.Use a static title
Render a fixed title and show the name in the body only. See the snippet below.
<title>Thank you</title>
...
<h1 id="greeting">Thanks!</h1>
<script>
// Optional: personalise the visible text only, never document.title
var name = sessionStorage.getItem('firstName');
if (name) document.getElementById('greeting').textContent = 'Thanks ' + name + '!';
</script>gtag('config', 'G-XXXXXXXXXX', {
page_title: 'Thank you'
});Before
- Title: Thanks John
- page_title in GA4 differs for every visitor
- Names stored by analytics and ad tools
After
- Title: Thank you
- One clean row in the Pages report
- Greeting still shown in the page body
How to confirm it's fixed
- Submit the form with a recognisable test name and read the browser tab: no name.
- In DevTools Network, the GA4
collectrequest showsdt=Thank%20you(or your generic title). - GA4 DebugView shows the generic page_title on page_view and later events.
- Other tags (Meta, Google Ads, TikTok and so on) show no name in their request parameters.
- The visible greeting on the page still works if you want it.
- Repeat on order, booking and account confirmation pages.
How to prevent it happening again
Treat the <title> as public, shared data. Make it a rule that titles are written by editors or templates and never built from form input, URL parameters, cookies or CRM merge fields.
- Add "no personal data in titles, URLs or event parameters" to your launch checklist.
- Review new templates and form confirmations before publishing.
- Set a GTM page_title override on confirmation pages as a safety net.
- Re-test the thank-you page after theme, plugin or form builder updates.
- Run a scheduled test of the form journey so changes are caught quickly.
How FunnelGuard handles this
FunnelGuard detects this issue only partly. When its robot visitor runs your journey, it checks whether personal data appears in the parameters of the tracking hits it captures, which includes page_title values sent to platforms such as GA4.
What it does not do: it only sees the test data it enters, so it will not know about real visitors' names appearing in titles in cases the test journey never reaches. It also does not clean data already stored in your analytics, and it does not review every page of your site. A personalised title that only shows on pages outside the monitored journeys can slip past.
What the hit looks like
The tag reads the title and sends it without any check.
Questions people ask
Why is my page title showing up as "Thanks John" in Google Analytics?
GA4 automatically sends the page's HTML title as the page_title parameter. If your thank-you page builds its title from the visitor's name, that name is sent to Google with the hit. Change the title to a generic one or override page_title in your tag.
Is a name in the page title a GA4 PII violation?
Google's Analytics terms prohibit sending data that personally identifies someone, and a first name combined with other data can identify a person. A name in page_title is therefore a risk. Remove it and review stored data.
How do I remove personal data from page_title in GA4?
Stop putting the name in the page's title and show it in the page body instead. If that is not possible, set the page_title field in your GA4 tag or Google Tag Manager to a fixed value such as "Thank you" on the affected pages.
Can I keep a personalised greeting on my thank-you page?
Yes. Keep the greeting in visible content such as a heading or paragraph, and use a generic <title>. Tags read the title, not your body text, by default.
How do I check what page_title my tags are sending?
Open browser DevTools, go to Network, filter by collect and open the GA4 request to read the dt parameter. You can also use GA4 DebugView or GTM Preview mode to see the page_title value on each event.
Will fixing the title delete names already in GA4?
No. It only stops new names being sent. You need to review GA4's data deletion options and decide with your privacy lead whether past data must be removed.
Does FunnelGuard detect PII in page titles?
Partly. It checks whether personal data appears in the parameters of the tracking hits captured during its test journeys. It does not scan every page or clean stored data, so test other pages by hand.
Related issues
- TRK-355Email address in page URL query string sent to GA4Fix guide
- TRK-357Name or address in thank-you URL sent to pixelsFix guide
- TRK-358Form field values sent in GA4 click textFix guide
- TRK-360PII in dataLayer pushed to all vendorsFix guide
- TRK-356Phone number in event parametersFix guide
- TRK-361Hashed PII sent without consentFix guide