Conversion definitions

A definition says what counts and how each platform calls it. Conversions without a definition are possible (manual entries), but only definitions map to platform events.

PUT /v1/projects/{project}/conversion-definitions/{key} (scopes conversions:write + config:write) creates or replaces one, DELETE with the same path removes it; GET …/conversion-definitions (conversions:read) lists them; MCP conversions_definitions_list reads them, conversions_definitions_upsert and conversions_definitions_delete write them, and the dashboard has Einstellungen › Meldungen › Neue Conversion. Leads from Meta Instant Forms never trigger a definition.

{
  "name": "Demo booked",
  "trigger": { "kind": "event", "event": "booking" },
  "source": "booking",
  "value": 500,
  "currency": "EUR",
  "providers": {
    "meta": { "enabled": true, "eventName": "Schedule" },
    "linkedin": { "enabled": true, "conversionRule": "12345678" },
    "google_ads": { "enabled": true, "conversionAction": "customers/1234567890/conversionActions/987654321", "feedName": "Demo booked (Server)" },
    "tiktok": { "enabled": true, "event": "Contact" }
  },
  "enabled": true,
  "requireServerConfirmation": false
}

Triggers

trigger.kindCreated whenEvent idOrigin
manualonly explicitly: REST POST …/conversions, server SDK, MCP conversions_mark, dashboard – never from the browseryours (or generated)server / mcp / dashboard
beaconthe browser conversion beacon POST /v1/cb (x3.conversion(), reportBooking()) – and explicitly like manual. The beacon is refused (404) for every other kindthe page's (shared with the pixel)web
event (+ optional props that must match)the browser or server sends that event<pageview id>:<n>web
goala session reaches the goal for the first timegoal:<session>:<key>web
lead (+ optional form)a lead is created by identify() or POST …/leadslead:<lead id>web / server
lead_status (status: appointment or customer)a lead's pipeline status changes to that status (dashboard, PATCH …/leads/{id}/pipeline, MCP leads_update_pipeline, leads_revenue_import); customer carries the revenue as value – see Leadsderived from lead, status and definitiondashboard / server / mcp
purchasea purchase arrives: the SDK event purchase (value, currency, order_id) or POST …/purchases – every purchase is its own conversion with its value, deduplicated only by order id; refunds lower the revenue – see Project modethe order idweb / server
relevance (tier, e.g. hot)a visit reaches that tier of the interest score (the tiers of the relevance config): once per person (journey, else visit) and tier, a session that jumps two tiers triggers both. Counts as a conversion of X3 (leads, KPIs); optimisation signals without counting are the ad signals (Einstellungen › Signale an Werbeplattformen)relevance:<definition key>:<person>web

Automatic event ids are deterministic, so a retried batch never creates a second conversion.

Contacts captured by hand („Kontakt nachtragen“ in the dashboard, POST …/leads with form: "manual" and traits.channel) report like every other lead through the lead definitions of form manual (or of any form). Without such a definition the project's manual-contact definition reports them: WhatsApp → the enabled manual-trigger definition with source whatsapp_manual, every other channel (or WhatsApp without it) → the one with source manual – the same rows conversions_mark creates.

Closings (closing: true, e.g. „Kunde“, „Angebot angenommen“) follow the project mode: in leads mode a lead's closing is reported at most once – further closing triggers of the same lead are stored as skipped (skipReason: closing_already_reported). Other skip reasons: held_expired, web_daily_cap, duplicate_order, imported_history (imported history the source system reported or skipped itself – X3 never sends it; provider entries that came with an import carry transport: "import" and a retry re-sends them only with force).

Source

source is stored on every row and is a filter in reports. Values: quiz, booking, whatsapp_manual, manual, event, goal, lead, api, purchase, leadmagnet (a lead magnet download). A quiz funnel typically uses quiz, booking and whatsapp_manual, so reports can separate the three paths.

Platform mapping

PlatformFieldWhere to find it
MetaeventName – a standard event (Lead, Schedule, Contact, CompleteRegistration, Purchase, …) or a custom nameuse the same name as your browser pixel for deduplication
LinkedInconversionRule – numeric id or urn:lla:llaPartnerConversion:<id>Campaign Manager → Conversion tracking → rule details
Google AdsconversionAction (API) and/or feedName (CSV feed: the action's exact name)Goals → Conversions → action (ctId in the URL)
TikTokevent – SubmitForm, Contact, CompleteRegistration, Lead …Events Manager of the pixel

A platform without mapping, or with enabled: false, gets status not_configured for this definition – no error.

Requiring server confirmation

Public-key traffic can be forged. For definitions whose uploads influence bidding, set requireServerConfirmation: true: web-triggered rows are stored as held and dispatched only when your server confirms them – either conversions.create with the **same eventId** or PATCH …/conversions/{id}/status {"status":"pending"}. Held rows expire after 7 days (skipped).

Independent of this flag, web-originated conversions always pass the abuse guards: the session must exist with at least one pageview and engagement, it must not be test traffic, at most one conversion per session and definition, and at most settings.conversions.webDailyCap (default 500) per project and day.

Typical setups

SiteDefinitionTrigger
Lead-gen with a quizquiz_leadlead with form: "quiz" (your server calls leads.create with conversion)
Calendar bookingdemo_bookedevent booking (SDK booking plugin) or the /v1/cb beacon
WhatsApp / phonewhatsapp_contactmanual – confirmed via MCP conversions_mark with a time window
Newsletternewslettergoal newsletter_signup
Form via SDK forms plugincontact_formevent form_submit with props: {"form": "contact"}