José Castellanos

Third-party forms leak click IDs: measure the submit on the server, not on the thank-you page

Last updated 8 November 2026

Hosted forms like Typeform live on another domain. Click IDs have to survive a link, hidden fields and a redirect before a browser tag can use them. Four cases from late 2025 and 2026 and the server-side fix Google's own team endorsed.

A hosted form is a different website. When a visitor clicks your ad, lands on your page and then opens a Typeform, the gclid and fbclid from the ad have to be copied into the form, kept through the submit, and carried again to a thank-you page before any browser tag can report the conversion with them. We have seen those hops fail in production. The reliable fix is to stop measuring in the browser: the form already holds the click IDs in hidden fields, so send them with the answers from a webhook to your server or CRM, and from there to Google and Meta.

TL;DR

  • Cookies set on your landing page do not reach the form's domain. Click IDs travel only if you pass them in the link.
  • Thank-you page conversions depend on a redirect URL you rebuild by hand. One reordered form ending and the submit can land on the wrong exit.
  • Putting email and phone in that redirect URL breaks Google Ads policy. Google's own team told us so, and rejected the bridge-page workaround too.
  • The fix Google's team called "ideal and very stable", and the one we use: form webhook to a server or Zapier, then Enhanced Conversions and Meta Conversions API with the click ID and hashed PII.
  • Even a working setup misses some IDs. On one account, 18 of 19 offline events had a gclid.

Where do click IDs get lost?

Flow diagram: an ad click carries gclid and fbclid to your landing page; a link to the form on another domain must copy the IDs into hidden fields, usually through the URL hash; the form redirects to a thank-you page that must rebuild the parameters in the URL; only then does the browser tag fire. An ending change disrupted the redirect in this case; re-test after edits.

Scroll horizontally if needed. Open full-size chart

Four hops, four chances to drop the ID. The browser tag fires last and sees only what survived.
  1. Landing to form. Your landing page sets first-party cookies (_gcl_aw, _fbc). The form lives on another domain and cannot read them. The click ID must ride in the link.
  2. Into hidden fields. Typeform documents URL parameters, formerly Hidden Fields, that must be declared in the form. Our working pattern puts UTMs in the query string and click IDs in the hash: ?utm_source=...&utm_campaign=...#gclid=...&fbclid=...&ttclid=.... Add a new click ID (we added ttclid for TikTok in June 2026) and you have to add the hidden field on every form and a matching CRM property.
  3. Form to thank-you page. To fire a tag on your own domain, the form redirects to a thank-you page with the values rebuilt in the URL.
  4. Tag on the thank-you page. It works only if steps 1 to 3 all worked, on that submit.

What does that failure look like in practice?

Implementation: Q4 2025 to Q2 2026, a US building-tech B2B company with a Typeform demo form, HubSpot and Salesforce.

The form plan did not allow GTM inside the form. So the Google Ads conversion was tied to the thank-you page, and the redirect template carried everything:

/thank-you/?form_sent=true&email=&phone=&first_name=&last_name=
&building_size=&...&utm_source=&utm_campaign=&fbclid=&gclid=

Scroll code horizontally if needed.

Three things went wrong over four months:

  • The ending moved. In December 2025 someone added a question, and the form reset to a different ending. In this case the ending changed after a question edit. I have not verified a general rule that question edits reorder endings.
  • The rebuilt URL was still not enough. In March 2026 we rewrote the template to make sure every signal was in it (fbclid, gclid, UTMs, form_sent=true). A lead came through that same day, after the change, still missing them. At that point I stopped debugging redirects. We moved the conversion to the server, plugged in from the CRM through Zapier.
  • Low volume made it worse. Too few conversions meant a low budget, which meant fewer conversions. In April 2026 we expanded the server conversion event to include the company's own website forms (a calculator form and the contact-sales form), kept them labeled by form so reporting could still separate them, and backfilled the conversion mechanism onto deals once we found it was not reaching them.

The redirect template above also puts email and phone in the URL. That turned out to be the bigger problem.

Why can't you just pass the email in the URL for Enhanced Conversions?

Implementation: July to August 2026, a global BPO's recruiting site, in a support case with Google's tag implementation team.

We set up Enhanced Conversions only on the new Typeform flow. The form passed first name, last name, ZIP, city and IP as URL parameters, GTM lifted them into the dataLayer, and the conversion tag read them. Google's technical team came back with three points:

  1. IP is not needed. Enhanced Conversions does not use IP address for matching.
  2. Plain-text PII in a URL is not allowed. Google would not validate or keep active an implementation where email or phone travel in the URL.
  3. Use a User-Provided Data tag instead, triggered on the submit button.

Option 3 did not work in that hosted setup. Typeform's documented embed onSubmit callback supplies formId and responseId, not the answer payload. It can signal a successful submission on a page you control; it does not itself expose the answers to GTM. A standalone form on another domain cannot read the landing page's first-party storage. I have not verified every vendor-specific listener or custom integration.

I proposed a bridge page: land on a page that moves the URL values into the dataLayer, clean the URL, then fire the tag. Google rejected it. The PII is in the query string at load, and any Google tag on that page (Google Ads, GA4, Conversion Linker) reads the full page_location and sends it to Google. Google's PII-in-URLs guidance confirms that Google tags can transmit the current URL, including personal data. Cleaning it after a tag fires does not undo that transmission.

The options discussed in that support case (not a blanket policy approval):

OptionHow it worksOur take
A. Hash before redirectA support-case suggestion, not a general recommendationI have not verified that putting hashed PII in URLs meets current policy; keep personal data out of URLs
B. Embed plus postMessageEmbed the form in an iframe on your page and listen for its submit message in GTMWorks if you control the page and the embed
C. Webhook to serverForm webhook to your server or CRM, then the Google Ads API or GA4 Measurement ProtocolWhat we chose; they are separate destinations, not interchangeable Enhanced Conversions APIs
D. Standard conversionRemove all PII from the URL, measure the plain conversionLoses Enhanced Conversions

Scroll table horizontally if needed.

I chose C, through Zapier with Enhanced Conversions. Google's answer: the server option is "ideal and very stable" for Typeform measurement. My honest reaction at the time was that I wish we had started there. Note that Google's technical support does not implement server-side setups, so plan to build it yourself.

Flow diagram: the form submit, with answers and hidden click-ID fields, goes by webhook to Zapier or your own server, which writes the CRM record with click IDs and hashed PII and sends conversions to Google Ads with gclid and hashed email and phone, and to Meta Conversions API with fbc and hashed email and phone.

Scroll horizontally if needed. Open full-size chart

Typeform's webhook payload includes form_response.hidden and the answers. The server path skips the redirect; verify the IDs actually arrived before sending them.

Does sending from the server fix it automatically?

No. The server has its own way to fail: telling the platform the wrong page.

Implementation: May to October 2026, a Mexican digital bank. Credit forms on a branded Typeform subdomain, lead events to Meta through Zapier.

A campaign showed 3 conversions where we had 9 confirmed by Meta's trace IDs, all with fbclid. Meta's diagnosis: all 9 arrived, fbclid was present on 100% and validated on 0%. The Pixel was active on the form's landing and the domain was allow-listed. The server events, though, declared the bank's main domain as event_source_url, while the click had landed on the form's domain. Meta's support said that mismatch kept it from linking the click to the conversion.

Meta also asked for a test anyone running a hosted form should repeat: open the form URL with &fbclid=test123 in an incognito window and check that the parameter is still in the address bar after the form fully loads. If it disappears, the click ID never reaches the hidden field. Ours stayed.

We made event_source_url dynamic so it always matches the real landing page, and added IP and user agent. Meta's support team was explicit that past conversions would not be re-attributed.

In October 2026 the bank started replacing the Typeform with a native form on its own site. Our QA of the sandbox version, with a test lead carrying utm_campaign=qa-example and gclid=TESTGCLID123:

  • The cta_click event fires and the flow redirects to the thank-you page.
  • Hard filters and validations behave like the Typeform.
  • Gaps: no OTP step (mandatory in the Typeform), IP geolocation returned the wrong city, and the legal copy did not match the form copy.

Native forms remove the cross-domain hop. They also make you rebuild everything the hosted form did for you. List those features before you migrate.

How much should you expect to lose even when it works?

Implementation: February 2026, a US legal-services advertiser. Typeform leads flowing to a CDP and back to Google as offline events.

Before triggering the first batch, we audited 19 pending events (16 unique leads):

Horizontal bar chart. Of 19 offline events from Typeform leads: core lead data 100%, utm_source 100%, 5 events inferred from gclid, gclid 95% (18 of 19), IP address and user agent 53% (10 of 19).

Scroll horizontally if needed. Open full-size chart

The source notes suspected a Performance Max click for the missing gclid; that cause was not confirmed. IP and user agent were the weakest field.
FieldEvents with it (of 19)Share
Core lead data (name, email, phone, state, LTV score)19100%
utm_source19 (5 events from 4 leads inferred from gclid)100%
gclid1895%
IP address and user agent1053%

Scroll table horizontally if needed.

Two bugs surfaced in that audit, both typical of hosted forms:

  • Hidden fields switched off in production. The production form had its UTM hidden fields disabled. Four leads had a gclid but no utm_source. Since a gclid means Google Ads, we inferred the source. Google can still attribute those leads to the exact campaign through the gclid.
  • Captured but not mapped. The click IDs were in the raw form JSON, but the mapped columns were empty. We added a fallback that reads them straight from the JSON and recovered every historical lead.

Check the raw payload, not the mapped columns. The data is often there.

What should you set up?

  • Pass click IDs explicitly from landing to form: gclid, fbclid, ttclid, plus UTMs, each as a hidden field and a CRM property.
  • Keep PII out of every URL. If a hosted form must redirect, redirect with non-personal values only.
  • Send conversions from the server: form webhook or CRM workflow, then Google Enhanced Conversions and Meta CAPI with the click ID and SHA-256 hashed email and phone. For Meta, send fbc in the format fb.1.<timestamp>.<fbclid>, not the raw fbclid.
  • Set event_source_url to the page where the click landed, dynamically.
  • Audit the raw payload on the first 20 leads, field by field.
  • Re-test after every form edit. Endings, hidden fields and logic change silently.

FAQ

Is Typeform the problem?

No. Any form hosted on another domain has the same hops. Typeform is where we hit them because many of our clients use it.

Can I keep the thank-you page conversion as a backup?

Keep it as a diagnostic, without PII in the URL. Optimize on the server event and deduplicate if both reach the same platform.

Should I embed the form instead of linking to it?

Embedding keeps the visitor on your domain and lets GTM listen for the submit message. It helps the browser path. The server path is still the one I trust for bidding.

Do I need a server-side GTM container for this?

No. A webhook into Zapier or your CRM is enough for one or two forms. A container pays off when several sources feed several platforms.

If your form vendor is deciding which conversions your campaigns see, book a consultation.

Evidence limits

The support quotes and account metrics above are source-reported case notes, not independently verified client records or blanket platform guarantees. Official documentation confirms the URL-parameter, webhook and embed-callback mechanisms and the risk of PII in tagged URLs. It does not independently confirm the private support exchanges, exact account diagnoses or recovery totals.