Skip to main content

Envelope

Every SDK posts this payload to POST https://collector.reelevant.com/collect/{datasourceId}/rlvt:
The response is 200 with an empty body. The endpoint also accepts an array of envelopes and application/x-www-form-urlencoded bodies, both mapped to the same ingestion path.

Reserved data fields

Three keys of data are mapped to typed columns of the tracking Datasource. Every other key is stored as a queryable label.
locale and store above are labels: filterable in a Workflow, but not aggregated as metrics.

Event catalogue

Custom names are accepted as-is and become filter values on the Website Events Data Node, so keep them stable: renaming an event orphans the history collected under the old name.

Validation rules

The web tracker validates payloads before sending and logs the reason to the console when it refuses. The mobile SDKs send what you build, so apply the same rules yourself. Placeholder values are rejected because they are almost always a templating accident: undefined, null, unknown, inconnu, 0, -1, NaN, ko, true, false, Infinity, -Infinity, {}, []. Two normalisations run silently and are worth knowing when you compare your data with Reelevant’s:
  • value is truncated to two decimals.
  • A single ids string containing ;, ,, or | is split into several identifiers, except for category_view and brand_view where separators are legitimate parts of a name.

Server-to-server collection

The collector accepts direct calls, which is the right integration when the event only exists on your backend — an order confirmed by your payment provider, a subscription change, an offline purchase. Send the same envelope, and reuse the identity of the browsing session (rlvt_clientId) so the event joins the user’s history:
tmpId is mandatory, so set it to the anonymous identity when you have it and to clientId otherwise. Send timestamp explicitly whenever the event is replayed or processed asynchronously — the collector otherwise stamps it at reception time. Server-side calls bypass the client-side validation rules above, so normalise ids and value before sending. The full schema is published in the Datasources Collector OpenAPI reference.