Overview
The Analytics API allows you to send both client-side and server-side events into Unify. There are three types of events you can send:- Page events capture page visits on your website or web application
- Track events capture actions or other custom activities that you define
- Identify events capture visitor identity information (e.g., their email address)
Usage
Request format
The base URL for all API requests to the Analytics API is:Authentication
When sending requests to the Analytics API from client devices, you should use
your write key rather than an API key. Write keys are safe to expose
publicly whereas API keys are not.To prevent exposure of sensitive API keys, if you send a request to
the Analytics API that contains an API key by accident, Unify will immediately
expire the key as a precautionary measure.
<token>
with your Unify write key.