Appy

Measurement and attribution

What is a click ID (gclid, fbclid)?

Short answer

A click ID is a unique value that an ad platform adds to a link each time someone clicks an ad. Google Ads uses gclid and Meta uses fbclid. When a conversion happens later, the advertiser sends the same value back, and the platform knows exactly which click, ad and campaign earned it.

How it works

UTM parameters describe a campaign in words that you choose. A click ID is different: the platform generates it, it is unique to one click, and only the platform can read what is behind it.

Google describes gclid as a URL parameter passed with ad clicks, switched on by the auto-tagging setting in Google Ads. Meta appends fbclid to the URL when someone clicks an ad on Facebook or Instagram. Other ad networks use parameters of their own that work the same way.

Getting it back to the platform

The value only helps if it is still there at conversion time. On a website, the landing page reads it from the URL and stores it, usually in a first-party cookie, then sends it along with the purchase or sign-up. Meta notes that fbclid is case sensitive and must be passed on unmodified.

For server-to-server reporting, the click ID is the key field in a postback. The network receives it, finds the click and credits the right ad.

Treat the value as opaque. Do not lowercase it, trim it or decode it. Store it exactly as it arrived, next to the time you first saw it, and send it back unchanged.

Click IDs and apps

App installs break the chain, because the app store does not hand URL parameters to the app. On Android, a click ID can travel inside the Play Store link and come back through the install referrer. Appy uses that to attribute Google Ads installs from a gclid.

On iPhone, Google adds gbraid and wbraid parameters, which it describes as a way to measure iOS ads under Apple’s policies. Any redirect between the ad and the destination must keep the query string intact. That is what parameter forwarding is for.

A smart link sits in exactly that position, between the ad and the store or the website. Before a campaign goes live, click the ad link yourself and confirm that the click ID is still in the final URL.

ExampleLanding page URL with a Google click ID
https://example.com/pricing?gclid=EAIaIQobChMI_example

Try it here

Build a UTM link

Add source, medium and campaign to any link. The spelling is cleaned up, so your reports don’t split one campaign into two rows.

Build your tagged link

A landing page, an App Store or Google Play link, or an Appy smart link.

Start from a channel

Fills in source, medium and content. The campaign name stays yours.

Required

Where the link sits: the platform, list or object.

Required

The type of channel, from a short fixed list.

Required

The push this link belongs to. Same name on every channel.

Optional

Tells two links in the same campaign apart.

Optional

Mostly for paid keywords.

Your tagged link

Add a destination and your link appears here.

How it will look in your reports

Web analytics, such as GA4

Source / medium
(not set) / (not set)
Campaign
(not set)
Content
(not set)
Term
(not set)

App installs in Appy

Enterprise with the SDK

(not set) / (not set) / (not set)

Printing it?Turn a link into a QR code

Read moreUTM Parameters for App Campaigns: A Practical GuideWhat each UTM tag is for, and what really happens to your tags at the App Store and Google Play.

Frequently asked questions

What is the difference between a click ID and UTM parameters?

UTM parameters are readable labels that you write, and many clicks share the same values. A click ID is generated by the ad platform, is unique per click and only means something to that platform. Most ad links carry both.

What does gclid mean?

It stands for Google Click ID. Google Ads adds it to the landing page URL when auto-tagging is on, and uses it for website conversion tracking and for linking Google Ads data with Google Analytics.

Should I remove fbclid or gclid from my URLs?

Not before the page has read them. If a redirect or a link shortener drops the query string, the platform can no longer tie the conversion to the click, and the campaign reports fewer results than it earned.

  • UTM parameters

    UTM parameters are five tags you add to a link, utm_source, utm_medium, utm_campaign, utm_term and utm_content, so analytics tools know where a visit came from. Apps add a catch: the App Store drops them, and Google Play only keeps them inside its referrer parameter.

  • Parameter forwarding

    Parameter forwarding means carrying the query parameters on a smart link, such as UTM tags, coupon codes or referral IDs, through to wherever the link sends people: the app store, the website and the deep link. One link can then serve every campaign variant without a new link for each one.

  • Install referrer

    The install referrer is the referrer value from a Google Play link, which Google Play passes to your app after installation through the Play Install Referrer API. The app reads it once on first run, and it stays available for 90 days. It gives deterministic install attribution on Android; the App Store has no equivalent.

All glossary terms

One link for every phone

Create a free smart link and QR code that sends iPhones to the App Store, Android phones to Google Play and desktops to your website.