Learn business growth with Google Analytics 4 › Forums › Google Analytics 4 › Maximizing Conversion Tracking: Incorporating gclid with gtag and GA4 for Google Ads › Reply To: Maximizing Conversion Tracking: Incorporating gclid with gtag and GA4 for Google Ads
-
Yes, you are correct that you need to include the
gclidparameter in your data object so Google Ads can track conversions. This parameter should be stored when the user lands on your website from a Google Ads click and then included in the event data that you send to Google Analytics 4. You could addgclidas a new property in your events object. Ensure to store and retrieve thegclidparameter correctly. When the user visits your website from a Google Ads click, thegclidwill be in the URL. You have to capture it and store it locally (for example in a cookie or local storage), and whenever a conversion is made, retrieve thegclidand include it in your event tracking data. Additional reference material can be found in the Google Ads cookie matching guide. It could help provide more context on how to perform these actions.