Ads binding
Bind Facebook, TikTok, Bing or Google Ads accounts to a funnel so paid orders send server-side conversion postbacks, routed by click ID with retries.
Ads binding connects one or more ad platform accounts to a funnel so that when an order placed through that funnel is paid, autonnel sends an offline conversion event to the matched platform automatically.
Ads binding is only required if you want offline conversion postback — autonnel calling the ad platform’s server-side conversion API when an order is paid. If you only need online (client-side) tracking via the platform’s JS pixel, you don’t need to bind ad accounts here — install the pixel script in the domain’s Custom code (per domain) or the funnel’s Scripts tab (per-funnel).
Offline postback is more reliable than client-side pixels (ad blockers, iOS Safari ITP, etc.) but requires server-side API tokens. Online pixels are simpler to set up but lose attribution to blocking software. Most stores run both.
Which destinations a paid order reports to
A funnel with at least one bound account reports its purchases only to the pixels and datasets of its bound accounts. A funnel with no binding reports to every destination in your event mapping, which suits a single-brand store.
When one deployment runs several brands, bind each brand’s funnels to that brand’s ad accounts. Otherwise a sale on one brand’s domain is also reported to the other brand’s pixel, which corrupts both ad accounts’ optimization and reporting. Meta Conversions API events also carry event_source_url, the domain the checkout happened on.
One account per platform per funnel
Each funnel can be bound to at most one account per ad platform. For example, a funnel can have one Facebook account and one TikTok account bound simultaneously, but not two Facebook accounts. A single ad account can be bound to multiple funnels.
Token mode vs. OAuth mode
Token mode (available in core)
Facebook, TikTok, and Bing Ads support token mode. You paste the platform’s access token and pixel or UET tag ID directly into the ad account settings. No OAuth flow is required. Server-side postbacks use these credentials when sending conversion events.
To set up an ad account in token mode:
- Go to Ads in the sidebar and create an account for the platform.
- Enter your access token and pixel / UET tag ID.
- Open the funnel detail, go to the Ads tab, and bind the account.
OAuth mode
Google Ads does not support token mode due to API restrictions. To use Google Ads postbacks, connect a Google Ads account under Settings → Ads (built into the core, no plugin required), then the Google Ads platform becomes available for binding here.
Connecting an account under Settings → Ads also enables ad spend and click reporting for that platform, a separate capability from the postback binding on this page. See Ads overview for the full picture, including which platforms support reporting and the two ways to authorize.
Postback timing and retry
Postbacks fire when an order is marked paid. The postback runs server-side (offline) — no client-side pixel is involved.
If a postback fails, autonnel records the failure and a cron job retries it periodically until it succeeds. You can see postback status on the order detail page.
Copy an ad link
The funnel detail header and the funnel list both have a Copy ad link menu. Pick a platform and the funnel’s entry URL is copied with that platform’s tracking macros appended, ready to paste into the ad’s destination URL:
| Platform | Appended parameters |
|---|---|
| Meta | utm_source=facebook&utm_campaign={{campaign.id}}&campaign_id={{campaign.id}}&adset_id={{adset.id}}&ad_id={{ad.id}} |
| TikTok | utm_source=tiktok&utm_campaign=__CAMPAIGN_ID__&campaign_id=__CAMPAIGN_ID__&adset_id=__AID__&ad_id=__CID__ |
| Google Ads | utm_source=google&utm_campaign={campaignid}&campaign_id={campaignid}&adset_id={adgroupid}&ad_id={creative} |
The platform replaces each macro with the real id at click time. utm_source and utm_campaign fill the channel and campaign of the visitor’s session and show on the order’s UTM details; campaign_id, adset_id and ad_id travel through every funnel step like any other URL parameter. Parameters already on the entry URL are kept as they are. If the link is opened without going through the ad platform, the unreplaced macros are ignored for attribution. Plain link copies the URL without parameters.
The menu only appears once the funnel’s entry page is bound to a domain. If you send traffic through a tracker such as Voluum, put the tracker’s link in the ad instead and use the plain link as the tracker’s offer or lander URL.
Click ID routing
Autonnel attributes conversion events to the correct platform by inspecting the click ID stored with the order’s first page visit. The routing rules are:
| Click ID parameter | Platform |
|---|---|
fbclid | |
ttclid | TikTok |
gclid, wbraid, gbraid | Google Ads |
msclkid | Bing Ads |
Only events where the order’s click ID matches the bound platform are sent. If an order arrived without a matching click ID for a given platform, that platform receives no postback for the order.
Event mapping
Each ad platform account has an event mappings configuration that translates Autonnel’s events to platform event names:
| Autonnel event | Example platform mapping |
|---|---|
| PageView | ViewContent |
| CheckoutView | InitiateCheckout |
| InitiatePayment | AddPaymentInfo |
| Purchase | Purchase |
The Purchase mapping is required and not editable — it is always sent when an order is paid. Other event mappings can be configured or omitted per platform.
Caveats
- Client-side pixels are your responsibility. Autonnel’s ads binding handles server-side order conversion postbacks only. In-page tracking pixels (for page views, add to cart, etc.) are not injected automatically. Set those up in the domain’s Custom code or per-funnel scripts (see Funnel scripts).
- No postback for orders without a click ID. If the order has no matching click ID for the bound platform, no event is sent to that platform.
- Token credentials are sensitive. Treat access tokens like passwords. Rotate them if you suspect exposure.