Skip to content

Analytics API

Tracify's Analytics API allows you to query attribution and metrics data from your account. We've made available several endpoints at different levels of granularity to help you get the data you need.

Important

Data from the last 24 hours is preliminary and may change as it is fully processed.

If you request and store any data from the last 24 hours, you may want to rerequest it again in the future to ensure you get finalized numbers.

Generating an API Token


To use the Analytics API, you'll need to generate an API token. You can create and manage Analytics access tokens at Dashboard > Settings > API Tokens. The user account must have access to the site you want to query.

Use your token to authenticate subsequent requests to the Analytics API (see the Swagger UI below for how each endpoint accepts the token).

Identifying your site_id and preset_id


To query the Analytics API, you'll need to know your site_id and preset_id, which you'll send along with your request. Your site_id identifies the store, site or property you are querying (e.g. yourstore.com) while your preset_id refers to a set of attribution settings applied to your data (e.g. AI Attribution - All Channels). Both are available in your Dashboard settings panel:

Using Swagger


You can use the swagger UI below to explore the endpoints and parameters.

  • Press the "Authorize" button to, and save your API token
  • Expand each endpoint to see the parameters and responses
  • Click the "Try it out" button to test the endpoint