Share of Voice: Brand mentions relative to competitors.
Formula
Share of Voice = Brand mentions / (Brand + Competitor mentions) × 100 Computable definition
The canonical formula in the GASP formula grammar. The MCP server compiles it to SQL over the datasets listed below.
sum(field.mention_count where field.is_competitor = false) / sum(field.mention_count) Unit: percent (the formula yields an unscaled ratio)
Notes: Brand mentions / (brand + competitor mentions).
Data requirements
Grain: Daily aggregate · Frequency: Daily · Aggregation: aggregate (day) · Staged: no · Main source: Web Analytics.
| Field | Dataset | Type |
|---|---|---|
is_competitor | brand_mention | boolean |
mention_count | brand_mention | integer |
period_start | brand_mention | date |
Example SQL (Postgres)
SELECT (CAST((SELECT COALESCE(SUM(mention_count), 0) FROM brand_mention WHERE period_start >= :period_start AND period_start <= :period_end AND is_competitor = FALSE) AS DOUBLE PRECISION) / NULLIF((SELECT COALESCE(SUM(mention_count), 0) FROM brand_mention WHERE period_start >= :period_start AND period_start <= :period_end), 0)) AS share_of_voice From an agent: with the GASP MCP server, call
lookup_metric({ "name": "Share of Voice" }) or generate_query({ "metric": "Share of Voice", "adapter": "<your adapter JSON>" }).