> For the complete documentation index, see [llms.txt](https://docs.fuul.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fuul.xyz/fuul-mcp-server/affiliates/affiliate-analytics.md).

# Affiliate Analytics

Ask your AI assistant anything about your affiliate program — top performers, volume by region, earnings by tier — without opening the dashboard or writing a single query. Just ask and get answers instantly.

No project API key needed, just log in to your Fuul account via the MCP.

## Program overview

Get aggregated performance metrics for all affiliates in a project:

> "How are our affiliates performing this month?"

{% hint style="info" %}
Supports date ranges: 7d, 30d, 90d, MTD, QTD, all, or a custom date range. You can also filter by statuses, regions, audiences, or tiers.
{% endhint %}

## Breakdown by group

Slice affiliate performance by a specific dimension:

> "Break down affiliate performance by tier"

> "Which regions are driving the most referral volume?"

| `groupBy` value | Description                |
| --------------- | -------------------------- |
| `audience`      | Group by audience segment  |
| `tier`          | Group by affiliate tier    |
| `region`        | Group by geographic region |
| `status`        | Group by affiliate status  |

{% hint style="info" %}
You can sort results by total referral volume, revenue from referrals, earnings, or points paid.
{% endhint %}

## Individual affiliate stats

Look up the performance of a specific affiliate:

> "Show me CryptoKing's stats"

{% hint style="info" %}
Returns the affiliate's performance (referral volume, revenue, earnings, referred users) alongside their current tier, status, region, and referral codes.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.fuul.xyz/fuul-mcp-server/affiliates/affiliate-analytics.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
