conversion-tracking test page
GA4 · gtag.js

Test form

Trigger a tracked event.

A throwaway form for wiring up and verifying GA4 / Google Ads conversion tracking. Submit it and watch the event land in the readout.

dataLayer — live G-XXXXXXXXXX
AW-XXXXXXXXX (off)
hits 0 conversions 0 config auto-sends page_view

Wire it up

  1. Replace G-XXXXXXXXXX in the page head with your GA4 Measurement ID.
  2. In GA4, mark generate_lead as a key event (Admin → Events) so it counts as a conversion.
  3. Google Ads: uncomment the AW- config + the conversion event, then drop in your conversion ID / label.

Verify it fires

  1. Realtime — the event shows in GA4 within ~30s.
  2. DebugView — add ?debug_mode=1 or use the GA Debugger extension.
  3. Network tab — filter collect to watch the hit leave the browser.
  4. Tag Assistant — confirms the GA4 / Ads tags are present.