Text of vibecode.bitrix24.com › docs › entities › crm-tracking as Styx crawled it on Nov 20, 2026. The page may have changed since. Only its words are kept, without pictures or layout.

Open the live page

Analytics sources and channels — Bitrix24 API — Alaio Vibecode

For AI agents: markdown of this page — /docs-content-en/entities/crm-tracking.md · documentation index — /llms.txt The methods are rolling out in update crm 26.2100.0 . They are not available on every Bitrix24 account. Until a method is available, the API returns 422 METHOD_NOT_YET_AVAILABLE . Analytics sources and channels Sources attribute visits to campaigns and referrals. You can read built-in sources, configure them by code and create custom sources.

Channels show which acquisition methods are configured on the account. Bitrix24 API: crm.tracking.source.* , crm.tracking.channel.list Scope: crm The crm-tracking-v3 flag and the REST v3 analytics capability in the Bitrix24 account must be enabled. READONLY keys may read; writes require READWRITE . Operations POST /v1/crm-tracking/sources — create a source GET /v1/crm-tracking/sources — list sources GET /v1/crm-tracking/sources/:id — get a source GET /v1/crm-tracking/sources/by-code/:code — get a built-in source PATCH /v1/crm-tracking/sources/:id — update a source PATCH /v1/crm-tracking/sources/by-code/:code — update a built-in source POST /v1/crm-tracking/sources/:id/archive — archive POST /v1/crm-tracking/sources/by-code/:code/archive — archive by code POST /v1/crm-tracking/sources/:id/unarchive — restore POST /v1/crm-tracking/sources/by-code/:code/unarchive — restore by code GET /v1/crm-tracking/channels — list channels GET /v1/crm-tracking/sources/:id/expenses — list manual expenses POST /v1/crm-tracking/sources/:id/expenses — add manual expenses DELETE /v1/crm-tracking/expenses/:id — delete manual expenses GET /v1/crm-tracking/analytics/sources — source analytics GET /v1/crm-tracking/sources/:id/ad-account/authorization — Get an authorization link GET /v1/crm-tracking/sources/:id/ad-accounts — List advertising accounts POST /v1/crm-tracking/sources/:id/ad-account — Connect an advertising account DELETE /v1/crm-tracking/sources/:id/ad-account — Disconnect an advertising account GET /v1/crm-tracking/sources/:id/ad-tree — Read the advertising tree POST /v1/crm-tracking/sources/:id/ad-expenses — Run an expense report step GET /v1/crm-tracking/sources/:id/ad-expenses — Read report progress Key fields Field Description Field id Description Record identifier from the source list . null for an unconfigured built-in source.

Field code Description Built-in source code from the source list , such as google . null for a custom source. Field kind Description builtIn for a built-in source, own for a custom one. Field isActive Description Whether the source is active. Read archived records with archived=true . Field refDomains , utmSources Description Referring domains and UTM source values. Writing a list replaces it completely. Before you start Address a source by exactly one value: numeric id or string code in the path.

A second address in the request is refused. The first update of a built-in source by code creates its record. A missing identifier does not mean that the built-in source itself is absent. The default list includes active sources and unconfigured built-in sources. archived=true selects archived records. Creation returns data.id ; an update returns the source read back after the write. Archive and restore are idempotent and return 204 without a body.

Traces and expenses are retained. Bitrix24 checks restrictions on built-in source changes and permissions. Names and codes in responses are account data. Typical workflow Read sources and channels . Create a source with a name and UTM source values. Update the source , providing only fields to change. Archive the source and restore it when needed. Limits Limit Value Limit Page size Value limit : 1 to 500, default 50. Limit Offset Value offset : nonnegative integer, default 0.

One request reads one page. Limit Domain and UTM source lists Value Up to 100 values each, checked by Bitrix24. Limit Name and individual list values Value Up to 255 characters, checked by Bitrix24. Limit Source filter Value Only archived=true or false . No sorting. Limit Channels Value No filter or sort, with limit and offset . See also Analytics traces Keys and authorization Errors