Traffic sources
Where visitors came from, read by source, medium or campaign. Each row has a lettered mark, its share as a bar, a conversion rate, a daily trend and the change on the previous period, and the heading names the row that matters most in one sentence.
Acquisition
Search engines brought 37% of 56.8k visitors, down 0.7% on the previous period.
- 20.7k36.5%Search engines: 20.7k visitors, 36.5% of the total, 3.1% converted, down 0.7% on the previous period.
- 13.3k23.3%Direct: 13.3k visitors, 23.3% of the total, 4.4% converted, up 1.4% on the previous period.
- 5,73110.1%Newsletter: 5,731 visitors, 10.1% of the total, 5.8% converted, down 0.7% on the previous period.
- 4,6418.2%forum.example.net: 4,641 visitors, 8.2% of the total, 2.6% converted, up 4.4% on the previous period.
- 4,5228.0%Social: 4,522 visitors, 8.0% of the total, 1.2% converted, up 10.0% on the previous period.
- 3,4166.0%docs.example.org: 3,416 visitors, 6.0% of the total, 3.9% converted, up 0.8% on the previous period.
- 2,7604.9%Paid search: 2,760 visitors, 4.9% of the total, 3.5% converted, up 0.2% on the previous period.
- 1,7573.1%Podcast mention: 1,757 visitors, 3.1% of the total, 2.1% converted, up 0.5% on the previous period.
When to use
- The acquisition report of a web analytics tool.
- Marketing screens that compare channels by volume and quality together.
When not to use
- Paths between pages; use the journey flow.
- Spend and return on ad campaigns; that needs cost columns this part does not have.
Installation
pnpm dlx shadcn@latest add @caliper/traffic-sources
Adds its 40 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.
API reference
TrafficSources
10 props
monogram
0 props
No props of its own; it accepts the native props of its root element.
Keyboard
- Enter or Space
- Opens the menu from its trigger and activates the focused item.
- ↓ or ↑
- Moves between items, wrapping at the ends; disabled items are skipped.
- → or ←
- Opens and closes a submenu.
- Escape
- Closes the menu and returns focus to the trigger.
- A–Z
- Moves to the next item that starts with that letter.
Accessibility
It exposes alert semantics, with aria-labelledby, aria-busy, aria-live, aria-hidden and aria-label kept in step with state. Changes that matter are announced through a live region.
Notes for AI
Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.
/docs/components/traffic-sources.mdThe index of every part is at /llms.txt.