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

# Affiliate portal metrics

> Choose which metrics your affiliates can see, for everyone or for one affiliate.

You decide which metrics your affiliates see in their portal: one metric at a time, a whole group, for all affiliates or for a single partner. For example, hide revenue-related metrics from most partners, and show them to one key partner.

A hidden metric is removed from the data, not only from the table. The affiliate does not see it anywhere:

* in report tables and totals, on every report type and tab;
* in the column picker and charts;
* in CSV and XLSX exports;
* in dashboard widgets;
* in API responses. If an affiliate requests a hidden column through the API, the report comes back without it and without an error.

Your team is not affected: what teammates see is still set by their permissions.

## Two settings for each metric

| Setting | Where | What it means |
| - | - | - |
| **Visible** | Settings → Affiliate Portal → **Metrics** | The affiliate can see the metric and add it to their report. |
| **Default** | Settings → Affiliate Portal → **Reports** | The metric is already in the report when the affiliate opens it. |

Only a visible metric can be a default one. Affiliates add the other visible metrics themselves with the column picker.

## Choose metrics for all affiliates

1. Go to **Settings → Affiliate Portal → Metrics**.
2. Tick the metrics affiliates can see. Each group shows a counter, for example **4 of 4 visible**. The group checkbox shows or hides the whole group.
3. Click **Save**.

![Settings → Affiliate Portal → Metrics with metric groups and visible counters](https://mintcdn.com/sc-0da4b6af/8QtOyJR1CoOAEgL3/images/docs/affiliate-portal-metrics/metrics-settings-network.webp?fit=max\&auto=format\&n=8QtOyJR1CoOAEgL3\&q=85\&s=1e900bbb44d6f7dae90bd5f7c0c8d7c9)

The change applies to every affiliate on the global settings with their next request; they do not need to log in again. If your workspace has several report types (for example General and iGaming), each one has its own subtab at the top.

Metrics are listed in the same groups as in the report's column picker. In the iGaming report you can show or hide each metric of the **iGaming KPIs** group separately.

Custom metrics are listed in the group where they appear in reports. Their **Visible in Affiliate portal** toggle and the checkbox on the Metrics tab are the same setting.

## Choose the default columns

1. Go to **Settings → Affiliate Portal → Reports**.
2. Under **Report Tabs**, choose which report tabs affiliates have. Drag them to change the order; the first one opens by default.
3. Under **Default columns**, tick the visible metrics that should be in the report from the start.
4. Click **Save**.

On the **Dashboard** tab, Quick Stats offers only visible metrics. If you hide a metric, its widget is removed from the affiliates' dashboards. If you make it visible again, turn the widget back on yourself.

## Different metrics for one affiliate

1. Open the affiliate and go to **Settings → Edit**.
2. In **Metrics**, choose **Custom** and click **Configure**.
3. The window starts from your global settings. Tick or untick metrics for this affiliate. Changed metrics are highlighted: **Visible for this Affiliate** in green, **Hidden for this Affiliate** in red. Use **Changed only** to see just your changes.
4. Click **Apply**, then save the affiliate.

The affiliate's settings then show **Custom** and how many metrics differ from global. To go back, choose **Global default** or click **Reset to global default**, confirm and save. This clears the settings for the metrics you are allowed to configure. Settings for metrics outside your permissions stay, so the affiliate can still show **Custom**: ask an admin with access to those metrics to clear them.

The same permissions as for editing affiliate settings are needed. You can check what an affiliate sees with **Login as Affiliate**.

## What happened to the old settings

The **Affiliate can manage Columns** and **Can see iGaming KPIs** settings are replaced by metric visibility. Your settings were moved over automatically, and no affiliate sees more than before:

| Before | Now |
| - | - |
| **Affiliate can manage Columns** was off | Only the default columns are visible; all other metrics are hidden. |
| **Affiliate can manage Columns** was on | All metrics are visible. |
| **Can see iGaming KPIs** was off globally | The iGaming KPIs group is hidden. |
| An affiliate had their own **Can see iGaming KPIs** value | The affiliate gets custom settings with iGaming KPIs visible or hidden. |
| A Quick Stats widget used a metric that is now hidden | The widget is turned off. |

Default columns did not change. To show affiliates more metrics, tick them on the Metrics tab.

## API

The affiliate API returns the affiliate's metric visibility mode (global or custom) and the list of metrics that differ from global. Changes on the Metrics, Reports and Dashboard tabs and in affiliate settings are written to the Activity Log with the list of changed metrics.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.