# domainAnalyticsProvider

Get event breakdown for a specific channel. Given a channel name (e.g., "facebook", "klaviyo"), returns event counts (PageView, Purchase, AddToCart, etc.) over time for that channel.

Use this after `domainAnalytics` with `type: "provider"` to drill down into a specific channel's performance.

### Parameters

| Parameter   | Type          | Required | Description                                                                          |
| ----------- | ------------- | -------- | ------------------------------------------------------------------------------------ |
| `domainId`  | string (UUID) | Yes      | The domain ID (tagId). Get this from the `domains` tool.                             |
| `teamId`    | string (UUID) | Yes      | The team ID the domain belongs to.                                                   |
| `provider`  | string        | Yes      | The channel/provider name to analyze, e.g., `facebook`, `klaviyo`, `googleAdsClick`. |
| `range`     | number        | Yes      | Number of time units to look back.                                                   |
| `rangeType` | enum          | Yes      | Time unit: `MINUTE`, `HOUR`, or `DAY`.                                               |
| `status`    | number        | Yes      | Filter by status: `1` for successful events, `0` for errors.                         |
| `timezone`  | string        | Yes      | IANA timezone, e.g., `America/New_York`.                                             |

### Output

Returns time-series data showing event counts broken down by event name for the specified channel.

### Example

> "Show me the event breakdown for our Facebook channel this week"

The AI assistant will call `domainAnalyticsProvider` with `provider: "facebook"` and display counts for each event type.
