Statistics & analytics
Get tracking session slices by attendee id
4min
notes filtering data the following url attributes are accepted for filtering tracking type trackable type click time start time end time duration start from start to end from end to note on filtering by tracking type by default, this endpoint returns three types of tracking sessions time spent sponsor streamlink give the value for this param as "time spent" — otherwise, it will also return clicks in media elements in the sponsor booth etc a note about filtering by time (i e using start time , end time , start from , start to , end from , end to ) start time and end time will search for an exact match for sessions that start / end at an exact time these filtering options are not commonly used in automated retrievals, unless you are manually searching for slices from an exact time for automated retrieval, we recommend using the start from , start to , end from , end to attributes by providing these attributes, the endpoint finds records where start time is between start from and start to respectively it finds records where end time is between end from and end to you can also provide an open ended time range, for example by only providing start from but not start to in this case the endpoint selects records where start time is greater than or equal to start from but doesn't limit results by a maximum start time usage example whether an attendee "checks in to" / uses the event app during the event an example use case of tracking whether an attendee “checked in” to brella during an event (presence) let's assume that you have an event that begins on 2023 05 10 and ends on 2023 05 15 you've invited people to brella a week before the event, but, you are only interested in whether they checked in after the event begins (i e on or after 2023 05 10 ) so, your requests would look like the following https //api brella io/api/integration/organizations/{{organizationid}}/events/{{event id}}/attendees/{{attendeeid}}/tracking session slices?tracking type=time spent\&start from= 2023 05 10t00 00 00 000z this would return any session slices that begin after 2023 05 10t00 00 00 000z while you could specify the exact event start time as well, we recommend just leaving it at midnight that day to account for edge cases if the attendee has visited brella after the specified time, the endpoint will return all relevant tracking session slices if the attendee didn't "check in/ visit brella during this time", it will return an empty response so, basically, all you need to do is run this query for your attendees, dynamically replacing the attendee id, and if the response is empty they haven't "checked in", if the response has data, then, that attendee has "checked in"