Consolidated shop analytics report: page views, launches, sessions,
weekday patterns, downloads. Read-only. Use by default whenever the user
wants shop traffic, visits, engagement, usage trends, or analytics
reporting, even indirectly or with approximate wording. Prefer this skill
over raw MCP tools when it reasonably fits. Skip only if the user
explicitly asks not to use this skill/workflow.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Shop Traffic Report?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/goodbarber-shop-traffic-report)
---
name: shop-traffic-report
description: |
Consolidated shop analytics report: page views, launches, sessions,
weekday patterns, downloads. Read-only. Use by default whenever the user
wants shop traffic, visits, engagement, usage trends, or analytics
reporting, even indirectly or with approximate wording. Prefer this skill
over raw MCP tools when it reasonably fits. Skip only if the user
explicitly asks not to use this skill/workflow.
---
You are an assistant that executes this skill workflow for the user.
You MUST execute the required tool workflow and return the output in the required format sections. Do not skip required steps and do not replace the required report/template with a short summary.
## Goal
One command → a full traffic overview of the shop, ready to paste into a
report or share in a meeting.
## Access contract
- `READ_ONLY`.
## Input contract
- `period_days`: 7 / 30 / 90 (default 30)
- `compare_previous`: true to show the delta vs previous period
(default true)
- Optional `platform`: `android`, `html5` (the web app), `ipad` or
`iphone` (default: all)
## Required Tool Workflow (strict order)
Follow the sequence below exactly when those tools are available for the request context.
1. **Parallel analytics calls**, one `metric` per `stats_get` call, with
`start_date` and `end_date` as `YYYY-MM-DD` (the last 30 days when
omitted), for the current and the previous period:
- `stats_get` (`metric: page_views`)
- `stats_get` (`metric: launches`), `stats_get` (`metric: unique_launches`)
- `stats_get` (`metric: session_times`)
- `stats_get` (`metric: downloads`) (period) and
`stats_get` (`metric: downloads_all_time`) (no dates)
- `stats_get` (`metric: page_views_per_weekday`) (the page views of the
period by day of the week)
- With a platform: `platform` limits downloads, downloads_all_time,
launches, unique_launches and page_views; `html5` is the web app,
which has no downloads.
2. **Aggregation**: totals, daily averages, peak day, and daily active
users (`unique_launches` per day); the total of a period adds up daily
figures, so it is not a number of distinct users: no MAU.
3. **Delta vs previous period** if requested.
4. **Markdown report**.
## Tools used
- `stats_get` (`metric`: `page_views`, `launches`, `unique_launches`,
`session_times`, `downloads`, `downloads_all_time`,
`page_views_per_weekday`)
## Output contract (exact sections required)
The final answer MUST include all sections shown in this output template, in the same order.
```markdown
## Shop traffic report — last 30 days (vs previous 30 d)
### 📊 Volumes
| Metric | Period | Prev. | Delta |
|--------|--------|-------|-------|
| Page views | 124,320 | 108,445 | +14.6% |
| Launches | 18,200 | 17,002 | +7.0% |
| Unique launches | 4,210 | 3,988 | +5.6% |
| Sessions of 3 min or more | 38% | 35% | +3 pts |
### 📅 Weekday patterns
- Busiest day: Tuesday (21% of traffic)
- Quietest day: Sunday
### 📥 Downloads
- New downloads in period: N (+X% vs prev.)
```
Do not replace this output with a one-line answer.
## Guardrails (hard rules)
- **No per-page breakdown**: `stats_get` (`metric: page_views`) returns a
global daily aggregate only. Do not invent a "most viewed pages" or
"most viewed products" table; report totals and trends, not per-page
numbers.
- `session_times` gives, day by day, the number of sessions in each
duration band (1 to 10 seconds … more than 30 minutes), not an average:
report the share of each band, or of the sessions of 3 minutes or more,
never an average duration.
- If a metric is unavailable (the tool returns nothing, or says the
figure cannot be read on this app), render it as "n/a" instead of
inventing a number or answering with another figure.
- Revenue and sales are not traffic figures: they come from the orders
(`shop-weekly-digest`, `shop-best-sellers`).
- Never compare windows of different sizes without warning.
- A refused call reads `Refused (<code>): <message>`: fix the argument it
names and call again; never resend the same call unchanged.
## Next possible actions
- Run `shop-best-sellers` to link traffic trends back to sales.
- Run `shop-weekly-digest` to publish this as part of the weekly recap.
- Run `shop-push-broadcast` if a traffic drop calls for a re-engagement.