Nightly Data Dumps
Raw data for custom in-house analysis
For Enterprise customers, ServiceBell offers nightly data dumps of all visitor activity we logged for that day. Data will be uploaded to your storage provider of choice with a consistent format and naming scheme so that you can automate integrating the data into your own custom tooling.
Contact our sales team at [email protected] to get your organization set up with data dumps.
Example Data
Additional Notes
Semantic versioning
Data dumps provide a version number that you can use to determine if your processor is able to handle the data. We use semantic versioning, with the following justifications:
Patch - Fixes to issues in our reporting. The schema did not change in any meaningful way, but issues that were present in past exports may have been fixed.
Minor - New keys or types of entries were added that provide more information, but the data is fully backwards compatible.
Major - Meaningful and potentially breaking changes have happened in the structure of the schema.
Treat IDs as Strings
Despite some IDs being numeric, they should all be treated as strings as we may update their format in the future, and any numeric operations may break as a result.
Sessions & Session Groups
Sessions are single socket connections to the ServiceBell widget. Any full page load or disruption in the socket connection (e.g. going offline, being load balanced to a different server) will start a new session.
Session groups are collections of sessions that happened close together. Session groups are identified by using the ID of the earliest occurring session in the group, for instance sessions "A"
and "B"
that happened in close succession would both have session_group: "A"
.
Midnight Cutoff
Sessions that span the gap of the midnight cutoff may be in two days worth of dumps. A session that was ongoing at midnight will have an unset end_time
.
Interaction Acceptance
All unique_visitor_session_interaction
s have an accept and accept_time field, even if there is no UX flow for "accepting" the interaction (e.g. answering a proactive call, allowing a takeover.) This is to allow for granular permissions and compatibility with all UX flows in case we change what a user can or cannot accept in the future.
Interactions that have no acceptance UX will always be accept: true
with an accept_time
that matches start_time
.
New Actions & Interactions
New types of unique_visitor_session_action
and unique_visitor_session_interaction
will be added in the future as ServiceBell provides more ways to interact with visitors. These will result in minor version bumps, but should be backwards compatible if you filter or ignore unknown actions and interactions out.
Last updated