# Marketing Open Metric: Traffic Sources Donut

Visitor acquisition split as a shadcn donut beside strategy notes per source.

- Page: https://www.shadcn-ui-blocks.com/blocks/marketing-pro/open-metrics/traffic-sources-donut
- Collection: [Marketing](https://www.shadcn-ui-blocks.com/blocks/marketing-pro), Standard tier
- Group: [Open Metrics](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/open-metrics)
- Created: 2026-06-15
- Preview image: https://www.shadcn-ui-blocks.com/blocks/marketing-pro/open-metrics/traffic-sources-donut.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/marketing-pro-open-metrics-traffic-sources-donut
```

Needs an API key from a Pro or Team plan: add `@shadcn-ui-blocks` to the registries in components.json with the key as an `Authorization: Bearer` header. Setup: https://www.shadcn-ui-blocks.com/docs/shadcn-cli. The MCP server installs it without the setup: https://www.shadcn-ui-blocks.com/docs/mcp.

## Depends on

- npm packages: recharts
- shadcn/ui components: chart
- Installs to: `@/components/blocks/marketing-pro/open-metrics/traffic-sources-donut`

## About this block

Traffic Sources Donut shows the acquisition mix with the strategy
attached. A shadcn donut with legend and tooltip splits visitors
across four sources in the grayscale chart tokens, and the notes
column interprets the three slices worth talking about, the
compounding organic engine, the earned referrals, and paid kept
deliberately small. Composition plus commentary, neither alone.

Built on ui/chart with per slice config keys, the data array and
notes are the edits. The inner radius keeps it a donut, and the
nameKey wiring makes tooltip and legend read source names rather
than keys.

## When to use

Reach for this block on open metrics pages and marketing
transparency posts, the channel mix is the number marketers
actually gossip about. The notes make it strategy rather than
analytics exhaust. It pairs with
[user-growth-line](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/open-metrics) upstream,
how many, then from where.

A natural flow around it on a Marketing Pro page:

**Before**

- [Growth charts](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/open-metrics) establishing
  the volume this decomposes

**After**

- [Blog](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/blog-sections) sections showing the
  organic engine the biggest slice credits
- [Open metrics table](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/open-metrics) for
  exact values

## What you can display

One strong use is the visitor mix with channel strategy notes.
Other donuts:

- **Revenue by segment.** SMB, mid market, enterprise with a note
  on which one you are betting on.
- **Support volume by channel.** Chat, email, community for an
  operations transparency page.
- **Compute spend.** Infrastructure cost split for an engineering
  blog post made permanent.

> Tip: write a note only for slices with a decision behind them,
> annotating everything turns strategy back into reporting.

## More in Marketing Open Metrics

- [Churn Retention Charts](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/open-metrics/churn-retention-charts)
- [Conversion Funnel Metrics](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/open-metrics/conversion-funnel-metrics)
- [Cost Transparency Chart](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/open-metrics/cost-transparency-chart)
- [Costs Breakdown Chart](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/open-metrics/costs-breakdown-chart)
- [Goals Progress Board](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/open-metrics/goals-progress-board)
- [Growth Milestones Timeline](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/open-metrics/growth-milestones-timeline)
- [Metrics Intro Banner](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/open-metrics/metrics-intro-banner)
- [Metrics Stat Grid](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/open-metrics/metrics-stat-grid)
- [Mrr Growth Chart](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/open-metrics/mrr-growth-chart)
- [Open Metrics Table](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/open-metrics/open-metrics-table)
- [Revenue Breakdown Bars](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/open-metrics/revenue-breakdown-bars)
- [User Growth Line](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/open-metrics/user-growth-line)
