Docsbook
← Back to catalog
observabilitypro_plusrequires Docsbook MCP

docs-link-click-analyzer

Measures click-through rate on every internal link and CTA button across the docs. Flags conversion-critical buttons (Upgrade, Sign up, Book demo) whose CTR sits below the site median given comparable impressions. Also surfaces "orphan traffic" — pages with pageviews but zero outgoing clicks. Produces an insight JSON report consumable by downstream actor agents. Requires PRO+ plan.

Install & use this skill

Pick your AI client — install this single skill and call it.

1. Install
npx skills add Docsbook-io/docs-skills --skill docs-link-click-analyzer -a claude-code
2. Use
/docs-link-click-analyzer

Invoke as a slash command in chat.

Or: runtime discovery via Docsbook MCP

Already connected to the Docsbook MCP server? Skip install — ask your agent to load this skill on demand.

@docsbook find_skill "docs-link-click-analyzer"

docs-link-click-analyzer — Find dead CTAs and dead-end pages

Two failure modes this skill catches:

  1. Underperforming CTA — a button gets impressions but few clicks. Example: /quick-start has 30k views, Sign up CTA has 60 clicks (0.2%). The CTA is invisible, mislabeled, or the page doesn't earn the click.
  2. Orphan traffic — a page receives pageviews but no one clicks anything on it. Either the page is a terminal (FAQ-style), or it's a dead end nobody intended.

When to run#

Workflow#

Standard four-stage docs-insights pipeline. Slice = link_clicks. See docs-utm-analyzer for canonical step-by-step.

What this skill catches#

Pattern Example finding
CTA buried Upgrade on pricing-spec.md: 12k impressions, 160 clicks (1.3% vs site median 4%). Position or wording problem.
Wrong CTA on the wrong page Sign up on webhooks.md: 800 imp, 2 clicks. Readers here are already users — the CTA should be View example payloads or Open Webhooks tab.
Orphan page legacy-export.md: 2k pv, 0 outbound clicks, 0 CTA clicks. Probably dead end — verify and either link out from it or redirect it.
Healthy CTA Book demo on enterprise.md: 1.2k imp, 110 clicks (9%). → info, replicate.

Guardrails#

Output for downstream consumption#

suggested_actions:

Acceptance criteria#

Same shape as docs-utm-analyzer. Site median CTR is reported in site_baselines.median_ctr so the actor can apply consistent reasoning.

Arguments#

Argument Type Default Description
workspace string required id or owner/repo
period string 14d 7d / 14d / 30d
min_impressions number 200 Floor before flagging
View source on GitHub →Browse full catalog repo →
Keywords
ctrctaconversionclickslinksbuttonsupgradesign-up
MCP tools used
query_eventsget_analyticsget_workspace