X Pixel (Twitter Pixel)

September 24, 2025

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…