GCLID stands for Google Click Identifier. It is a unique code that Google Ads adds to your landing page URL when someone clicks your ad. It looks like ?gclid= followed by a long string of letters and numbers. It lets Google link a click to a later action, such as an order.
How GCLID works in Google Ads for ecommerce
The GCLID is added when auto-tagging is on. For most accounts, it should be on. It works on every click, including Shopping ads, Performance Max and Search.
When the shopper lands on your shop, your Google tag reads the GCLID and stores it in a first-party cookie. If they buy later, the tag sends the order back to Google with that code. Google then knows which click led to the sale. This is the core of conversion tracking for website orders.
The GCLID also matters in two other places:
- Google Analytics: with auto-tagging on and your accounts linked, GA4 can show Google Ads data like campaign and cost. See GA4 integration.
- Offline orders: if a sale happens by phone, in a store or after a quote, you can store the GCLID and upload the sale later. See offline conversion imports.
For some traffic, such as certain iOS clicks with privacy limits, Google uses other parameters like WBRAID or GBRAID instead. You do not need to set these up yourself.
Common mistakes
- Turning auto-tagging off, or never switching it on after a migration.
- Redirects that drop the URL parameters. The GCLID is lost and the click cannot be matched to the order.
- Checking only the final URL in your ad and not the page the shopper actually lands on.
- Planning offline imports without saving the GCLID. If you did not capture it, you cannot upload that sale by GCLID.
- Copying a GCLID into a link or email by hand. It belongs to one click and should not be reused.
What I would do
- Check that auto-tagging is on at account level. It takes a minute.
- Click one of your own ads in a test and see if the GCLID appears in the URL of the landing page. Then check it survives any redirect.
- If you take orders outside the webshop, save the GCLID in a hidden form field or in your order system, next to the order.
- If you cannot save it, look at enhanced conversions as a way to match sales using customer data you already hold.
- Do not remove the parameter from your URLs in your shop theme or tracking apps.
FAQ
Is the GCLID the same as a UTM parameter?
No. UTM tags are labels you write yourself. The GCLID is a code Google creates for each click. It carries more detail than a UTM tag, and Google Ads and GA4 use it to match data.
Do I need the GCLID if I only sell online?
Yes, auto-tagging should still be on. Your tag uses the GCLID to match orders to ads. You only need to save it yourself when a sale is finished outside your webshop.