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

# Cloud Analytics

> Track conversations, tool usage, and commerce attribution

Better Data Cloud provides deep visibility into how AI is interacting with your commerce data. Unlike simple event logs, our analytics are "commerce-aware."

## Key Metrics

* **Total Invocations**: Number of times any tool was called.
* **Success Rate**: Percentage of tool calls that returned valid data.
* **Commerce Intent**: Detection of high-value questions (e.g., "Where is my order?").
* **GMV via AI**: The total value of orders initiated through the LLM Gateway.

## Attribution Models

We support several models to help you understand which AI provider is driving the most value:

* **First-Touch**: Credits the LLM that first introduced the user to the product.
* **Last-Touch**: Credits the LLM used right before the final checkout.
* **Linear**: Distributes credit equally across all LLMs the user interacted with during the session.

## Real-time Dashboard

Available on the **Marketplace** tier, the Real-time Dashboard shows you live "Conversations per Minute" and current "Active Shopping Carts."

## Exporting Data

You can export your analytics data via:

* **CSV/Excel**: Manual export from the dashboard.
* **Webhook Events**: Push real-time analytics to your own data warehouse.
* **Analytics API**: Query your metrics programmatically for custom reports.

```bash theme={null}
GET https://api.betterdata.io/v1/analytics/metrics
?metrics=total_sales,tool_success_rate
&period=last_30_days
```

## Privacy & GDPR

Better Data Cloud is GDPR compliant. We do not store full conversation transcripts unless you explicitly enable "Audit Logging." We focus on the **tool signals**—the structured data exchanged between the AI and your backend.
