Send Google Ad ID (gclid) to Google Analytics 4 (GA4) using Measurement API
I want to use the sign_up event as a conversion goal in Google Ads. I'm using Firebase for auth and for sending client-side events to GA4, but it doesn't look like sign_up is sent by Firebase.
I have GA4 configured as a destination in Segment and plan to send the sign_up event server-side to Segment. Segment sends events to GA4 using the Google Measurement API. I need to include the Google Ad ID in the sign_up event so that it is recorded properly as a Google Ads conversion. However, I cannot find anywhere in Google's documentation how to set this parameter. Does anyone know how to set Google Ad ID (gclid) when sending an event using Google Measurement API?