Analytics API
Is the data real-time on Analytics API?
The data is updated continuously, but with 15 minutes delay. Anytime a query is done on the api, the data returned is from at most 15 minutes ago.
Why do some tracking events have user_id
NULL?
If the user isn’t logged into Swapcard app, the user_id
will be NULL. This is the case if the event is accessible in the guest mode by users.
Are people, exhibitors, sessions etc IDs unique?
Yes, people, exhibitors, sessions, etc. IDs are unique and if deleted their IDs aren’t used anymore.
Why the number I received via API aren’t matching the dashboards/UI/reports?
The first potential reason is the different time range. Make sure to request the same period as selected in the interface. The second, through the API you receive the unique count of users as the UI uses some approximation algorithms.
How is the usage of Swapcard Platform computed?
In the interface, the number of active users is the (approximate) distinct count of user_id
which performed either of these actions: event_show
, event_view_show
, exhibitor_self_show
.