Skip to main content
The Citation Share tile has two views: a daily share line (your owned-domain Citation Share over time, with the previous-period overlay) and a daily volume count. Both come from the same API call — group by ["date", "root_domain"], request count and citation_share, then derive each series from the response.
Don’t average daily rows to derive a period score — they’re computed differently. See Conventions & gotchas.

How this example works

  1. Group by ["date", "root_domain"]. Each row is one (day, domain) pair with its own count and citation_share.
  2. Derive both series in one pass over the response:
    • Daily volume = sum of count across all rows for each date.
    • Daily owned-domain share = sum of citation_share across rows whose root_domain is in your owned set, per date. (Per-AI-model averaged, same as the headline tile.)
  3. Repeat for the prior window to get the overlay line.

Common follow-ups

Headline Citation Share + delta

The single-number KPI above the chart, plus its period-over-period delta.

Citation Rank by domain

Every cited domain ranked by share, with the per-row pp delta column.