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

# Overview

> Integrate with your analytics platforms to measure routing impact on your KPIs

Inworld integrates with your analytics platforms in two directions — **exporting** router data so you can analyze routing performance alongside your product metrics, and **importing** your custom events so you can define KPI metrics directly in Portal and measure how routing decisions affect them.

## How it works

<Steps titleSize="h3">
  <Step title="Connect your analytics platform">
    Add your Mixpanel or BigQuery credentials in [Portal](https://portal.inworld.ai) — go to **Routers** and click **Set Up Metrics** to open the **Data Integrations** page. The same connection is used for both exporting and importing.
  </Step>

  <Step title="Export router exposure data">
    When users interact with your router, exposure data (which router, route, and variant was served) is automatically sent to your analytics platform. You can use this data to build dashboards and segment users by their routing assignment.
  </Step>

  <Step title="Import your product events">
    Tell Inworld which of your product events to pull in — purchases, signups, conversions, or any other events you track. Inworld syncs these events into Portal so you can use them as KPI signals.
  </Step>

  <Step title="Define custom metrics">
    Create metrics in Portal that aggregate your imported events (unique users, total events, property sums or averages). Associate metrics with routers to see how different routes and variants affect your business KPIs.
  </Step>
</Steps>

## Supported platforms

| Platform | Export | Import | Guide                                                      |
| :------- | :----- | :----- | :--------------------------------------------------------- |
| Mixpanel | ✅      | ✅      | [Mixpanel integration](/router/data-integrations/mixpanel) |
| BigQuery | ✅      | ✅      | [BigQuery integration](/router/data-integrations/bigquery) |

## Data sync

Both export and import sync automatically approximately every **8 hours**. Data is aggregated into hourly buckets — each bucket captures the distinct users, routes, and variants observed during that hour.

## Next steps

* Set up [Mixpanel](/router/data-integrations/mixpanel) or [BigQuery](/router/data-integrations/bigquery) integration
* Learn how to [create custom metrics](/router/data-integrations/custom-metrics) from your imported events
