# twclid — X (Twitter) Ads' click ID, explained

- Canonical: https://linkclean.app/trackers/twclid/
- Updated: 2026-07-22
- Author: Ken Tominaga (https://ken0nek.com)
- Get the app: https://apps.apple.com/us/app/linkclean/id6758604043

Parameter: `twclid` · Category: Ad-click identifiers · Vendor: X Ads (formerly Twitter Ads)

> twclid is **X / Twitter Ads' click identifier**, rolled out in 2021. The X equivalent of fbclid for Meta or gclid for Google Ads. Attaches to outbound clicks from sponsored tweets and Twitter Ads creatives.

## What twclid does

When you click a promoted tweet or any Twitter Ads creative, X appends `?twclid=<token>` to the destination URL. The token ties the click to the ad impression on X's side and lets X's Pixel-equivalent (Twitter Pixel / Universal Website Tag) report the conversion back on the destination.

twclid replaced an older system X used pre-2021 that depended on referrer headers. Like Meta and Google before it, X moved attribution from cross-site cookies into the URL itself as browsers tightened privacy plumbing.

## How it differs from `t=` and `s=` on tweet links

twclid is on **ad** outbound URLs. The `t=` / `s=` parameters covered in the X share-URL deep dive are on **organic** tweet share URLs — different system, different purpose. A single click rarely carries both, since you're either clicking an ad or sharing a tweet, not both at once.

LinkClean strips twclid globally and strips `t=` / `s=` host-scoped to x.com and twitter.com (since `t=` is the timestamp on YouTube).

## How LinkClean removes it

Default-on in the ads catalog. Same pipeline as fbclid + gclid + msclkid + ttclid + yclid.

## Example

Looks like this in a URL: `https://example.com/product?twclid=2-1abcde1234567890fghijklmnop`

After LinkClean: `https://example.com/product`

## Frequently asked

**Is twclid the same as the t= on a shared tweet URL?**

No. twclid is X Ads' click identifier — only on outbound ad clicks. t= and s= on tweet share URLs are organic-share trackers. Different systems, different jobs.

**Did X have a click ID before twclid?**

Not in URL form. Pre-2021 X relied on referrer headers and cookies. Browser-privacy changes made that unreliable; twclid moved attribution into the URL itself, the same pattern Meta and Google followed earlier.

**Does LinkClean strip twclid on every site?**

Yes — global, default-on. (twclid is unambiguous; no legitimate use of this name on the web besides X Ads.)


---

LinkClean removes tracking parameters from links on-device — free to clean, one-time Pro. https://linkclean.app/ · Cite freely with attribution.
