Skip to content

MngGetMarketingFunnel

Returns funnel totals and rows grouped by campaign_id, affiliate_id, and link_id.

{
  "command": "MngGetMarketingFunnel",
  "extID": "1",
  "data": {
    "brand": "default",
    "from_time": 1785542400,
    "to_time": 1788220800,
    "campaign_id": 12,
    "affiliate_id": 4,
    "link_id": 0
  }
}

The three ID filters are optional; zero means all values. to_time=0 means the current server time and from_time=0 means all retained history.

{
  "brand": "default",
  "totals": {
    "visits": 1200,
    "unique_visitors": 940,
    "app_clicks": 80,
    "app_activations": 51,
    "registrations": 140,
    "kyc_approved": 82,
    "first_deposits": 37,
    "deposits": 64,
    "active_traders": 21,
    "deposit_value": 18400.0,
    "visit_to_registration_rate": 11.6667,
    "registration_to_kyc_rate": 58.5714,
    "kyc_to_first_deposit_rate": 45.122
  },
  "rows": []
}

first_deposits counts attributed customers with an initial credited deposit. deposits counts all credited Cashier deposit transactions and deposit_value is their cumulative value in account currency. Cashier records each deposit by unique transaction id, so webhook retries and server restarts do not duplicate analytics. Existing credited deposits are reconciled when the Cashier module starts.

Lifecycle transitions continue to record KYC and active-trader stages once per attributed customer. MngAddMarketingConversion remains available for explicit admin-managed conversion events.