The _twclid cookie
_twclid is a cookie set by X (Twitter) Pixel, from X Corp. Stores the X ad click ID so a conversion can be attributed to the ad.
Set by
X (Twitter) PixelDuration
13 months
Category
Advertising
Needs consent
Yes
Does the _twclid cookie require consent?
_twclid is used for advertising, so under the GDPR and the ePrivacy rules it may only be set after the visitor has agreed. Showing a banner is not enough on its own: the cookie must not be set before the visitor clicks accept.
Does your site set _twclid before consent?
A free scan loads your site the way a new visitor sees it and lists every cookie that is set before anyone has said yes, _twclid included.
How to put _twclid behind consent
Remove the X (Twitter) Pixel snippet from your site and add your X (Twitter) Pixel ID under Integrations in Consentify instead. Consentify then loads X (Twitter) Pixel only after the visitor has accepted advertising, so _twclid is never set before consent.
View all integrationsNot sure what's running on your X (Twitter) Pixel site?
Scan it first and you'll know exactly which scripts need consent before you set up the banner. Takes about ten seconds.
- Results in about 10 seconds
- No account needed
- Shareable report link
Other cookies set by X (Twitter) Pixel
| Cookie | Purpose | Duration |
|---|---|---|
| personalization_id | Identifies the browser across sites for ad personalisation and measurement. | 13 months |
| muc_ads | Used for ad measurement and conversion attribution. | 13 months |
| guest_id | Identifies the browser to X for advertising and conversion measurement. | 13 months |
| guest_id_ads | Identifies the browser to X for advertising and conversion measurement. | 13 months |
| guest_id_marketing | Identifies the browser to X for advertising and conversion measurement. | 13 months |
| _twpid | Identifies the browser to the X pixel for conversion measurement. | 13 months |
| _twsid | Session identifier used by the X pixel. | 13 months |