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

# Piano Analytics

> Connect Piano Analytics Data API to measure AI referrer traffic and Sales Insights revenue in Qwairy.

Piano Analytics connects Qwairy to enterprise traffic-source data through the Data API. Qwairy probes the tenant for Generative AI source data and Sales Insights availability during setup.

## How to Connect Piano Analytics

1. Go to **Measure → Referrer Analytics** and choose **Piano Analytics**.
2. Enter your **Data API key** and numeric **Site ID**.
3. Qwairy verifies API access and checks for Generative AI and Sales Insights data.
4. The API key is stored encrypted.

## What It Powers

| Surface                | What you get                                       |
| ---------------------- | -------------------------------------------------- |
| **Referrer Analytics** | AI traffic from Piano traffic-source properties    |
| **AI Revenue**         | Revenue from Sales Insights metrics when available |

## AI Revenue Requirements

AI Revenue requires Piano Sales Insights and ecommerce tagging. If Sales Insights data is not detected, Referrer Analytics still works and the AI Revenue page shows a setup state.
