To setup tracking for user activities, you need to add ZetaHub’s APIs and make modifications to your Javascript.
Setting up ZetaHubs APIS
RESTful APIs
ZetaHub provides a RESTful API with endpoints for interacting with people, resources, events, and recommendations.
The API can be accessed using the standard HTTP request methods GET, POST, and PUT. There are several endpoints that can be used to manage events, resources, and users.
Authorization
Authorization for ZetaHub APIs are is granted via JSON Web Token (JWT) JSON Web Token. To access these routes, supply a bearer token to the route as part of an Authorization header. You can generate a JSON Web Token by requesting one using our Authorization API.
Rate Limits
Rate limiting is implemented on our REST APIs to protect against abuse. These rates vary by route:
Route Path | Rate Limit |
---|---|
customers.api.boomtrain.com | 10 per second |
metrics.api.boomtrain.com | 10 per second |
people.api.boomtrain.com | 10 per second |
events.api.boomtrain.com | For Get Recent Activity For a Specific User, 10 per second, otherwise unlimited |
resources.api.boomtrain.com | 50 per second |