> ## Documentation Index
> Fetch the complete documentation index at: https://nango.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Tracify Analytics

> Integrate your application with the Tracify Analytics API

## Quickstart

Connect to Tracify Analytics with Nango and query your KPI data.

**1. Create the integration**

In Nango ([free signup](https://app.nango.dev)), go to [Integrations](https://app.nango.dev/dev/integrations) -> *Configure New Integration* -> *Tracify*.

**2. Connect your Tracify account**

Go to [Connections](https://app.nango.dev/dev/connections) -> *Add Test Connection* -> *Authorize*, then enter your Tracify Analytics API token, Site ID, and Preset ID. Later, you'll let your users do the same directly from your app.

**3. Call the Tracify Analytics API**

Replace the placeholders below with your [Environment API key](https://nango.dev/docs/reference/backend/http-api/api-keys.md), [integration ID](https://app.nango.dev/dev/integrations), and [connection ID](https://app.nango.dev/dev/connections):

**cURL**

```bash theme={null}
curl "https://api.nango.dev/proxy/analytics/api/v1/kpis/overview/?csids=<SITE-ID>&preset_id=<PRESET-ID>&start_date=2025-01-01&end_date=2025-01-31&granularity=day&requested_metrics=customer_revenue" \\
  -H "Authorization: Bearer ***" \\
  -H "Provider-Config-Key: <INTEGRATION-ID>" \\
  -H "Connection-Id: <CONNECTION-ID>"
```

**Node**

Install Nango's backend SDK with `npm i @nangohq/node`. Then run:

```typescript theme={null}
import { Nango } from '@nangohq/node';

const nango = new Nango({ apiKey: *** });

const res = await nango.get({
    endpoint: '/analytics/api/v1/kpis/overview/?csids=<SITE-ID>&preset_id=<PRESET-ID>&start_date=2025-01-01&end_date=2025-01-31&granularity=day&requested_metrics=customer_revenue',
    providerConfigKey: '<INTEGRATION-ID>',
    connectionId: '<CONNECTION-ID>'
});

console.log(res.data);
```

Or fetch credentials with the [Node SDK](https://nango.dev/docs/reference/backend/backend-sdk/node.md#get-a-connection-with-credentials) or [API](https://nango.dev/docs/reference/backend/http-api/connections/get.md).

You're connected! Check the [Logs](https://app.nango.dev/dev/logs) tab in Nango to inspect requests.

**4. Implement Nango in your app**

Follow our [Auth implementation guide](https://nango.dev/docs/guides/primitives/auth.md) to integrate Nango in your app.

## Tracify Analytics integration guides

Nango-maintained guides for common use cases.

* [How do I link my Tracify Analytics account?](https://nango.dev/docs/api-integrations/tracify/connect)
  Connect your Tracify Analytics account using the Connect UI

Official docs:

* [Tracify Analytics API documentation](https://tracify.dev/analytics-api/)
* [Tracify API OpenAPI specification](https://tracify-api.tracify.ai/analytics/api/v1/openapi.json)

## API gotchas

* The published KPI templates require both a `siteId` and a `presetId`. Nango stores these as connection configuration and sends the site ID as the API's `csids` query parameter.
* `presetId` is not required by every Tracify Analytics endpoint. For example, export-status queries use the site ID and task ID but do not use a preset ID.
* Data from the last 24 hours is preliminary and may change after processing. Re-request recent periods when finalized data is required.

## Pre-built syncs & actions for Tracify Analytics

Explore Nango-provided actions in your dashboard. Extend and customize them to fit your needs.

## Pre-built tooling

> **✅ Authorization**
>
> | Tools | Status |
> | - | - |
> | Pre-built authorization (API Key) | ✅ |
> | Pre-built authorization UI | ✅ |
> | Custom authorization UI | ✅ |
> | End-user authorization guide | ✅ |
> | Expired credentials detection | ✅ |

> **✅ Read & write data**
>
> | Tools | Status |
> | - | - |
> | Pre-built integrations | ✅ |
> | API unification | ✅ |
> | 2-way sync | ✅ |
> | Webhooks from Nango on data modifications | ✅ |
> | Real-time webhooks from 3rd-party API | 🚫 (time to contribute: \<48h) |
> | Proxy requests | ✅ |

> **✅ Observability & data quality**
>
> | Tools | Status |
> | - | - |
> | HTTP request logging | ✅ |
> | End-to-end type safety | ✅ |
> | Data runtime validation | ✅ |
> | OpenTelemetry export | ✅ |
> | Slack alerts on errors | ✅ |
> | Integration status API | ✅ |

> **✅ Customization**
>
> | Tools | Status |
> | - | - |
> | Create or customize use-cases | ✅ |
> | Pre-configured pagination | 🚫 (time to contribute: \<48h) |
> | Pre-configured rate-limit handling | 🚫 (time to contribute: \<48h) |
> | Per-customer configurations | ✅ |

### Analytics KPIs

| Function name | Description | Type | Source code |
| - | - | - | - |
| `get-kpis-overview` | Fetches aggregated Tracify KPI overview data for a date range. | [Action](https://nango.dev/docs/guides/functions/action-functions.md) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/tracify/actions/get-kpis-overview.ts) |
| `get-kpis-channels` | Lists Tracify channel KPI data for a date range. | [Action](https://nango.dev/docs/guides/functions/action-functions.md) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/tracify/actions/get-kpis-channels.ts) |
| `get-kpis-channel` | Fetches KPI data for one Tracify channel. | [Action](https://nango.dev/docs/guides/functions/action-functions.md) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/tracify/actions/get-kpis-channel.ts) |
| `get-kpis-channel-breakdown` | Fetches a paginated KPI breakdown for one Tracify channel. | [Action](https://nango.dev/docs/guides/functions/action-functions.md) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/tracify/actions/get-kpis-channel-breakdown.ts) |
| `get-kpis-channel-export` | Gets the status or result of a Tracify KPI export job. | [Action](https://nango.dev/docs/guides/functions/action-functions.md) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/tracify/actions/get-kpis-channel-export.ts) |
| `get-kpis-nvr-channel` | Fetches new-versus-returning customer KPI data for one channel. | [Action](https://nango.dev/docs/guides/functions/action-functions.md) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/tracify/actions/get-kpis-nvr-channel.ts) |
| `get-kpis-nvr` | Fetches new-versus-returning customer KPI data across channels. | [Action](https://nango.dev/docs/guides/functions/action-functions.md) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/tracify/actions/get-kpis-nvr.ts) |
| `get-kpis-discount-codes` | Fetches KPI data grouped by Tracify discount code. | [Action](https://nango.dev/docs/guides/functions/action-functions.md) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/tracify/actions/get-kpis-discount-codes.ts) |
| `kpis-channels` | Keeps the last 30 days of Tracify channel KPI data fresh. | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/tracify/syncs/kpis-channels.ts) |
| `kpis-discount-codes` | Keeps the last 30 days of Tracify discount-code KPI data fresh. | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/tracify/syncs/kpis-discount-codes.ts) |
| `kpis-nvr` | Keeps the last seven days of Tracify new-versus-returning KPI data fresh. | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/tracify/syncs/kpis-nvr.ts) |
| `kpis-overview` | Keeps the last 30 days of aggregated Tracify KPI overview data fresh. | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/tracify/syncs/kpis-overview.ts) |

***


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.