Everything about X (Twitter) Pixel

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.

Duration

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 integrations
Free scan, no account

Not 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

CookiePurposeDuration
personalization_idIdentifies the browser across sites for ad personalisation and measurement.13 months
muc_adsUsed for ad measurement and conversion attribution.13 months
guest_idIdentifies the browser to X for advertising and conversion measurement.13 months
guest_id_adsIdentifies the browser to X for advertising and conversion measurement.13 months
guest_id_marketingIdentifies the browser to X for advertising and conversion measurement.13 months
_twpidIdentifies the browser to the X pixel for conversion measurement.13 months
_twsidSession identifier used by the X pixel.13 months