Advertising integration
Twitter / X Pixel on Shopify, made compliant
X (formerly Twitter) conversion tracking pixel — used for X Ads campaign attribution.
Why consent applies to Twitter / X Pixel
The X Pixel sets cross-site advertising identifiers used for retargeting and conversion attribution. GDPR consent required for EU/UK/EEA visitors; CCPA opt-out required for California.
Cookies / scripts Twitter / X Pixel sets
muc_adspersonalization_idguest_id_ads
Step-by-step compliance setup
- 1
Block the X pixel until marketing consent
Pixel loads via `<script src="https://static.ads-twitter.com/uwt.js">`. Block this script until the visitor accepts the marketing category.
- 2
Signal consent via the X Pixel API
Call `twq('config', 'consent', { consent_status: 'granted' | 'denied' })` after any `twq('config', …)` init call. X gates downstream event processing on this signal.
How Consentico handles Twitter / X Pixel
Consentico blocks the X pixel script and calls `twq('config', 'consent', …)` on the visitor's choice.
- Default-deny before any tag fires
- Three-layer script blocking (createElement + MutationObserver + content-type)
- Audit-ready consent log
Related concepts
Related integrations
- Meta Pixel (Facebook Pixel)Meta's advertising tracker — used for Facebook/Instagram remarketing and conversion attribution.
- Reddit PixelReddit's conversion pixel — used for Reddit Ads attribution and retargeting, growing usage on Shopify.
- TikTok PixelTikTok's conversion-tracking pixel for TikTok Ads — increasingly common for Shopify stores targeting Gen Z.
Block Twitter / X Pixel until consent — in five minutes.
Free for stores under 5,000 banner views per month. No code, no theme edits.