Collector test harness

These buttons fire mock GA4 hits at google-analytics.com/g/collect. The real request to Google will fail (expected) — what matters is that the collector captures a copy and POSTs it to ingest. Watch the Network tab for the ingest POST, then check Firestore.

Load order modes: ?siteId=…&preload=1 fires a page_view before injecting the collector (expect partialCapture:true on the health doc and an event with transport:"observer"); &consent=1 pushes a Consent Mode default before load (expect consentPending:true).

Log