Who is this for? Marketers running paid acquisition on X Ads (formerly Twitter Ads) who want to feed conversion data back to the platform to improve campaign optimisation.
What You Need
- The Immutable Tracking Pixel or Web SDK installed on your marketing site, so X click IDs (
twclid) are captured. Without a click ID, X requires a hashed email address to match conversions to users (see Identifier Requirements). - The Unity SDK, Web SDK, or REST API sending events from your game
- At least one active Conversion Goal for the game
- An X Ads account with a pixel and at least one Single Event Tag created in X Ads Events Manager (see Event Mapping)
- Admin access to the game in Audience Hub
Connect X Ads
- In Audience Hub, navigate to Settings then Integrations then X Ads.
- In the Conversion Postbacks section, click Connect.
- An X authorization popup opens. Sign in to your X Ads account and grant the requested permissions.
- After authorizing, Hub asks for your X Pixel ID. X has no pixel discovery API, so paste the Pixel ID (the Universal Website Tag ID) from your X Ads Events Manager.
- Click Connect. Hub creates the postback configuration and the popup closes.
You can only have one X Ads postback configuration per game. If you need to switch accounts, disconnect the existing configuration first, then reconnect with the new account.
Event Mapping
X has no API to discover conversions, so you create a Single Event Tag (SET) for each conversion in your X Ads Events Manager, then map each active Conversion Goal to its SET tag ID in Hub:- On the X Ads integration page, scroll to the Event Tag Mapping section.
- For each active Goal, paste the SET tag ID (it looks like
tw-o5h34-o9p5x). - Click Save.
purchase conversions, Immutable forwards value and currency when both are present, so X can optimise for revenue (ROAS) rather than conversion count alone.
Identifier Requirements
X requires at least one of the following to match a conversion to a user:- Click ID (
twclid): captured by the Tracking Pixel from an X Ads campaign click - Hashed email: collected by your game via the Unity SDK, Web SDK, or REST API and forwarded by Immutable (SHA-256 hashed)
full consent, Immutable also forwards IP address and user agent to improve match quality. These are match-quality boosters only and cannot satisfy the minimum identifier requirement on their own.
Token Behavior
Unlike other networks, X access tokens do not expire. Once you connect, the authorization remains valid until you or the studio explicitly revoke it in your X account. There is no background token refresh and no periodic reconnect, so the connection keeps working indefinitely.Verify Delivery
Once a real attributed conversion arrives (a player who clicked your X Ads campaign and then matched an active Goal), it appears in the Delivery logs section on the X Ads integration page. You can also check X Ads Events Manager for activity on your pixel. For a description of log columns and status values, see Monitoring Postback Delivery.X can reject individual conversions while still returning an overall success response. When this happens, the affected event is recorded as Failed in the delivery log, typically because the SET tag ID is wrong or the identifiers didn’t match. These are not retried.
Reconnecting
If your X authorization is revoked, Hub shows a credential warning on the postback config. Open the config menu and click Reconnect to re-authorize without losing your existing configuration.FAQ
Postbacks aren't showing in the delivery log. What should I check?
Postbacks aren't showing in the delivery log. What should I check?
Check the following:
- Is the postback config enabled?
- Is there at least one active Conversion Goal matching the events you’re sending?
- Is the Tracking Pixel capturing X click IDs (
twclid) on your marketing site? - Have you created a Single Event Tag in X Ads Events Manager and mapped each Goal to its tag ID?
- Is your game sending the expected events? Without a click ID or hashed email, X postbacks cannot be sent.
Do I need to reconnect X Ads periodically?
Do I need to reconnect X Ads periodically?
No. X access tokens do not expire, so the connection stays valid until you revoke it. You only need to use Reconnect if you revoke access on the X side or Hub shows a credential warning.
Next Steps
Conversion Goals
Define which player actions count as a conversion and control what triggers postbacks
Tracking Pixel
Make sure X click IDs are being captured on your marketing site
Conversion Postbacks
Overview of all supported networks and event mapping
Attribution
How tracking data powers player attribution and Hub reports