Skip to content

Server-side conversions

Server-side conversions (also called outbound conversions) report your conversions back to the ad platform that brought the click, directly from amabledata’s servers instead of the visitor’s browser. The platform can then optimize delivery and credit the right campaigns even when browser tracking is blocked.

You set them up in three places:

  • the ad account row says where Meta and TikTok conversions land: the dataset (pixel) ID or pixel code, and an optional test event code (Conversions button, see Set the dataset or pixel of an ad account);
  • the traffic source decides which conversions go where: the ad account and the event mapping (Analytics › Traffic sources, tab Conversions of the source editor);
  • the Conversions sent log shows every queued conversion and lets you resend failures (Analytics settings › Ad accounts, /t/<workspace>/analytics/settings?tab=ads).

The same queue, gates, retries and log also carry the calls to a traffic source’s own Postback URL (see Postback URL jobs).

A conversion is queued for an ad platform when all of the following are true:

  1. It was recorded by a conversion postback to the edge worker (GET /pb for sales and leads, GET /pb/event for numbered custom events). See Tracking links and Tracking endpoints.
  2. Its status is approved. Pending conversions (status=pending, hold, preapproved) are not forwarded; when a later postback approves the same conversion, that one is forwarded. Rejections are never forwarded.
  3. The postback did not carry disable_postbacks=1 (or true).
  4. The touch that converted belongs to a traffic source whose Send conversions back option is Ad platform API, with an Ad connection selected.
  5. The conversion’s event has a row in the source’s Event mapping. Unmapped events are not sent.

Each conversion becomes one job for the connection of its traffic source.

When the traffic source is in Postback URL mode instead, conditions 1 to 3 above apply, there is no event mapping, and every approved conversion of the source becomes one job of platform Postback URL in the same queue:

  • the job holds the source’s address with its tokens ({external}, {campaign}, {payout}, {txid}, {hit}, {data-<name>}) already filled in; the token values are listed in Traffic sources › Postback URL calls;
  • the event shown in the log is the amabledata event (sale, lead, event:<n>), the value is the revenue with the Revenue modifier applied;
  • the same gates apply (consent, approval, privacy deletion, zero revenue, throttle) and the same deduplication, with the traffic source in place of the connection in the event id;
  • it is sent right away as an HTTP GET that follows redirects, with a 10-second timeout. A 2xx answer means Sent; a timeout, a network error or HTTP 408, 429 or 5xx is retried like a temporary platform error; any other answer fails the job with http_<status>. An address that does not start with http:// or https:// fails with invalid_postback_url.
Conversion event in amabledata Job kind What you type as Platform event
Sale (sale) purchase Meta: e.g. Purchase. TikTok: e.g. CompletePayment. Google Ads: the conversion action id or customers/<id>/conversionActions/<id>.
Lead (lead) lead Meta: e.g. Lead, CompleteRegistration. TikTok: e.g. SubmitForm. Google Ads: conversion action.
Custom event 1 … Custom event 10 (event:1 … event:10) custom Any event name the platform accepts, or a Google Ads conversion action.

The placeholders shown in the Platform event input are Purchase, Lead, CompleteRegistration for Meta, customers/123/conversionActions/456 for Google Ads and CompletePayment, SubmitForm for TikTok. Platform event names are free text up to 200 characters; a source can map up to 30 events.

Field Value
Event name The mapped platform event.
Event time The conversion time (conversion_time of the postback, else the time the postback arrived).
Value The conversion revenue, with the traffic source’s Revenue modifier applied. Sent when the revenue is above zero, and always for sales.
Currency The conversion currency, else the site currency.
Order id The transaction id (tx) of the postback, else the internal conversion id.
Click ids The platform click ids of the person (see below).
External id The visitor id of the converting visitor.
Email, phone, IP, user agent Only when the postback passes them (pii_email or email, pii_phone or phone, pii_ip, pii_ua or pii_user_agent).

Click ids are collected for the job’s platform only:

Platform Click id keys Where they come from
Meta fbclid, fbc, fbp Click ids the tracker captured on the visitor’s sessions, then the external click id of the visitor’s funnel touches from a source of the same platform.
Google Ads gclid, gbraid, wbraid Same.
TikTok ttclid, ttp Same.

Values longer than 512 characters are ignored.

Personal data is normalized and hashed with SHA-256 by the platform client just before sending. Plain email and phone numbers are never sent.

Platform Keys sent
Meta (Conversions API) Hashed email (trimmed, lower-cased); hashed phone (digits in international format, without +); hashed external id; fbc (or one built from fbclid as fb.1.<event time>.<fbclid>); fbp; client IP address and user agent as received. Also event_id, action_source=website, value, currency and order id.
Google Ads (click conversions upload) The first of gclid, gbraid, wbraid; hashed email (Gmail addresses are canonicalized: dots and +alias removed); hashed phone in +<digits> form; conversion value and currency; order id; ad user data consent marked as granted.
TikTok (Events API) ttclid, ttp; hashed email; hashed phone in +<digits> form; hashed external id; IP and user agent; event_id, value, currency and order id.

Phone numbers are normalized to international format: a leading + or 00 marks an international number; otherwise the number is assumed to already contain its country code. Numbers shorter than 8 or longer than 15 digits are dropped.

Each platform refuses a conversion that has nothing to match on. The job then fails with no_match_keys: Meta and TikTok need at least one user key; Google Ads needs a click id or a hashed email or phone.

Every job has an event id: a SHA-256 hash of the connection, the transaction id (or the conversion id when there is none) and the event kind (custom events add their number). It is unique per site:

  • the same sale reported twice (a postback retry, a second notification) maps to the same job and is not queued again, whatever the status of the first job;
  • the same conversion can still go to several connections, since the connection is part of the id.

The event id is sent as the platform event id to Meta and TikTok, which use it to deduplicate against events with the same id. Google Ads receives the order id.

Destination and test mode (Meta and TikTok)

Section titled “Destination and test mode (Meta and TikTok)”

Meta jobs go to the dataset (pixel) ID and TikTok jobs to the pixel code set on the ad account row (Google Ads jobs go to the connected account and the mapped conversion action, and need nothing else). A job sent while the row has no dataset or pixel fails with meta: missing dataset/pixel id or tiktok: missing pixel code.

While a test event code is set on the row, every job of that account is sent with it: the platform shows the events in its test tool (Events Manager › Test events) instead of counting them in the real data. Clear the code when you are done testing. The settings are read when each job is sent, so a change applies to the jobs still pending and to resent ones.

Some conversions are recorded as Skipped jobs instead of being sent. A skipped job keeps no personal data and its reason is shown in red under the event name:

Reason When
no_consent The postback carried consent=0. Postbacks without the parameter count as consented: the sender is responsible for collecting consent.
not_approved The conversion is not approved.
blacklisted The email or phone belongs to a visitor deleted for privacy reasons.
zero_revenue The revenue is 0 and the traffic source has Skip zero-revenue conversions on.
throttled The traffic source’s Postback throttle (percentage of conversions not sent) drew this one.

Because the skipped job keeps the event id, a later report of the same conversion does not re-roll the throttle.

Jobs are sent by the site’s analytics storage on a timer that wakes up at the next due job, in batches of up to 50. Google Ads jobs wait 6 hours after the conversion time before the first attempt, so the click has time to be processed by Google. Meta and TikTok jobs are sent right away.

Outcome of an attempt Effect
Accepted by the platform Sent.
Temporary error (timeout, HTTP 408/425/429/5xx), or credentials temporarily unavailable Back to Pending, retried after 1 minute, 5 minutes, 30 minutes, 2 hours, then 12 hours (about 14 h 36 min after the first attempt). The sixth failed attempt marks the job Failed.
Permanent error (rejected payload, missing configuration) Failed immediately.
Authorization error Failed, and the connection becomes Reconnect needed.
Connection in Reconnect needed when the job is due Retried with the same backoff; fails after 6 attempts with connection_auth_expired.
Connection disconnected or deleted Failed with connection_disconnected or connection_not_found.

While a job is being sent it is leased for 10 minutes, so an interrupted send is retried later and never sent twice at the same time.

Email, phone, IP and user agent stay in the job only while it is Pending. As soon as it is Sent, Failed or Skipped, they are removed from storage. The API and the log never show them, even for pending jobs.

Status Meaning
Pending Waiting for its first attempt or for a retry.
Sent Accepted by the platform.
Failed Gave up (permanent error or 6 attempts). Can be resent.
Skipped Not sent because of a gate (reason shown). Cannot be resent.

Needed once per Meta or TikTok account before its conversions can be sent.

  1. Open Analytics settings › Ad accounts and pick the site.
  2. On the Meta or TikTok account row, click Conversions (shown only to users who can configure, and not on disconnected rows).
  3. The dialog Server-side conversions opens. Its hint says, for Meta: Conversions are sent through the Conversions API to this dataset. Find its ID in Events Manager → Data sources (the pixel ID works too).; for TikTok: Conversions are sent through the Events API to this pixel. Find its code in Events Manager → Web events.
  4. Type the Dataset (pixel) ID (Meta) or the Pixel code (TikTok): 4 to 64 letters, digits, _ or -. Leave it empty to clear it.
  5. Optionally type a Test event code (optional) (1 to 64 letters, digits, _ or -), copied from the platform’s test tool. The hint reads: While set, conversions land in the platform test tool instead of the real data. Clear it when you are done testing.
  6. Click Save (disabled while a field has an invalid value, which is outlined in red). The toast Conversion settings saved confirms it and the row shows the id, with · test mode while a test code is set. Cancel closes the dialog without changes.
  7. If jobs already failed with meta: missing dataset/pixel id or tiktok: missing pixel code, resend them (see below).

Send a traffic source’s conversions to an ad account

Section titled “Send a traffic source’s conversions to an ad account”
  1. Connect the ad account first (Ad accounts) and, for Meta and TikTok, set its dataset or pixel (above).
  2. Open Analytics › Traffic sources and edit the source (or click New source).
  3. Open the Conversions tab. Under Send conversions back, choose Ad platform API.
  4. In Ad connection, pick the account (shown as <platform> · <account name>). Without any connection the field says No ad account connected. with a Connect one link to the Ad accounts tab.
  5. Under Event mapping, click Add event for each conversion to send. Choose the Event (Sale, Lead, Custom event 1 to 10) and type the Platform event. Use the trash icon (Remove event) to remove a row.
  6. Optionally, in the Advanced tab, set Revenue modifier, Skip zero-revenue conversions and Postback throttle.
  7. Save the source. From now on, approved postbacks of touches from this source are queued.

Saving with Ad platform API selected and no connection shows a required-field error on Ad connection.

Add the visitor’s data to the conversion postback, URL-encoded, for example &pii_email=jane%40example.com&pii_phone=%2B393331234567. Add consent=0 when the visitor refused ad tracking. The data is used only for the outbound job and is never stored with the conversion.

  1. Open Analytics settings › Ad accounts and scroll to Conversions sent.
  2. Use the Status and Platform filters. The pills above the table show the number of jobs per status for the current platform filter.
  3. Hover the red error under an event name to read the full error.
  4. Fix the cause (for example reconnect the account, or correct the event mapping).
  5. Click Resend on a failed row, or tick several failed rows (or the header checkbox Select all failed) and click Resend selected (<n>). To resend every failed job, click Resend all failed; when a platform filter is set, only that platform’s failed jobs are resent.
  6. The toast <n> conversions queued again confirms how many jobs went back to Pending.

Resending resets the attempt counter to zero and makes the job due immediately. Only Failed jobs can be resent: other statuses are left alone.

Element Description
Hint Server-side conversions queued for the ad platforms. Failed jobs can be sent again.
Status filter All statuses, Pending, Sent, Failed, Skipped.
Platform filter All platforms, Meta, Google Ads, TikTok, Postback URL.
Status pills Count per status, e.g. Failed · 3.
Truncation pill Showing the newest <n>: narrow the filters to see the others. when more than 200 jobs match.
Resend selected (<n>) Resends the ticked failed jobs. Disabled when none is ticked.
Resend all failed Resends every failed job (of the filtered platform). Disabled when there is none.
Empty state No conversions in the queue.
Column Content
Checkbox Only on failed rows, for users who can configure.
Queued When the job was created (relative time).
Platform Meta, Google Ads, TikTok or Postback URL.
Event The platform event name (for postback URL jobs, the amabledata event such as sale), with the last error in red when there is one.
Value Value and currency sent, or — when the job has no value.
Status Pending, Sent, Failed or Skipped.
Attempts Attempts made so far.
Action Resend on failed rows.

The table lists the newest 200 jobs matching the filters.

Under /api/v2/t/<workspace>/analytics, with site_id in the query:

Method and path Permission Purpose
GET /outbound analytics:read Jobs, newest first, plus stats per status and truncated. Filters: status, platform (meta, google, tiktok or postback), connection_id (for postback jobs, the traffic source id), event_id, from, to (local days of the site or ISO date-times), limit (1–1000, default 100).
GET /outbound/{id} analytics:read One job.
POST /outbound/resend analytics:configure Body { "ids": [...] } (1–1000 ids) or a filter { platform?, connection_id?, from?, to? }. Returns { "requeued": n }.
POST /outbound/{id}/resend analytics:configure Resends one failed job; requeued is 0 for other statuses.

Resends write the audit event analytics.outbound_resent. Personal data fields are never returned.

Limit Value
Event mappings per traffic source 30
Platform event name 200 characters
Custom events 1 to 10
Attempts per job 6 (the first plus 5 retries)
Retry delays 1 min, 5 min, 30 min, 2 h, 12 h
Google Ads send delay 6 hours after the conversion
Batch size 50 jobs
Jobs shown in the log 200 newest
Error text 500 characters
Action Permission Roles by default
See the log analytics:read Owner, admin, marketer, analyst, viewer
Resend jobs, edit traffic sources analytics:configure Owner, admin, marketer
Symptom or error Cause Fix
Conversions appear in reports but never in the log The source is on Do not send (or on Ad platform API without a connection), the event is not mapped, the conversion was not approved, disable_postbacks was set, or the conversion did not come through a postback. Check the source’s Conversions tab and the postback URL.
Skipped with no_consent The postback had consent=0. Expected.
Skipped with zero_revenue Skip zero-revenue conversions is on and the revenue was 0. Pass rev, or turn the option off.
Skipped with throttled Postback throttle is above 0. Set it to 0 to send everything.
Skipped with blacklisted The person was deleted for privacy reasons. Expected.
Failed with permanent (no_match_keys): … Nothing to match the conversion on. Pass pii_email / pii_phone, and make sure your ad links carry the platform click id.
Failed with permanent (missing_conversion_action): google: missing customerId or conversionAction The Google Ads mapping has an empty platform event. Enter the conversion action id.
Failed with permanent (missing_dataset): meta: missing dataset/pixel id or permanent (missing_pixel): tiktok: missing pixel code The ad account row has no dataset (pixel) ID or pixel code. Click Conversions on the account row, set it, then Resend all failed.
Conversions are accepted but do not show in the platform’s reports A Test event code is set on the account: the events go to the platform’s test tool. Clear the code in the Conversions dialog.
Postback URL job failed with http_<status> The address answered with a non-retried status (for example 400 or 404). Fix the address in the traffic source, then resend.
Postback URL job failed with invalid_postback_url The address does not start with http:// or https://. Correct it in the traffic source.
Failed with auth_expired… and the connection shows Reconnect needed The platform rejected the token. Reconnect the account, then Resend all failed.
Failed with connection_auth_expired The connection was already in Reconnect needed for all 6 attempts. Reconnect, then resend.
Failed with connection_disconnected The account was disconnected. Reconnect it or map the source to another connection, then resend.
Pending for hours on Google Ads Google Ads jobs wait 6 hours by design. Wait.
Pending with an error and attempts above 1 Temporary platform errors; the job is retrying. Wait for the next attempt.