Why Use the X Pixel?
Adding the X Pixel (previously known as the Twitter Pixel) allows you to track visitor activity from X ads across your Uscreen site. This helps you:
Measure the effectiveness of your ad campaigns
Optimize ad performance based on conversion data
Understand how users interact with your site after clicking an ad
What Type of Pixel Should I Use?
There are two types of website tags available:
Type | Description |
Universal Website Tag | A single code snippet for tracking user activity across your storefront |
Single-Event Tag | Tracks one specific action, like a purchase |
ℹ️ INFO: We recommend the Universal Website Tag for most scenarios. It simplifies setup and tracks the entire customer journey.
Setting Up Your X Pixel Integration
Step 1: Set Up the X Pixel in Your X Ads Account
Log in to your X Ads account at ads.x.com
Go to Tools > Events Manager
Click Add event source and follow the prompts
On the Install pixel code screen, copy the base code snippet
Inside the code, locate the line that looks like:
twq('config','<YOUR_PIXEL_ID>');💡 TIP: Copy just the Pixel ID (Website Tag ID) inside the quotes.
Step 2: Add the Pixel ID to Uscreen
In your Uscreen Admin Dashboard, go to Settings > Integrations
Find the X Pixel integration and click to open it
Paste your Pixel ID (Website Tag ID) into the provided field
(Optional but recommended) Paste a Conversions API Access Token; see the next section for how to generate one and what it unlocks
Click Connect
🎉 Once saved, your Uscreen storefront will automatically send page view data to X.
Step 3: Enable the Conversions API (optional, recommended)
Uscreen also supports X's server-side Conversions API (CAPI) for one specific high-value event: a free trial converting to a paid subscription.
When a trial ends and the user is charged for the first time, the conversion happens server-side. The customer isn't on your site, so the browser pixel can't fire.
💡 TIP: Without CAPI, X never sees those paid conversions and can't optimize your trial-funnel campaigns.
To enable it:
In X Ads Manager, generate a Conversions API Access Token for your pixel
In Uscreen, go to Settings > Integrations > X Pixel
Paste the token into the Conversions API Access Token field and click Connect
Need Help?
For advanced pixel configurations like conversion events or audience tracking, refer to X’s Pixel Documentation.


