How to use the GA4 Request Decoder
- Open your site with DevTools → Network and type
collectin the filter. - Click something that should send an event, then right-click the
/g/collectrequest → Copy → Copy URL. - Paste it here. If several events were batched, also paste the request payload below the URL.
- Read the shared fields (measurement ID, client ID, consent) and each event’s parameters.
What the fields mean
tidis the measurement ID,cidthe client ID from the_gacookie,sidthe session ID andsctthe session count.enis the event name.ep.*are text parameters,epn.*number parameters,up.*andupn.*user properties.pr1,pr2… are ecommerce items, with fields likeid,nm(name),pr(price) andqt(quantity) joined by~.gcsis the consent state:G111means ad and analytics storage are granted,G100both denied._dbg=1means the hit goes to DebugView._ssmarks a session start,_fva first visit,_etthe engagement time in milliseconds.
These parameters are not officially documented by Google and can change; the decoder labels the ones it knows and lists the rest as they are. Everything runs in your browser. To send your own events, use the GA4 Event Code Generator.
Also searched as: ga4 hit decoder, g/collect parameters, ga4 collect parameters explained, gcs parameter ga4, debug ga4 events, ga4 network request, ga4 debugger.
Tools that pair well with the GA4 Request Decoder
- Google Tag Snippet Generator — Enter your GA4 measurement ID, Google Ads ID or Tag Manager container ID and get install code that is ready to paste — with Consent Mode v2 defaults, cross-domain linking, debug mode, manual page views and cookie settings switched on only when you need them.
- URL Parser — Paste a URL to see every component and decoded query parameter — then edit, add or remove parameters and copy the rebuilt URL.
- Event Tracking Script Generator — Track button clicks, links and form submits by adding attributes instead of code: data-track="sign_up_click" plus optional data-track-* parameters.
- Cookie Consent Banner Generator — Add a cookie consent banner to any site — Webflow, WordPress, Shopify or plain HTML — without a paid plugin.