
In shortOnce the gclid is saved, you can add it to links that leave your site. This tutorial decorates outbound URLs with the click ID, which is useful for affiliate sites sending traffic to stores and for passing the gclid into a CRM or analytics tool.
Resources
Recorded in August 2024. Some screens may look different today.
Related videos
3:06Capture the Google Ads gclid in a first-party session cookie
Save the gclid on the first page so you can use it later.
August 2024
12:31Store UTM parameters in first-party cookies with Google Tag Manager
Keep UTMs after the first page, for your CRM and GA4.
February 2024
6:06Store URL parameters in cookies or Local Storage with a GTM template
A free GTM template that saves any URL parameter in minutes.
September 2025