Analytics

Break one event down by one of its custom properties

Changed on

Ranks the values of one top-level key of an event's custom properties, e.g. the url of outbound_click or the extension of file_download (ADR 109 D1). Crawler traffic is excluded. A value is null when the event was sent without that property.

get/analytics/event-properties

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Query parameters

event_namestring required

Event to break down, e.g. outbound_click

propertystring required

Top-level property key to group by, e.g. url. Letters, digits, '_', '-' and '.'; at most 64 characters

project_idinteger required

Project ID

environment_idinteger

Environment ID (optional)

start_datestring required

Start date (ISO 8601)

end_datestring required

End date (ISO 8601)

limitinteger

Maximum number of values (default: 20, max: 100)

Response

Property values ranked by occurrences

event_namestring required

The event that was broken down

propertystring required

The property the values belong to

total_countinteger required

Occurrences of the event in the period, whatever the property's value

Changes