MCP Control
Аналитика · Чтение

Аналитика · Просмотр · Заказы · Атрибуция

analytics_get_order_attribution
Кассовый чек, калькулятор и монеты

Попробуйте три запроса

Получить данные
  1. Вы указываетеОбъект
  2. ПомощникЧтение
  3. Вы получаетеПоля ответа
Запрос в чат
Для задачи «Аналитика / Просмотр / Заказы / Атрибуция» выполни чтение в текущей компании. Выведи кратко: статус, начало.
Что искать в ответе
status
Статус
from
Начало
toExclusive
Поле ответа
Уточнить условия
  1. Вы указываетеЗадача
  2. ПомощникСхема входа
  3. Вы получаетеУсловия чтения
Запрос в чат
Для «Аналитика / Просмотр / Заказы / Атрибуция» перечисли допустимые параметры начало, toExclusive. Уточни, какие значения нужны для моей задачи, до запроса данных.
Параметры примера
from
Начало
toExclusive
Параметр чтения
Разобрать ответ
  1. Вы указываетеПолученный ответ
  2. ПомощникРазбор значений
  3. Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Аналитика / Просмотр / Заказы / Атрибуция» объясни статус, начало. Отметь отсутствующие значения.
Поля для проверки
status
Статус
from
Начало
toExclusive
Поле ответа
Как работает действие

Это чтение. Выберите запись или задайте фильтры в доступной компании. Отдельно укажите, какую часть источника удалось охватить.

Описание разработчика

Compare consented website attribution on confirmed native Orders with recorded Order and payment amounts, grouped by Site, source, medium, campaign and currency. Reads the existing Supabase Orders metric projection plus a minimal consent-only attribution projection. A partial status means historical coverage is incomplete. UTM labels do not prove that an ad caused an Order; recorded paid amounts are not reconciled net revenue or profit. No Site MCP Action is called.

Параметры запроса
from
Inclusive UTC native Order creation date. обязательно по схеме · string
toExclusive
Exclusive UTC native Order creation date, at most 31 days after from. обязательно по схеме · string
Что вернёт команда
status
Projection coverage state; partial means historical Orders may be missing. обязательно по схеме · string · варианты partial, ready
from
Inclusive UTC native Order creation date. обязательно по схеме · string
toExclusive
Exclusive UTC native Order creation date. обязательно по схеме · string
eligibleOrderCount
Valid uncancelled native Orders in the period, with or without consented attribution. обязательно по схеме · integer · минимум 0 · максимум 9007199254740991
attributedOrderCount
Eligible Orders carrying consented site attribution. обязательно по схеме · integer · минимум 0 · максимум 9007199254740991
unattributedOrderCount
Eligible Orders without consented site attribution. обязательно по схеме · integer · минимум 0 · максимум 9007199254740991
groups
Consented attribution groups, separated by currency; at most 100. обязательно по схеме · array · до элементов 100
note
Attribution and recorded payment limitations. обязательно по схеме · string
Поля и технические схемы
Входные поля и поля ответа analytics_get_order_attribution
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "from": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "Inclusive UTC native Order creation date."
    },
    "toExclusive": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "Exclusive UTC native Order creation date, at most 31 days after from."
    }
  },
  "required": [
    "from",
    "toExclusive"
  ],
  "additionalProperties": false
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "enum": [
        "partial",
        "ready"
      ],
      "description": "Projection coverage state; partial means historical Orders may be missing."
    },
    "from": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "Inclusive UTC native Order creation date."
    },
    "toExclusive": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "Exclusive UTC native Order creation date."
    },
    "eligibleOrderCount": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "Valid uncancelled native Orders in the period, with or without consented attribution."
    },
    "attributedOrderCount": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "Eligible Orders carrying consented site attribution."
    },
    "unattributedOrderCount": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "Eligible Orders without consented site attribution."
    },
    "groups": {
      "maxItems": 100,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "siteId": {
            "type": "string",
            "maxLength": 128,
            "description": "Exact site identifier recorded on a consented native Order."
          },
          "source": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 120
              },
              {
                "type": "null"
              }
            ],
            "description": "Recorded UTM source, or null when absent."
          },
          "medium": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 120
              },
              {
                "type": "null"
              }
            ],
            "description": "Recorded UTM medium, or null when absent."
          },
          "campaign": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 120
              },
              {
                "type": "null"
              }
            ],
            "description": "Recorded UTM campaign name, or null when absent."
          },
          "campaignId": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 120
              },
              {
                "type": "null"
              }
            ],
            "description": "Recorded campaign ID, or null when absent; only exact IDs may be compared with provider campaigns."
          },
          "clickIdPresent": {
            "type": "boolean",
            "description": "Whether a consented click ID was present; its value is never stored in this report."
          },
          "currency": {
            "type": "string",
            "maxLength": 20,
            "description": "Native Order currency; currencies are never combined."
          },
          "orderCount": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991,
            "description": "Count of eligible native Orders in this group."
          },
          "orderAmount": {
            "type": "string",
            "pattern": "^\\d+(?:\\.\\d+)?$",
            "description": "Exact decimal sum of recorded Order amounts, not confirmed revenue."
          },
          "recordedPaidAmount": {
            "type": "string",
            "pattern": "^\\d+(?:\\.\\d+)?$",
            "description": "Exact decimal sum of native recorded paid amounts, without refund or provider reconciliation."
          }
        },
        "required": [
          "siteId",
          "source",
          "medium",
          "campaign",
          "campaignId",
          "clickIdPresent",
          "currency",
          "orderCount",
          "orderAmount",
          "recordedPaidAmount"
        ],
        "additionalProperties": false
      },
      "description": "Consented attribution groups, separated by currency; at most 100."
    },
    "note": {
      "type": "string",
      "const": "Consented native Order attribution with recorded payment amounts; UTM labels do not prove ad causality, provider conversions, net revenue or profit.",
      "description": "Attribution and recorded payment limitations."
    }
  },
  "required": [
    "status",
    "from",
    "toExclusive",
    "eligibleOrderCount",
    "attributedOrderCount",
    "unattributedOrderCount",
    "groups",
    "note"
  ],
  "additionalProperties": false
}