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

# Collection analytics

> Per-collection performance: KPIs, conversion funnel, inventory risk, pinned-vs-auto health and benchmarking.

Every collection carries its own analytics, surfaced in three places: KPI
tiles above the collections table, performance columns in the table itself,
and a detailed analytics drawer per collection.

## Limits and behavior

* Metrics cover the last 30 days compared with the previous 30 days by
  default; the presets are 30, 7 and 1 days, plus a custom range.
* The add-to-cart funnel stage appears only when add-to-cart events are
  tracked.
* Add-to-carts have no KPI tile on the collections page — that tile is on the
  [Analytics](/headless/features/analytics) page.
* The collections table's performance columns are Views, Clicks, CTR, Revenue,
  Units and STR; there is no inventory column and no pinned-vs-auto column.
* Dead stock counts products with inventory but zero units sold in the
  selected period.
* Average stock coverage is the number of days current inventory lasts at the
  current sales rate; it appears in the analytics drawer, not in the
  collections table.

## KPI row

Aggregated tiles across all collections: Total Revenue, Total Views, Avg CTR,
Total Units Sold and Avg STR, plus a dead stock tile. Every metric
label has a hover tooltip explaining exactly how it's computed. Clicking a
tile opens a **trend modal** with the metric charted over time (30d/7d/1d or a
custom range); the dead stock tile opens a searchable list of at-risk products
with CSV export.

## The analytics drawer

Open the drawer from a collection row's analytics button.

<Frame caption="The analytics drawer: performance KPIs, inventory breakdown and the Pinned vs Auto comparison.">
  <img src="https://mintcdn.com/depictai/bVOq4sS-xd91_mJy/images/headless/analytics-drawer.png?fit=max&auto=format&n=bVOq4sS-xd91_mJy&q=85&s=087f045ad6a0adef688955471b0ef2a4" alt="Collection analytics drawer showing RPM, sales velocity, inventory donut chart and per-product pinned versus auto CTR comparison with recommendations" width="1520" height="1800" data-path="images/headless/analytics-drawer.png" />
</Frame>

### Traffic & Engagement

A horizontal conversion funnel — impressions, clicks, add to cart (when
tracked) and purchases — with stage-to-stage conversion rates on the
connectors and previous-period trends under each stage. CTR is shown alongside
with its trend.

### Performance

Revenue, RPM (revenue per thousand impressions), views, CTR, units sold and
STR, each with previous-period deltas and clickable trend charts.

### Product health & inventory

* **Variant availability** — in-stock variants as a share of all variants in
  the collection.
* **Inventory breakdown** — healthy / low / out-of-stock buckets, dead stock
  count and average stock coverage in days.

### Top products

The best performers in the collection, with per-product CTR and STR.

## Pinned vs Auto

For collections with pinned products, Depict compares the CTR of your pinned
products against the auto-ranked ones and turns the result into a
recommendation:

| Verdict | Meaning |
| - | - |
| **Pins healthy** | Pinned products hold their own — auto-ranked CTR is at most 5% ahead of the pins. |
| **Check pins** | Auto-ranked products get a noticeably higher CTR than the pins (5–30% ahead) — review individual pins. |
| **Unpin advised** | Auto-ranked products clearly outperform the pins (30%+ higher CTR) — unpinning should lift clicks. |
| **No pins** | Nothing is pinned (or there is no data to compare), so there is no pinned-vs-auto comparison. |

The analytics drawer and the **Pinned vs Auto** modal break it down per product, with
relative CTR differences, per-product recommendations, one-click pin/unpin
actions and CSV export. An info tooltip explains how to read the numbers.

## Inventory and dead stock

**Dead stock** counts products with stock but effectively no sales in the
period — capital sitting still. **Average stock coverage** estimates how many
days current inventory lasts at the current sales rate. Dead stock is
aggregated in the KPI row's dead stock tile, whose modal lists the specific
products so you can act on them; both metrics appear per collection in the
analytics drawer.

## Benchmarking

The **Benchmark** button opens a modal where you compare any set of
collections side by side — against each other and against the "All
collections" baseline — across revenue, traffic, engagement and inventory
metrics.

<Frame caption="Benchmarking two collections against the all-collections average.">
  <img src="https://mintcdn.com/depictai/bVOq4sS-xd91_mJy/images/headless/benchmark-modal.png?fit=max&auto=format&n=bVOq4sS-xd91_mJy&q=85&s=7d862113fdb21602882527a66bab90ce" alt="Benchmark modal comparing two collections against the average of all collections across revenue, views, clicks, CTR and more" width="2400" height="1532" data-path="images/headless/benchmark-modal.png" />
</Frame>


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