Chord CDP
...
CDP Destination Catalog
Twitter Ads
10 min
introduction the twitter ads pixel (also called the x pixel) is a small piece of javascript code that you embed on your website to help measure, optimize, and target your advertising on the twitter (x) platform getting started this is a device mode destination you will need the twitter ads pixel id to connect this destination you can locate the twitter ads pixel id from the snippet created on the https //business x com/en/help/campaign measurement and analytics/conversion tracking for websites connecting to the twitter ads cdp destination before connecting destinations in the chord cdp, please verify with all destination owners that all non chord cdp configured destinations are disabled running external destinations alongside configured chord cdp destinations can result in duplicate events downstream log into the chord data platform navigate to the cdp click the "add" button next to destinations select twitter ads from the destination catalog enter in the destination name and the pixel id click "create" to connect events page page events are not forwarded to twitter ads track only track events with an explicit entry in eventmapping are forwarded all unmapped events are silently skipped this gives full control over which chord events fire which twitter conversion events twitter sdk call twq("event", twittereventid, eventpayload) every mapped track event sends the same payload structure, built from user data, order data, and product contents user parameters true 162,162,164 left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type order parameters true 162,162,164 left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type product contents each product in properties products is mapped to a twitter content item true 162,162,164 left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type all undefined values are filtered out before sending identify events are not forwarded to twitter ads initialization the plugin sets up the twq function queue, then loads https //static ads twitter com/uwt js after the script loads, it calls twq("config", pixelid) to initialize the pixel the plugin manages sdk loading state ( fresh → loading → loaded / failed ) to prevent duplicate script loads if the script fails to load, subsequent events are silently dropped csp requirements if your site uses a content security policy, allow the following domains true 244,244 left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type