X Pixel (Twitter Pixel)

Track conversions and build audiences for advertising campaigns on X (formerly Twitter).

X Pixel (formerly Twitter Pixel) is X's conversion tracking and audience building tool. It helps you measure ad performance, retarget website visitors, and optimize campaigns on the X platform. By default, c15t loads this script based on marketing consent.

Implementation

Info

See the integration overview for how to pass scripts to your framework (JavaScript, React, or Next.js).

xPixelEvent

You can use the xPixelEvent function to track events. This is a wrapper around the twq function that the X Pixel script uses.

Types

XPixelOptions

Loading…

Script

Loading…

XPixelEvent

Loading…

XPixelContent

Loading…

Last modified on September 24, 2025