On this page
What this issue is
Event parameters are the extra details attached to a tracking event, such as link_url, button_text or form_phone. This issue happens when one of those values contains a phone number, for example tel:+441234567890 in a click event or a typed number from a lead form.
A phone number is personally identifiable information (PII): data that can identify a person. Google Analytics, Google Ads and Meta all prohibit sending it in plain text through standard events.
It usually gets in by accident. Common causes are an automatic link-click variable that captures the tel: URL, a form tag that sends every field, or a dataLayer push that copies the whole form object.
Why it costs you leads or sales
The cost is indirect but real. Google can delete data or suspend features on a property that collects PII, and ad platforms can limit audiences or conversion optimisation tied to flagged data. You may also have a legal duty to tell people about this sharing and get consent, for example under GDPR in the EU and UK.
Clean tracking is what feeds your bidding. If data is removed or an account is restricted, campaigns optimise on less information while you keep paying for clicks.
- Visitor clicks call or submits formNumber is in the link or field
- Tag or dataLayer copies valuePhone added to event parameter
- Sent to GA4, Meta, AdsPlain text PII leaves your site
- Platform flags or deletes dataReports and optimisation suffer
The leak happens at the tag, before the data reaches any platform.
How to check if your site has it
Open browser developer tools
Press F12, open the Network tab and filter by
collect,g/collect,facebook.com/troranalytics.Trigger the action
Click your call link, or submit your form with a test number such as 555 0100.
Inspect the request payload
Look at the query string or payload for the number, for
tel:, or for a URL-encoded plus sign (%2B).Use GTM Preview or GA4 DebugViewGoogle Tag Manager
In Google Tag Manager Preview, open the event and check Variables and the tag's fields. In GA4 DebugView, expand the event and read its parameters.
Check the dataLayer
In the console, type
dataLayerand look for phone fields in pushed objects.
How to fix it
The principle is the same everywhere: stop sending the raw value and send a fixed label instead. You rarely need the number itself to measure a call click or a form lead.
Find the source variable
In Preview mode, find which variable holds the number, often Click URL, Click Text or a form field variable.
Replace with a fixed value
In the GA4 event tag, delete the parameter or set it to a constant such as
header_phone. Use a Custom JavaScript or lookup table variable if you have several numbers.Publish
Submit the container and retest in Preview.
Check your plugin settings
In analytics plugins such as Site Kit, MonsterInsights or a form tracking add-on, turn off options that send form field values or full link URLs.
Check theme and custom code
Search your theme and snippets plugin for
gtag(anddataLayer.pushthat include a phone field.
Review custom pixels and theme code
In Settings > Customer events, open custom pixels and remove any phone value mapped into events. Also search theme.liquid for dataLayer pushes using
customer.phoneorcheckout.phone.
Check custom code
Open Project settings > Custom code and each page's custom code. Remove scripts that send form field values to gtag or fbq.
Review tracking code and workflows
Check the funnel's tracking code under Settings and any custom scripts in the funnel step. Remove code that adds the contact's phone to events or URLs.
Check Marketing Integrations
Open Marketing Integrations or Tracking & Analytics and any custom code added to the site. Remove events that include form field values.
Check code injection
Open Settings > Developer Tools > Code Injection and remove scripts that pass phone values into events.
Replace the value in the event call
Change the code so the event sends a label, not the field. See the snippet below.
// Before: leaks the number
gtag('event', 'phone_click', { link_url: 'tel:+441234567890' });
// After: safe label
gtag('event', 'phone_click', { contact_method: 'phone', link_location: 'header' });How to confirm it's fixed
- Repeat the click or form test with the Network tab open and find no number in any tracking request
- GA4 DebugView shows the event with only label parameters
- GTM Preview shows no variable containing the phone in the event tags
- Meta Pixel Helper or Events Manager test events show no phone in custom data
- The conversion still counts in GA4 and your ad platforms
Leaking
- link_url contains tel:+44...
- Form event includes the typed phone
- Sent to every connected platform
Clean
- Event sends contact_method=phone
- Location label shows where it was clicked
- Conversion still counted
How to prevent it happening again
- Avoid auto-capturing all form fields or full link URLs; map only the fields you need
- Review every new tag in GTM Preview before publishing
- Use constant labels for events instead of page or form values
- Add a review step when plugins, themes or forms change
- Re-test key journeys after each site or tag update
How FunnelGuard handles this
FunnelGuard detects this issue today. Its check, named no_pii_in_tracking, looks at the tracking hits your journeys send to platforms such as GA4, Google Ads and Meta while a robot visitor runs your real customer journeys, and flags personal data such as a phone number in those hits.
Because it runs on a schedule, it can catch a leak introduced by a tag change or plugin update. A failure is re-checked from a second region, then one alert goes out with a screenshot and a likely cause. FunnelGuard reports the problem; you still make the change in your tag setup. Free plan: 1 site, 2 journeys, daily checks, no card. Paid plans have a 3-day free trial.
Questions people ask
Is it against Google Analytics policy to send phone numbers?
Yes. Google Analytics terms prohibit sending data that Google could use or recognise as personally identifiable, and phone numbers are included. Google can delete the data or restrict the property if it finds this.
Why is my click-to-call event sending the phone number?
Usually a link-click variable such as Click URL is mapped into the event, and a tel: link puts the number in it. Replace that parameter with a fixed label like 'header_phone'.
How do I track phone calls without sending the number?
Send an event with non-personal parameters such as contact_method and link_location. You still count every click and can see which button drove it, with no number in the data.
Can I hash the phone number and send it to GA4?
Not as a normal event parameter. Hashed values are only accepted in specific features, such as enhanced conversions, configured as the platform requires and with proper consent.
How do I find out which tag is sending the phone number?
Open GTM Preview, trigger the event, and check which tag fires and which variables hold the number. The browser Network tab will also show the request containing it.
Does my own business phone number count as PII in events?
A company number is not personal data about a visitor, but sending it adds nothing. A visitor's own number is PII. A fixed label is safer and cleaner either way.
Will removing the number affect my conversion tracking?
No. Conversions depend on the event firing, not on the phone value. Retest after the change to confirm the conversion still counts.
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-361Hashed PII sent without consentFix guide
- TRK-359PII in page_title ("Thanks John")Fix guide