Skip to content
John Williams edited this page Mar 11, 2026 · 2 revisions

Ad Tracking Diagnostic — Wiki

Live tool: https://itallstartedwithaidea.github.io/ad-tracking-diagnostic

The Core Flow

Google Ad Click
  │  URL: landing-page.com/?gclid=XXXXX&utm_source=google&utm_medium=cpc
  ▼
GTM Script fires on ALL pages
  │  • Reads gclid from URL → stores in localStorage (90-day expiry)
  ▼
User navigates to form page
  │  • Script reads gclid from localStorage
  │  • Writes to hidden form field
  ▼
Form submitted → CRM Lead/Contact created with GCLID value
  ▼
Google Ads Data Manager / HubSpot integration imports GCLID
  │  • Matches GCLID to original ad click
  ▼
Offline conversion recorded → feeds Smart Bidding ✅

Documentation Index

Page Description
GTM Deployment Step-by-step setup for all platforms
Salesforce Setup Web-to-Lead, Marketo, Data Manager
HubSpot Setup Native integration + localStorage fallback
WordPress Setup Gravity Forms, CF7, WPForms, Elementor
Shopify Setup Theme, checkout URL forwarding, purchase conversions
Troubleshooting Common issues and fixes
Console Debugging DevTools techniques

Key Limits

Limit Detail
90-day cutoff Conversions older than 90 days after click permanently rejected
4–6 hour delay Wait after creating conversion action before first import
14-day lookback First-ever import only goes back 14 days
No auto-retry Failed imports must be manually triggered
1 object/connection Lead + Opportunity each need their own Data Manager connection
Production only Salesforce sandbox not supported

Clone this wiki locally