Test click ID extraction from URL parameters, cookies, localStorage, and sessionStorage with real-world formats
gclid, fbclid are captured from the URL query string_gcl_aw, _ga, _fbp are parsed for click IDsgclid is in URL, _gcl_aw cookie is skipped)gc for gclid, _ga for Google Analytics)| Source | Name | Raw Value | Extracted Value | Wire Code |
|---|
Click a scenario to set up realistic click ID data from that platform. This simulates a user who clicked an ad and has the platform's cookies set.
Manually set individual cookies or storage values with realistic formats.
These are the click IDs captured by the SDK in the cids field of the pageview event.
Real-world formats used by advertising platforms for click ID cookies.
| Cookie | Platform | Format | Extraction Pattern | Wire Code |
|---|---|---|---|---|
| _gcl_aw | Google Ads | GCL.{timestamp}.{gclid} |
Last segment (gclid) | gc |
| _gcl_au | Google Ads | 1.1.{id} |
Full value | gclau |
| _ga | Google Analytics | GA1.2.{client_id}.{ts} |
Last 2 segments | _ga |
| _gid | Google Analytics | GA1.2.{session_id} |
Last segment | _gid |
| _fbp | Facebook Pixel | fb.1.{timestamp}.{id} |
Full value | _fbp |
| _fbc | Facebook Click | fb.1.{timestamp}.{fbclid} |
Full value | _fbc |
| _ttp | TikTok Pixel | Plain string | Full value | _ttp |
| _uetmsclkid | Microsoft UET | Plain string | Full value | _uetms |