Counts the query parameters recorded for a player
Returns how many times each query parameter of the page URL was recorded for the player, such as `utm_source`, `utm_campaign`, `src` or `sck`. Any query parameter is counted, not only UTMs.
Authorization
apiToken apiVersion userAgent Access the application and copy your api token, then, just set the header X-Api-Token with it.
In: header
The API version to use. Currently supported versions are:
- v1: The current stable version
A request without this header, or with any other value, is answered by the edge with 404 and {"error_msg":"404 Route Not Found"}.
In: header
A non-empty User-Agent identifying your integration is required.
Requests without it are rejected at the edge before reaching the API.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/traffic_origin/valid_utms" \ -H "Content-Type: application/json" \ -d '{ "player_id": "64a5c8072e6fd10009828db2", "start_date": "2026-09-01 00:00:00", "end_date": "2026-09-30 23:59:59", "timezone": "America/Sao_Paulo" }'[ { "utm_source": 15 }, { "sck": 10 }, { "utm_campaign": 7 }]Returns statistics grouped by a query parameter of the page and by day POST
Returns the same statistics as `POST /traffic_origin/stats` for the query parameters in `query_keys`, also split by day.
Statistics used by the turbo dashboard POST
Returns one item per Turbo speed of the player, with views, plays, engagement, pitch retention, clicks and conversions. Dates are read in UTC. If the player does not exist in the company, the response is `400` with `{"error": ["Player could not be found for the current request"]}`.