X Ads is listed under Settings → Integrations → X Ads in Wexlyn. Campaigns, ad groups, promoted posts, daily spend; Conversion API with twclid and hashed email/phone.
What Wexlyn reads
- Campaigns, ad groups and promoted posts
- Daily spend
- Conversion API events with twclid and hashed email or phone
Before you start, in X Ads
- Sign in with the X login that manages the ads account (Wexlyn asks X for ads access on connect).
Connect in Wexlyn
- Open Settings → Integrations → X Ads.
- Press Connect with X Ads and approve the access it asks for. The token refreshes itself; nothing to copy.
In X Ads, after connecting
- Pick the ads accounts to track.
- X has no URL macros: paste the ad group id and promoted post id into each ad's website URL as shown below.
Tag your ads
So every click carries the campaign, ad set and ad ids, add this under Ad → Website URL, straight after the page address (X adds twclid itself) in X (Twitter):
?twt_id=YOUR_AD_GROUP_ID&h_ad_id=YOUR_PROMOTED_POST_ID
X has no URL macros: paste the ad group (line item) id and promoted post id from Ads Manager.
Put these two first, straight after the page address, and your own parameters (UTMs, anything custom) after them:
https://your-site.com/page?twt_id=YOUR_AD_GROUP_ID&h_ad_id=YOUR_PROMOTED_POST_ID&utm_source=x&utm_campaign=...
Wexlyn reads the two values wherever they sit in the address, but on X they have to come first to arrive at all: advertisers who added them as a suffix after their other parameters saw nothing recorded, and the same ads worked once the two were moved to the front. Keep everything before any # in the address.
The app shows the same template with a copy button under Tracking → URL parameters. See URL parameters for the full list.
What becomes what
- Clicks carry
twclid(added by X) and the ids you paste; conversions go back through the Conversion API.
Check it works
The X Ads page lists the accounts with spend; campaigns appear under Reporting → Performance.
If something is off
- No spend for a day: the hourly sync re-reads the last days each run; a gap closes on its own within the hour. A red banner on the integration page means the token could not be renewed: press Reconnect.
- Wrong account or currency: pick the ad accounts to track and their currency on the integration page; reports convert everything to your reporting currency under Settings → Data.
- Clicks not credited to ads: the URL parameters above are missing on some ads. Tracking → URL parameters shows which recent clicks arrived without ids.