# Beehiiv newsletter performance report — full skill bundle

Source: https://www.gtmskills.com/skill/beehiiv-newsletter-report

This bundle contains every file in the skill. Paths mentioned inside the files refer to the sections below.

Files:
- SKILL.md
- references/automation-pipeline.md
- references/beehiiv-api-reference.md
- references/report-sections.md

===== FILE: SKILL.md =====
URL: https://raw.githubusercontent.com/swan-gtm/gtm-skills/main/skills/ryan-estes/beehiiv-newsletter-report/SKILL.md

---
name: "beehiiv-newsletter-report"
title: Beehiiv newsletter performance report
description: "Use this skill when building a sponsor or client performance report on top of a Beehiiv publication, or when designing a Beehiiv MCP tool or integration that needs to expose the same metrics. It covers audience growth, open and click rate analysis (including the click-to-open trap in Beehiiv's own API), audience segmentation, month-over-month synopsis, an engaged-reader export, per-issue KPIs, and a pattern for keeping the report refreshed automatically without the narrative drifting."
category: Newsletters
---

## Purpose

Turn raw Beehiiv publication data into a report a non-technical stakeholder (a sponsor, a
client, a newsletter owner) can read in under a minute and still trust the numbers in.
This skill generalizes a report built for a real newsletter sponsorship client, stripped of
any client-specific branding or copy, so the same structure can be reused for any Beehiiv
publication or wired into an MCP server that answers questions like "how did last month's
issues perform."

## When to use this skill

Use it when asked to build, extend, or automate a newsletter/sponsor performance report
backed by Beehiiv, or when exposing Beehiiv metrics through an MCP tool, API, or chatbot and
needing the correct formulas and section structure rather than reinventing them.

## Prerequisites

- A Beehiiv publication ID and an API key (Bearer token) with read access to that publication.
- Base URL: `https://api.beehiiv.com/v2/publications/{pub_id}/...`
- All Beehiiv field mappings, formulas, and pagination details live in
  [`references/beehiiv-api-reference.md`](https://raw.githubusercontent.com/swan-gtm/gtm-skills/main/skills/ryan-estes/beehiiv-newsletter-report/references/beehiiv-api-reference.md). Read it before implementing any of the sections below;
  several of Beehiiv's own fields are misleading (see Pitfalls) and getting them wrong produces
  a report that contradicts what the client sees on their own Beehiiv dashboard.

## Report anatomy

A complete report has nine sections. Build them in roughly this order, since later sections
depend on data assembled for earlier ones.

1. **Hero stats**: total growth since launch, current audience size, average open rate over a
   recent window (e.g. trailing several months). Three numbers, no chart, at the very top.
2. **Website / lead magnet links**: a short list of outbound links relevant to the newsletter
   itself (its homepage) and any sponsor/lead-magnet destination being tracked (e.g. a landing
   page a sponsor cares about). Plain outbound links, not chart data.
3. **Audience growth chart**: one time series of subscriber count, spanning the newsletter's
   full history to date.
4. **Open rate analysis**: a per-issue open-rate bar chart plus a short structured narrative
   (a question, an answer/verdict, supporting points, one forward-looking opportunity).
5. **Click rate analysis**: the same narrative structure as open rate analysis, charting clicks
   or click rate per issue instead.
6. **Audience insights**: an engagement segmentation (how loyal is the audience, by lifetime
   open rate) and a list-health breakdown (active / inactive / invalid).
7. **Month-over-month tabs**: one tab per calendar month, each with a synopsis (headline,
   highlights, opportunities), that month's rollup stats, and every issue published that month.
8. **Engaged-reader export**: for reports tracking clicks to a specific sponsor/partner link,
   a table of who clicked, exportable as CSV, with a searchable full-list view and a breakdown
   by company/industry category.
9. **Per-issue KPI cards**: nested inside each month tab: recipients, delivered, open rate,
   click rate, unsubscribes, spam reports, per individual issue.

Full data shapes and exact chart/card content for each section are in
[`references/report-sections.md`](https://raw.githubusercontent.com/swan-gtm/gtm-skills/main/skills/ryan-estes/beehiiv-newsletter-report/references/report-sections.md).

## Workflow to build one

1. Confirm credentials and the publication ID; verify a single `GET /posts?limit=1` call
   succeeds before building anything else.
2. Fetch confirmed posts with stats (`expand[]=stats`, `status=confirmed`, ordered by publish
   date ascending). This one call powers sections 4, 5, 7, and 9.
3. Compute per-issue fields and per-month rollups using the formulas in
   [`references/beehiiv-api-reference.md`](https://raw.githubusercontent.com/swan-gtm/gtm-skills/main/skills/ryan-estes/beehiiv-newsletter-report/references/beehiiv-api-reference.md) (do not trust Beehiiv's `click_rate` field at face
   value; see Pitfalls).
4. Build the audience growth series (section 3). Decide the growth mode up front: `per-issue`
   (derived from posts) or `subscriber-timeline` (a hand-curated periodic snapshot). See
   [`references/beehiiv-api-reference.md`](https://raw.githubusercontent.com/swan-gtm/gtm-skills/main/skills/ryan-estes/beehiiv-newsletter-report/references/beehiiv-api-reference.md) for when each applies.
5. Fetch the full subscriber list with `expand[]=stats`, cursor-paginating to completion, and
   compute the engagement segments and list-health split for section 6.
6. Write the narrative content for sections 4, 5, and 7 (the only genuinely generated prose in
   the report). Keep it short, specific to the actual numbers, and free of hedging.
7. If the report needs section 8, treat it as a periodic manual/semi-automated step, not a live
   API call. See Pitfalls.
8. Render nothing for any section whose backing data is empty or absent (no polls, no audience
   data yet, no engaged-reader export configured) rather than showing an empty or placeholder
   state. This lets sections be added to a report incrementally as data becomes available.

## Automating a refresh

Once a report exists, keep it current on a schedule (e.g. weekly) rather than hand-updating it.
The refresh should treat "recompute deterministic numbers" and "regenerate narrative" as two
different jobs with two different reliability bars. See [`references/automation-pipeline.md`](https://raw.githubusercontent.com/swan-gtm/gtm-skills/main/skills/ryan-estes/beehiiv-newsletter-report/references/automation-pipeline.md) for
the full pattern, including a multi-tenant registry design for running the same pipeline across
several publications/clients at once.

## Pitfalls

These are the mistakes most likely to produce a report that looks fine but is wrong:

- **Beehiiv's `click_rate` field is click-to-open (clicks / opens), not clicks-per-delivered.**
  If the report is meant to show "what fraction of the send resulted in a click," compute
  `unique_clicks / delivered` yourself. Consider displaying whichever of the two figures is
  larger, since that is usually the number the client already sees emphasized on their own
  Beehiiv dashboard, and a report showing a smaller number reads as wrong even when it is
  arguably more correct.
- **The poll `poll_responses` expand on a poll's GET endpoint is capped at 10 responses and
  cannot paginate.** Any poll with more than 10 responses will silently under-report through
  that path. Get accurate per-choice counts by cursor-paginating
  `/polls/{id}/responses` and tallying `poll_choice_id` client-side instead.
- **Beehiiv exposes no subscriber location data.** Do not build or fake a geographic view; it
  does not exist in the API and any resemblance to one will be pure invention.
- **Compute engagement segments only over subscribers who have received enough issues to have
  a meaningful lifetime open rate** (e.g. at least 3). Otherwise a batch of freshly imported
  subscribers who have only seen one issue distorts the segmentation, since anyone who has not
  opened yet reads identically to someone who never will.
- **A "who clicked this specific sponsor link" export is generally not a clean, documented,
  single API call.** Beehiiv's own dashboard supports building a subscriber segment from click
  behavior and exporting it as CSV; the practical path is to pull that CSV periodically and
  enrich it yourself (e.g. classify each subscriber's email domain into a company/industry
  category with a lightweight heuristic or an LLM pass), rather than trying to reproduce it as
  a live query inside an automated refresh.
- **A publication's early history may predate structured per-issue tracking or was migrated
  from a different platform.** For that period, a hand-curated subscriber-count timeline (which
  can rise or fall) is more honest than deriving growth from per-issue recipient counts, which
  is roughly monotonic by construction and will paper over real churn.
- **Never regenerate all narrative sections wholesale on every refresh.** Update only the month
  or analysis affected by new data, and preserve the tone, length, and untouched prose from
  prior periods; wholesale regeneration produces visible tonal drift and makes diffs impossible
  to review.

## For MCP tool / integration builders

If exposing this as MCP tools or an API instead of (or in addition to) a rendered report page,
map each section to its own tool so a client can compose them conversationally or a UI can call
them independently:

- `get_publication_summary` → hero stats (section 1)
- `get_audience_growth` → growth series (section 3)
- `get_rate_analysis` (parameterized by `open` or `click`) → sections 4 and 5
- `get_audience_segments` → engagement segmentation and list health (section 6)
- `get_monthly_report` (parameterized by month) → that month's synopsis, rollups, and issues
  (section 7)
- `export_engaged_subscribers` → section 8, backed by the periodic CSV/enrichment pipeline, not
  a live Beehiiv call
- `get_issue_kpis` (parameterized by post ID or date range) → section 9

Cache subscriber-list pagination results where possible; a full engagement-segment computation
requires walking the entire subscriber list, which can be thousands of paginated records, on
every call otherwise.

## What good looks like

A report a non-technical stakeholder can read in under a minute and still trust the numbers in — click rates that match what the client sees on their own Beehiiv dashboard, poll tallies from full pagination rather than the capped expand, engagement segments that exclude subscribers too new to have a meaningful lifetime open rate, and narrative that changes only where the numbers did. The failure modes: a click rate that contradicts the client's dashboard, a silently under-reported poll, an invented geographic view, or wholesale-regenerated prose drifting in tone between refreshes.

===== FILE: references/automation-pipeline.md =====
URL: https://raw.githubusercontent.com/swan-gtm/gtm-skills/main/skills/ryan-estes/beehiiv-newsletter-report/references/automation-pipeline.md

---
title: Automation pipeline
description: (reference)
---

# Automation pipeline

## Split deterministic data from generated narrative

Treat these as two separate jobs with two different reliability bars, run in sequence:

1. **Deterministic data** (correctness matters absolutely, no room for interpretation): post
   stats and rollups, poll tallies, audience segments, list health, growth-series appends. Do
   this with plain code (a script, a job, a typed function), not an LLM, because several of
   these require cursor-paginating an endpoint fully and doing exact arithmetic (see the poll
   and audience segmentation notes in [`beehiiv-api-reference.md`](https://raw.githubusercontent.com/swan-gtm/gtm-skills/main/skills/ryan-estes/beehiiv-newsletter-report/references/beehiiv-api-reference.md)); a model asked to "compute the
   poll results" is liable to stop at whatever page it fetches first and silently under-report.
2. **Generated narrative** (headlines, highlights, opportunities, rate-analysis prose): this is
   the one place an LLM pass is the right tool, precisely because it needs to read like someone
   actually looked at the numbers. Scope it tightly: only regenerate the narrative for the
   period whose underlying numbers actually changed, matching the existing tone and length, and
   leave every other period's prose untouched. Wholesale regeneration on every run produces
   visible tonal drift between runs and makes the diff impossible to review.

## Multi-tenant registry pattern

If the same pipeline runs across several publications (different clients, different sponsors),
keep one registry (JSON/YAML) listing, per publication:

- A slug/identifier and human-readable name.
- Where its report data lives (a file path, a database key, whatever the storage is).
- The environment variable names holding its publication ID and API key (never the credentials
  themselves in the registry).
- Its growth-series mode (`per-issue` / `subscriber-timeline`, see
  [`beehiiv-api-reference.md`](https://raw.githubusercontent.com/swan-gtm/gtm-skills/main/skills/ryan-estes/beehiiv-newsletter-report/references/beehiiv-api-reference.md)) and any freeform notes about that report's specific conventions
  (e.g. "this one has pre-migration months that use a different data shape, don't touch them").

Drive the refresh job by iterating the registry, and make each entry's failure independent: if
one publication's credentials are missing or its API calls fail, log it and skip to the next
entry rather than aborting the whole run. A single broken credential should never block every
other client's report from refreshing.

## Refresh flow, in order

1. Start from a clean checkout of the latest committed report data (pull before doing anything).
2. For each registry entry: fetch confirmed posts with stats; reconcile against what's already
   stored (refresh numbers for issues already present in case Beehiiv has more mature figures;
   insert genuinely new issues in their correct chronological position); recompute affected
   month rollups.
3. Append to the growth series according to that entry's mode.
4. Regenerate poll results and audience segments via the deterministic scripts (steps 1-2 in the
   split above), not the narrative pass. These commonly opt in per-report via explicit markers
   in the data file (e.g. a `POLLS_START`/`POLLS_END` region), so a report can be onboarded to a
   new section before its historical data exists, and a script can safely skip any report that
   hasn't opted in without erroring.
5. Run the narrative pass, scoped to only the newly changed period(s).
6. **Validate before shipping anything**: type/schema-check the changed data, and run any
   content-policy lint relevant to the project (banned phrases, required disclosures, etc.)
   against exactly the files that changed. Abort the entire run without committing if validation
   fails, and leave the working tree as-is for a human to inspect: never partially ship.
7. If nothing actually changed for a given publication, leave its files untouched and say so in
   the run log; don't force a commit just because the job ran.
8. Commit, push, and deploy only after every gate passes. Log a one-line summary per publication
   (what changed, or "no change") so a scheduled/unattended run is auditable after the fact.

## Idempotency and scheduling

Run on a fixed schedule (e.g. weekly, timed to when a publication typically sends its issue for
the week) via whatever job scheduler is available (cron, a managed scheduler, a CI pipeline). A
rerun with no new upstream data should produce zero diff and exit cleanly rather than generating
a no-op commit or duplicate narrative pass; treat "nothing to do" as the expected common case,
not an edge case.

===== FILE: references/beehiiv-api-reference.md =====
URL: https://raw.githubusercontent.com/swan-gtm/gtm-skills/main/skills/ryan-estes/beehiiv-newsletter-report/references/beehiiv-api-reference.md

---
title: Beehiiv API reference
description: (reference)
---

# Beehiiv API reference

All requests use `Authorization: Bearer <api_key>` and are scoped to one publication:
`https://api.beehiiv.com/v2/publications/{pub_id}/...`. Every list endpoint that supports
`cursor` pagination returns `has_more` and `next_cursor`; loop until `has_more` is false. Do not
assume a single page covers a publication of any real size.

## Endpoints used

| Purpose | Endpoint |
|---|---|
| Per-issue stats | `GET /posts?limit=100&expand[]=stats&order_by=publish_date&direction=asc&status=confirmed` |
| Full subscriber list with lifetime stats | `GET /subscriptions?limit=100&expand[]=stats&order_by=created&direction=asc` (cursor-paginate) |
| Current active-subscriber snapshot | `GET /subscriptions?limit=1` → read `total_results` (or the equivalent count field) |
| Poll list | `GET /polls?limit=100` → filter to `status === "published"` |
| Poll per-choice results | `GET /polls/{poll_id}/responses?limit=100&expand[]=post` (cursor-paginate) |

## Post/issue field mapping

From each post's `stats.email` object:

| Report field | Source | Notes |
|---|---|---|
| `recipients` | `stats.email.recipients` | |
| `delivered` | `stats.email.delivered` | |
| `deliveryRate` | `delivered / recipients` | Compute yourself; format to one decimal, e.g. `"98.5%"` |
| `openRate` | `stats.email.open_rate` | Already unique opens / delivered; use as-is |
| `uniqueOpens` | `stats.email.unique_opens` | |
| `uniqueClicks` | `stats.email.unique_clicks` | |
| `clickRate` (stored) | `uniqueClicks / delivered * 100` | **Not** the API's own `click_rate` field: see below |
| `unsubscribes` | `stats.email.unsubscribes` | |
| `spamReports` | `stats.email.spam_reports` | |

### The click-rate trap

Beehiiv's API returns `stats.email.click_rate` as **click-to-open rate** (clicks divided by
opens), not clicks-per-delivered. If a report's "click rate" is meant to answer "what fraction
of everyone who received this clicked something," that is `unique_clicks / delivered`, computed
manually. If it is meant to answer "of the people who opened, how many clicked," the API field
is already correct.

The two numbers can differ by a large multiple (click-to-open is always ≥ clicks-per-delivered,
often 2 to 4x higher). A client used to seeing Beehiiv's own dashboard will expect the larger,
click-to-open-flavored number. A reasonable default: compute both and display whichever is
larger.

```
clickToOpenRate = uniqueClicks / uniqueOpens * 100
displayClickRate = max(clicksPerDelivered, clickToOpenRate)
```

## Month rollups

Computed by grouping posts into their publish month, not fetched from Beehiiv directly:

- `peakAudience` = max `recipients` across the month's posts
- `avgOpenRate` = simple (unweighted) average of the month's post open rates
- `avgClickRate` = simple average of each post's `displayClickRate`
- `totalUnsubscribes` = sum of the month's `unsubscribes`

Simple averaging, not recipient-weighted averaging, is the convention: an issue sent to 500
people and one sent to 50,000 count equally toward the month's average open rate. Weight by
recipients instead if the report needs to answer a different question ("what fraction of all
sends this month were opened").

## Audience growth series

Two valid ways to build the section-3 time series, and they are not interchangeable:

- **`per-issue`**: one point per confirmed post, using that post's `recipients` count. Correct
  once a publication's entire history has issue-level tracking. Growth is roughly monotonic by
  construction (recipient counts rarely shrink issue to issue even as the underlying list
  churns), so this mode understates real subscriber loss.
- **`subscriber-timeline`**: a hand-curated series of periodic (e.g. weekly) snapshots of the
  publication's active-subscriber count, taken from `GET /subscriptions?limit=1` (or an
  equivalent aggregate field) and appended over time rather than recomputed. This series *can*
  decline, which is the point: it reflects actual list size, not per-send recipient counts. Use
  this mode for any period predating structured per-issue tracking, or after a platform
  migration where early posts are not confirmed/instrumented the same way.

Whichever mode is chosen for a given publication, do not silently switch modes partway through
its history; that produces a visible discontinuity in the chart with no real-world cause.

## Audience segmentation (from subscriptions + stats)

Walk the full paginated subscriber list with `expand[]=stats`. For each subscriber:

- Track `status` (`active`, `inactive`, `invalid`, or anything else bucketed as `other`) across
  **every** subscriber, for the list-health split.
- For engagement segmentation, only consider subscribers with `status === "active"` **and**
  `stats.total_received >= MIN_ISSUES` (3 is a reasonable default: tune per publication send
  cadence). This excludes subscribers too new to have a meaningful lifetime open rate.
- Bucket by `stats.open_rate`:
  - `superfan`: ≥ 80%
  - `loyal`: 50% to 80%
  - `atrisk`: 20% to 50%
  - `dormant`: < 20%

```
pct(n, d) = round(n / d * 1000) / 10   // one decimal place
```

Report both the segment breakdown (as a share of the *engaged base*, i.e. subscribers meeting
the `MIN_ISSUES` threshold) and the list-health breakdown (as a share of *all* subscribers on
file). They are different denominators and should not be conflated in one chart.

Beehiiv's subscriber object does not include location. There is no field to build a geographic
view from; don't invent one.

## Poll results

`GET /polls?limit=100` lists a publication's polls; filter to `status === "published"`. For
each poll's true per-choice tally, cursor-paginate `GET /polls/{id}/responses` and count
occurrences of each `poll_choice_id` client-side.

Do not rely on the `poll_responses` expand available directly on a poll's GET response: it caps
at 10 responses and does not paginate, so any poll with more than 10 votes will silently
under-report through that path while looking like valid data.

## Engaged-reader / "who clicked this link" export

There is no clean, documented single API call for "list every subscriber who clicked link X
across N issues." The practical approach:

1. In the Beehiiv dashboard, build a subscriber segment from click behavior (e.g. "clicked a
   link in post Y" or an equivalent click-based filter) and export it as CSV.
2. Enrich the export offline: derive each subscriber's email domain, then classify domains into
   company/industry categories with a lightweight heuristic (TLD/keyword matching) or an LLM
   pass. At any real volume, exact per-domain research is impractical, so expect a meaningful
   "uncategorized" bucket, especially for branded startup domains that don't self-describe.
3. Treat this as a periodic manual or semi-automated refresh (re-export and re-classify on a
   schedule), not something the automated weekly data refresh recomputes live.

===== FILE: references/report-sections.md =====
URL: https://raw.githubusercontent.com/swan-gtm/gtm-skills/main/skills/ryan-estes/beehiiv-newsletter-report/references/report-sections.md

---
title: Report sections
description: (reference)
---

# Report sections

Data shapes below are described generically (field name, type, meaning), not tied to any one
language or framework. Adapt to whatever the implementation stack actually is.

## 1. Hero stats

Three numbers, no chart, at the top of the report:

- **Total growth**: `(currentAudience - launchAudience) / launchAudience`, as a percentage.
  Pair with the date range it covers (launch date to "now").
- **Current audience**: latest point in the audience growth series, plus the launch figure for
  contrast ("from X at launch").
- **Average open rate**: average of `openRate` across recent issues (choose a window, e.g.
  "this year to date" or "last 6 months": state the window in the label so it's not read as
  all-time).

Data needed: `{ totalGrowthPct, currentAudience, launchAudience, avgOpenRate, windowLabel }`.

## 2. Website / lead magnet links

A short list of outbound links, not chart data. Typically:

- The newsletter's own homepage/website.
- Any sponsor or partner destination being tracked for click-through (the same link that powers
  section 8, if present).

Data needed: `{ label: string, url: string }[]`. Render as plain external links, each opening in
a new tab.

## 3. Audience growth chart

One area/line chart, `growthData: { label: string, recipients: number }[]`, spanning the
publication's full history. Label the launch-to-now growth percentage directly on the chart
(e.g. a badge: "+X% since launch"), and mark any notable transition point (a platform migration,
year boundary) with a reference line if one is meaningful to the audience.

See [`beehiiv-api-reference.md`](https://raw.githubusercontent.com/swan-gtm/gtm-skills/main/skills/ryan-estes/beehiiv-newsletter-report/references/beehiiv-api-reference.md) for the `per-issue` vs `subscriber-timeline` decision.

## 4 & 5. Open rate analysis / click rate analysis

Same structure for both, one instance per metric:

- A per-issue bar chart: `chartData: { label: string, value: number }[]` (open rate as a
  percentage, or click count/rate).
- Optionally highlight bars above a threshold (e.g. open rate ≥ 50%) in a distinct color to
  visually separate "good" issues from average ones.
- A short caption stating the date range and one-sentence takeaway.
- A structured narrative block, `content: { question, verdict, points[], opportunity }`:
  - `question`: the thing a client would actually wonder, phrased in their words (e.g. "Is open
    rate holding up as the list grows?").
  - `verdict`: the direct, one-sentence answer.
  - `points`: 2 to 4 supporting bullet points with specific numbers, not vague claims.
  - `opportunity`: one forward-looking suggestion or thing worth watching.

This four-part structure (question / answer / evidence / opportunity) is the load-bearing
pattern for both rate-analysis sections; keep it rather than replacing it with generic prose,
since it's what makes the section scan quickly.

## 6. Audience insights

Two views from one `audience` object (see [`beehiiv-api-reference.md`](https://raw.githubusercontent.com/swan-gtm/gtm-skills/main/skills/ryan-estes/beehiiv-newsletter-report/references/beehiiv-api-reference.md) for how it's computed):

- **Engagement segmentation**: a donut/pie chart of `segments: { key, count, pct }[]` (superfan
  / loyal / at-risk / dormant), with the engaged-base total in the center. Below or beside it,
  list each segment with a one-line description of what the bucket means (e.g. "opens nearly
  every issue").
- **List health**: a single stacked horizontal bar of `listHealth: { key, count, pct }[]`
  (active / inactive / invalid), with a legend showing counts and percentages.

State the "as of" generation date and the engagement-base threshold (e.g. "computed over the
X active subscribers who have received at least 3 issues") directly in the section's caption, so
the denominator is never ambiguous. Render nothing if there's no audience data yet.

## 7. Month-over-month tabs

One tab per calendar month with data, most recent first or last (pick one and stay consistent).
Each tab contains, top to bottom:

- **Synopsis**: `{ headline: string, highlights: string[], opportunities: string[] }`. The
  headline is one sentence capturing the month. Highlights and opportunities are each a short
  bulleted list, kept visually distinct (e.g. two columns, different accent colors) so a reader
  can separate "what went well" from "what to watch" at a glance.
- **Month rollup stats**: peak audience, average open rate, average click rate, total
  unsubscribes for that month (see rollup formulas in [`beehiiv-api-reference.md`](https://raw.githubusercontent.com/swan-gtm/gtm-skills/main/skills/ryan-estes/beehiiv-newsletter-report/references/beehiiv-api-reference.md)).
- **Individual issue list**: every issue published that month, each rendered per section 9.

Only regenerate the synopsis for months whose underlying data actually changed; see
[`automation-pipeline.md`](https://raw.githubusercontent.com/swan-gtm/gtm-skills/main/skills/ryan-estes/beehiiv-newsletter-report/references/automation-pipeline.md).

## 8. Engaged-reader export

Include only when a report tracks click-through to a specific sponsor/partner link. Shows:

- Two headline numbers: total distinct readers who clicked, and total distinct companies
  represented (derived from unique email domains, typically excluding personal/generic email
  domains from the company count).
- A "click to export" action that downloads the full list as CSV (email, domain, category).
- A "view full list" action opening a searchable table (search by email, domain, or category)
  of every clicker.
- A horizontal bar chart of company/industry category counts, with a one- or two-sentence
  narrative naming the top categories and noting what share falls into an "uncategorized"
  bucket.

Data needed: `clickers: { email, domain, category }[]` and a derived `categories: { category,
subscribers, companies }[]` (sorted descending by subscriber count). Exclude personal/generic
email domains and the uncategorized bucket from the narrative's "top categories" callout, but
still show them in the chart and full list.

See [`beehiiv-api-reference.md`](https://raw.githubusercontent.com/swan-gtm/gtm-skills/main/skills/ryan-estes/beehiiv-newsletter-report/references/beehiiv-api-reference.md) for how this data is actually sourced (it is not a live query).

## 9. Per-issue KPI cards

One card per issue, typically nested inside its month tab. Shows, per issue:

- Title, publish date, a link to the live issue.
- Recipients, delivered count, delivery rate.
- Open rate, unique opens (visually highlight if above a strong-performance threshold).
- Click rate (the display value from [`beehiiv-api-reference.md`](https://raw.githubusercontent.com/swan-gtm/gtm-skills/main/skills/ryan-estes/beehiiv-newsletter-report/references/beehiiv-api-reference.md)), unique clicks (same
  highlight treatment).
- Unsubscribes, spam reports (flag spam reports if greater than zero; otherwise show "0 spam"
  plainly so its absence is visible, not just omitted).
