Ad platforms
Connect X (Twitter) Ads
Add the X destination with your pixel ID, the event ID of your purchase event, and the four keys of an X developer app with Ads API access. Purchases go to X from the server; spend syncs with the same kind of keys.
Before you start
- Admin or advertiser access to your X account.
- The owner or admin role in ROASaurus, and your store connected with tracking installed.
- A paid plan or the trial: the Free plan sends conversions to Meta, Google Ads, Google Analytics 4 and TikTok only.
Steps
Get your X details
In X Ads, open Events Manager for the pixel and event IDs, and the X developer portal for the app keys.
- Pixel ID: from Events Manager
- Purchase event ID: for example tw-o1abc-o1def; optional IDs for add to cart, checkout, page view and lead
- API key and API key secret: of a developer app with Ads API access
- Access token and access token secret: of a user with Ad Manager access to the ad account
Add X in ROASaurus
Open Connections › Tracking & destinations, find X under Ad platforms and click Add pixel. Fill in the fields, tick the events to send, and click Save.
You should see: X listed on the page with its events, and on the store's Connections page as Connected.
Send a test
Place a test order and check the delivery; X shows the conversion in Events Manager after a delay.
You should see: In Data quality › Deliveries, the event with status sent and the platform's answer.

Data quality › Deliveries in the Mac and iPhone apps (fictional demo store, example data). Bring in ad spend
Under Ad spend, click Connect an ad account, choose X (Twitter) and enter the app keys and tokens.
You should see: "Connected … Spend of the last 30 days is synced." The account then syncs every hour.
What you should see
Every paid order goes to X from the server, and its campaign spend counts in ROAS, CAC and profit per campaign. Data quality › Overview shows the share of orders X accepted and which match keys they carried.
Common problems
"Unauthorized" from X
Deliveries show "failed"
Next step
Send revenue, revenue without tax and shipping, profit or predicted lifetime value.
Choose the conversion valueStill stuck? Email us.