
Referral Benchmarks
In short
A Talkable referral benchmark is the middle half of programs on one rate: one annual figure per program, then the 25th to 75th percentile across programs, never pooled.
In 2025 the advocacy band (sharers ÷ impressions) was:
- 7.8–16.3% on Standalone (128 programs);
- 4.7–14.4% on Floating widget (73 programs);
- 2.1–7.3% on Post-purchase (64 programs).
Compare each placement with its own band.
Why it matters
A rate on its own says nothing: 5% advocacy is inside the normal range for a post-purchase offer and below the band for a standalone page. A Talkable benchmark turns the rate into a position, and the position into a decision: the first stage that falls below its band is the stage to work on.
Most programs run several placements, and the whole-program rate is mostly the largest placement's rate, so the first action is to split your funnel by placement (one request per count, see the calculation section) before comparing anything.
How the benchmarks are built
A referral benchmark is a band for one rate on one cut (a placement, an industry, a device, a sharing channel): the range between the 25th and the 75th percentile of programs, where every program contributes exactly one figure.
The rates are the five rates of the Talkable referral funnel, each stage divided by the stage above it:
- advocacy rate = sharers ÷ impressions
- sharing rate = shares ÷ sharers
- click rate = clicks ÷ shares
- visit rate = visits ÷ clicks
- conversion rate = friend referral sales ÷ visits
The benchmark is built in two steps that never mix.
Step 1: one figure per program
Within a program, the rate is computed for each month on that month's counts, and the program's figure for the year is the simple mean of its monthly rates over the months it ran that placement. No month weighs more than another, so a peak month does not decide the year.
program figure = mean of (monthly rate), over the months the placement ran
Illustrative: a post-purchase offer records advocacy of 4.0%, 5.0%, 6.0%, 5.0%, 4.0% and 6.0% in six months. The program's figure is 5.0%. Dividing the year's totals instead would let a busy month decide: 10,000 impressions at 4.0% and 30,000 at 6.0% give 5.5% on totals, 5.0% as the benchmark counts it.
Step 2: the band across programs
Across programs nothing is averaged and nothing is added up. The figures are sorted, and the benchmark reads three points off the sorted list:
- the 25th percentile (a quarter of programs sit below it);
- the median (the middle program);
- the 75th percentile (a quarter sit above it).
The band is the 25th to the 75th percentile: the middle half of programs. One program is one vote, however large it is, so the biggest programs do not set the benchmark for everyone.
band = [25th percentile, 75th percentile] of the program figures · median = the middle program
On real data: 64 programs ran a post-purchase offer in 2025. Sorted by their advocacy figure:
- a quarter of them sit below 2.1%;
- the middle one at 4.5%;
- a quarter above 7.3% (Talkable benchmark data, 2025).
That is the band and the median, and a program at 3.0% is inside the band, below the median, in the normal half.
Three rules that follow
- Each cell has its own program count (n). A program enters a stage only if it recorded that stage, so the five rates in one column rest on five slightly different sets of programs. Multiplying one column's medians together describes no program that exists; each band is read on its own.
- Industry bands fall back to the placement band. An industry's band on a placement is published only where enough of its programs run that placement; otherwise the all-industries band for that placement applies to it.
- The Talkable benchmark is re-published every year as a new edition. The current edition covers the calendar year 2025. Keep the edition year next to every figure you quote, because the bands move between editions.
Sharing rate and click rate are counts per item, not percentages: 1.50 is one and a half shares per sharer, and a click rate under 1 means the average share brought fewer than one click.
The bands by placement
In Talkable, a placement is where the customer meets the offer, and it decides who is counted in the impressions. The benchmark covers the three placements most programs run, and the Shopify checkout extension has a band of its own (below); the API labels each row by its campaign_type.
| Placement or campaign type | Where the customer meets it | API: campaign_type | Compare with this benchmark column |
|---|---|---|---|
| Standalone | A dedicated referral page the customer navigates to on purpose; every rate on it reads high | standalone | Standalone |
| Floating widget | A tab fixed to the edge of the page; the impression is counted once the offer opens, so customers who never touch the tab are not counted | floating_widget | Floating widget |
| Post-purchase | The prompt shown after checkout to the customers the program makes eligible, by default everyone who completes an order: high reach, low rates. This column is for the classic prompt; on a store with the Shopify checkout extension, the row is read against the extension band (next row; after a switch, see the note below) | post_purchase | Post-purchase |
| Shopify checkout extension | The post-purchase offer of a Shopify store, shown at checkout through a checkout extension (Shopify no longer allows the classic post-purchase page in its checkout). After a switch or in its older setup, see the note below | none of its own: it is the post_purchase row, because a store on Shopify's new checkout runs no classic prompt | Shopify checkout extension |
| Advocate dashboard | The page where a returning advocate sees rewards and share links (a campaign type). It is a standalone-type page and in most programs it is counted together with the Standalone page, so it takes the Standalone bands, also when it is read on its own | dashboard | Standalone |
| Leaderboard, Tiered Rewards, full-bleed Invite on a page of their own | A campaign type run as its own page; it carries no campaign_type, so the API counts it in the site total only (on Post-purchase or Floating widget it takes that placement's type) | none: “Other campaigns (no type)” = total − sum of the rows | Standalone |
After a switch between the classic prompt and the Shopify checkout extension, inside the period or before it, the kind that stopped showing can still bring clicks and sales from its earlier shares into the post_purchase row. Then:
- Read the campaigns of the kind that showed (
campaign_ids[]), with any Post Event popup, against that kind's band, so the retired kind's late clicks and sales stay out of it. - This works only when all the row's popup campaigns add up to the row month by month, on each of the six counts. If a month differs, read the whole row, with no band.
- In its older setup, shown through the floating widget, the extension is counted in the
floating_widgetrow instead. Read the row's other campaigns by id against the Floating widget band, also when the extension only had clicks or sales there from earlier shares. Read an extension that showed by id against its band (the script names it).
| Rate | Standalone | Floating widget | Post-purchase | All placements |
|---|---|---|---|---|
| Advocacy rate sharers ÷ impressions | 12.1% [7.8–16.3] n=128 | 8.6% [4.7–14.4] n=73 | 4.5% [2.1–7.3] n=64 | 4.9% [3.3–8.7] n=125 |
| Sharing rate shares ÷ sharers | 1.50 [1.31–1.80] n=122 | 1.46 [1.21–1.71] n=70 | 1.16 [1.11–1.37] n=65 | 1.34 [1.26–1.49] n=119 |
| Click rate clicks ÷ shares | 1.93 [1.43–2.64] n=120 | 1.20 [0.93–1.66] n=72 | [0.61–0.89] n=66 | 1.66 [1.16–2.35] n=123 |
| Visit rate visits ÷ clicks | 43.2% [35.7–49.2] n=121 | 44.4% [35.2–53.7] n=73 | 40.0% [34.1–49.5] n=66 | 42.1% [34.1–49.0] n=111 |
| Conversion rate friend referral sales ÷ visits | 19.5% [11.1–25.0] n=108 | 19.0% [11.2–24.6] n=64 | 10.6% [6.8–15.6] n=53 | 16.6% [10.1–22.9] n=119 |
Median [25th–75th percentile], n programs, Talkable benchmark data, 2025. Bands as published; medians and program counts from the same program-level benchmark data. The all-placements column is the whole program, every placement together, each cell with its own program count.
Why the placements differ at the top and the bottom but not in the middle. Placement decides who is counted in the impressions:
- post-purchase counts every buyer, interested or not;
- the standalone page counts only people who went looking for it.
An offer created through an API origin or at Shopify checkout also records an impression with no page shown, so the impression source is part of what a comparison between stores compares.
That is why advocacy runs from 4.5% to 12.1% and conversion from 10.6% to 19.5%, while the visit rate sits at 40–44% on all three: once a friend has clicked, the friend is looking at the same claim page whatever the advocate saw.
Why post-purchase shares bring fewer than one click. A customer prompted at checkout shares less often (1.16 shares per sharer against 1.50 on the standalone page) and to people who are less likely to open the link: the middle half of post-purchase programs gets 0.61–0.89 clicks per share, against 1.43–2.64 on the standalone page.
The low rates are the audience, not the design, and the same audience is the largest a program has.
How programs spread around the band
The band is a cut through a spread of programs. The chart shows that spread for one rate, advocacy, one panel per placement: the higher the curve, the more programs sit at that advocacy rate.
What the shapes show.
- Standalone is broad and centred: programs sit on both sides of its band in similar numbers.
- Floating widget spreads the widest, from near zero to past 30%.
- Post-purchase is a narrow peak around 2–7% with a long thin tail to the right: most programs sit close together, and the few far above the median pull the mean above it.
That tail is why the benchmark reads the median and the middle half, never the mean: read your program against the band and the median, and expect the three placements to be three different worlds.
The Shopify checkout extension: its own band
Shopify no longer allows the classic post-purchase page in its checkout, so a Shopify store shows its post-purchase offer through a checkout extension: a Talkable campaign that runs inside Shopify's checkout. A store on Shopify's new checkout runs no classic post-purchase prompt, so its whole post-purchase row is the extension.
A Shopify checkout-extension campaign is always treated as the store's post-purchase offer, whichever placement it is recorded under (earlier it was set up as a Floating widget, now as Post-purchase); against the benchmarks it is read against the Shopify checkout-extension band.
| Rate | Shopify checkout extension | Programs measured |
|---|---|---|
| Advocacy rate sharers ÷ impressions | 1.3% [0.9–2.2] | 27 combinations, 23 programs |
| Sharing rate shares ÷ sharers | 1.12 [1.10–1.17] | 27 combinations, 23 programs |
| Click rate clicks ÷ shares | 1.47 [1.08–1.91] | 27 combinations, 23 programs |
| Visit rate visits ÷ clicks | 38.6% [34.6–45.7] | 27 combinations, 23 programs |
| Conversion rate friend referral sales ÷ visits | 13.4% [8.6–21.7] | 27 combinations, 23 programs |
Median [25th–75th percentile], Talkable benchmark data, 2023–2025: 23 programs, 27 program-and-variant combinations; a program running two variants of the extension counts once per variant. The band pools three years on purpose: the extension is recent and only Shopify programs run it, so one year holds too few programs for a band of its own.
How to read it. The only question is which post-purchase offer the store runs:
- If it is a Shopify checkout extension, the post-purchase row is read against the Shopify checkout-extension band;
- if it is the classic prompt, against the Post-purchase band.
The extension's median advocacy, 1.3%, is roughly a third of the 2025 post-purchase median in the table above, so the Post-purchase column would place most extension programs in its bottom quarter. Its click rate band sits above the post-purchase one and its conversion band near the all-placements one.
In the API the extension has no campaign_type of its own: its counts are the post_purchase row, or the floating_widget row in its older setup, shown through the floating widget (last point below).
Decide by the campaigns that showed the post-purchase offer in the period you read, not by what is live today. A campaign showed when it has impressions in the period, read by id (campaign_ids[]). Where each campaign's details are:
- The campaign list gives each campaign's name, tags and appearance.
- The REST list,
GET /api/v2/campaigns, also gives the event it starts on (joinable_category_names) and its live dates (live_period). - MCP
list_campaignsgives neither. There, the event is theevent_categoryof the campaign's placement inlist_placements, which lists each placement's campaigns. - MCP
list_campaignsalso returns at most itslimit(50 by default), newest first, with no next page, so an older extension can be left out. Use itstag_nameandappearancefilters. Narrow a list that comes back as long as its limit by creation dates (created_at_from,created_at_to).
Then read what showed:
- A campaign named “Shopify Extension(s)” or tagged
shopify-new-checkoutthat ran in the period means the extension. - Another campaign that starts on an order (
joinable_category_namesis["purchase"]; in MCP, its placement'sevent_categoryispurchase) means the classic prompt. - If the store switched during the period, split the period at the switch date.
- The script finds the campaigns by their impressions in the period and prints the switch date.
- If the two showed on the same days, read their campaigns by id.
- If the other kind still had clicks or sales after it stopped showing, read the figures on the campaigns of the kind that showed. This works only when all the row's popup campaigns add up to the row month by month, on each of the six counts. If a month differs, read the whole row, with no band. The script does this.
- Post Event popups start on another event, such as a review email (their
joinable_category_namesis not["purchase"]; in MCP, their placement'sevent_categoryis notpurchase). They also count in this row and in its figures.- Read them with the campaigns of the kind that showed, against that kind's band, and keep in mind that the popup is in it. That is the whole row, unless the other kind still had late clicks or sales.
- The script names them.
- If only Post Event popups showed, no campaign that starts on an order sets the band, so the row has none.
- An extension in its older setup, shown through the floating widget, is counted in the
floating_widgetrow. In the campaign list it has anappearanceother thanpopupand the name or tag above. It starts on the widget's event, such asaffiliate_member, not on an order.- Read that campaign by id (
campaign_ids[]) against the extension band, and the row's other campaigns by id against the Floating widget band. - After it stopped showing, its earlier shares can still bring clicks, visits and sales into the row: then read the other campaigns by id too.
- To find a switch between it and the classic prompt, read each one's impressions by id, by day.
- The script names such a campaign and leaves the Floating widget row without a band, also when it only had clicks, visits or sales there. When no widget showed at all, it names the campaign under the whole program, as one source of that late activity. It prints no switch date for it.
- Read that campaign by id (
When in doubt, the Talkable admin campaign list shows it.
Where a program stands
A position is read per placement, per rate, against the band in that placement's column. The method is the benchmark's own method, so the two figures are comparable.
- Pull the six counts per placement per month for the period you want to judge: impressions, sharers, shares, clicks, visits, friend referral sales (one request per count, below). Pull the whole-program counts per month separately; do not add the placement rows up.
- Compute the five rates for each month on that month's counts and average them per placement: that is your figure, built as in step 1 above.
- Place each figure against its own column. Standalone against Standalone, Floating widget against Floating widget, Post-purchase against Post-purchase.
- If the store's post-purchase offer is a Shopify checkout extension, read the post-purchase row against the Shopify checkout-extension band; the Post-purchase column is for the classic prompt.
- The Advocate dashboard is read against the Standalone column too. So is the row “Other campaigns (no type)”: Leaderboard, Tiered Rewards and full-bleed Invite campaigns that run as a page of their own.
- Reward Gleam and Claim by name are read against the all-placements column.
- Read the position in three words. Below the band = the bottom quarter of programs; within the band = the normal half; above the band = the top quarter. The median is the middle program, not a pass mark: a figure inside the band but under the median is normal.
- Find the stage to look at first. Walk each placement's five rates from advocacy down to conversion and stop at the first rate below its band: every later count is limited by it. If two placements each have such a stage, start with the placement that carries more impressions, because the same fix reaches more customers there.
The program below is made of round numbers chosen to show the reading. It is not a benchmark and not a real program.
| Rate | Post-purchase (program's rate · typical range · position in the range) | Standalone (program's rate · typical range · position in the range) | Whole program (program's rate · typical range · position in the range) |
|---|---|---|---|
| Advocacy rate | 3.0% · 2.1–7.3% · within | 7.0% · 7.8–16.3% · below | 3.4% · 3.3–8.7% · within |
| Sharing rate | 1.20 · 1.11–1.37 · within | 1.40 · 1.31–1.80 · within | 1.24 · 1.26–1.49 · below |
| Click rate | 0.70 · 0.61–0.89 · within | 2.00 · 1.43–2.64 · within | 1.00 · 1.16–2.35 · below |
| Visit rate | 30.0% · 34.1–49.5% · below | 45.0% · 35.7–49.2% · within | 36.9% · 34.1–49.0% · within |
| Conversion rate | 12.0% · 6.8–15.6% · within | 20.0% · 11.1–25.0% · within | 16.5% · 10.1–22.9% · within |
| Look first at | Visit rate | Advocacy rate | (read the placements instead) |
Illustrative program, twelve months, 90% of its impressions on Post-purchase and 10% on Standalone; bands are Talkable benchmark data, 2025, from the table above. The script in the calculation section prints the same reading, one block per placement.
Why the whole-program row reads worse than either placement. The program's sharing rate and click rate are both inside their bands on each placement, yet below the band for the whole program.
Post-purchase carries most of the shares, and post-purchase shares bring 0.70 clicks each, so the blended click rate lands at 1.00, under a band built on programs whose mix is less post-purchase-heavy than this one. Nothing in this program is broken; the all-placements band simply describes a different mix.
Among 102 programs running four placements in 2022–2024, Post-purchase carried 63% of impressions (Talkable benchmark data), so a post-purchase-heavy program scored against the all-placements band looks worse than it is, and a standalone-heavy one looks better. Judge the placements; use the whole-program row only to see the mix.
Three readings that are counting, not performance.
- A small row can show a conversion rate above its band, or above 100%, when the visit fell in an earlier month than the sale or several referrals were matched to one friend's visit; it evens out over the months you average.
- A placement with almost no impressions but clicks and sales is old share links still being opened; its click rate runs far above any band and its position means nothing, so leave it out.
- Sharers of the latest month are dated by the offer's creation and keep growing for a while, so build the figure once the month has closed.
For example, ask the Talkable AI Assistant: “Show my referral funnel for the last 12 months by month and by placement, and give me each placement's average monthly advocacy, sharing, click, visit and conversion rates.” Then place each figure against its column in the table above.
Deep dive: industry, device, channel and mix
Every figure below is Talkable benchmark data, with its period and program count beside it; each cut is read on its own.
By industry: the same placement bands, per vertical
The industry cut keeps the placement split: an apparel program's post-purchase offer is read against the apparel post-purchase band. The table shows the two rates that move most with placement, advocacy and conversion, for the six published industry buckets.
| Industry | Standalone: advocacy range (programs) · conversion range (programs) | Floating widget: advocacy range (programs) · conversion range (programs) | Post-purchase: advocacy range (programs) · conversion range (programs) | All placements: advocacy range (programs) · conversion range (programs) |
|---|---|---|---|---|
| All industries | 7.8–16.3% (128) · 11.1–25.0% (108) | 4.7–14.4% (73) · 11.2–24.6% (64) | 2.1–7.3% (64) · 6.8–15.6% (53) | 3.3–8.7% (125) · 10.1–22.9% (119) |
| Apparel | 9.0–15.3% (26) · 13.7–26.3% (22) | 5.9–16.6% (14) · 12.7–25.3% (12) | 3.1–6.6% (12) · 7.7–16.9% (9) | 2.2–6.3% (27) · 11.1–23.8% (26) |
| Beauty | 7.9–19.6% (11) · 19.8–25.3% (7) | all industries: 4.7–14.4% (73) · 11.2–24.6% (64) | 2.7–6.2% (7) · 10.5–12.4% (6) | 3.9–10.3% (13) · 15.3–21.1% (10) |
| Furniture | 9.7–15.2% (21) · 10.9–25.2% (18) | 3.5–12.4% (14) · 7.4–17.9% (11) | 3.5–5.9% (6) · 4.5–14.2% (6) | 3.3–10.7% (22) · 8.4–23.2% (24) |
| Health | 9.0–18.7% (19) · 15.3–28.0% (14) | 11.3–18.2% (12) · 18.7–25.1% (11) | 1.8–7.9% (10) · 6.7–11.1% (7) | 4.3–9.0% (18) · 14.4–27.0% (14) |
| Education | 9.7–13.0% (9) · 13.9–22.5% (8) | 3.1–11.9% (6) · 17.2–21.3% (5) | 1.4–4.8% (6) · all industries: 6.8–15.6% (53) | 2.3–7.3% (10) · 15.5–21.9% (11) |
| Hobby | 8.7–13.8% (6) · 21.6–30.9% (5) | all industries: 4.7–14.4% (73) · 11.2–24.6% (64) | all industries: 2.1–7.3% (64) · 6.8–15.6% (53) | 3.9–8.1% (6) · 9.8–23.0% (6) |
Bands (25th–75th percentile) of advocacy rate and conversion rate with the program count in brackets, Talkable benchmark data, 2025, as published by industry and placement.
Where an industry has too few programs on a placement for a band of its own, the cell says “all industries:” and gives the all-industries band for that placement, which applies to every figure after it in the cell (see how the benchmarks are built).
The same edition publishes the sharing, click and visit bands per industry.
Why the industry gap is smaller than the placement gap. Between industries, the post-purchase advocacy band moves by a few points (its lower bound sits between 1.4% and 3.5%); between placements it moves by a factor of three or more.
Read the placement first and the industry second, and treat an industry band as a refinement of the placement band, not a replacement for it.
For example, ask the Talkable AI Assistant: “Give me my post-purchase campaigns' average monthly advocacy rate and conversion rate for the last 12 months.” Then read them against your industry's post-purchase cell.
By device: the advocate's screen
Device is the advocate's phone or computer when the offer was shown and shared, read for the program as a whole, every placement together. The device cut covers the top of the funnel: advocacy rate and sharing rate.
| Advocate device | Advocacy rate | Sharing rate |
|---|---|---|
| Mobile | 5.60% [2.63–9.44] · n=144 | 1.26 [1.19–1.36] · n=135 |
| Desktop | 4.26% [2.42–7.53] · n=142 | 1.29 [1.20–1.42] · n=132 |
Median [25th–75th percentile], n programs, Talkable benchmark data, programs active January 2025 – June 2026; a program enters the advocacy cell with at least 100 impressions on that device and the sharing-rate cell with at least 30 sharers on it.
Why mobile drives the whole-program number. Mobile carries about three quarters of impressions and shares slightly more readily per impression (5.60% against 4.26% at the median), so a program's blended advocacy sits close to its mobile figure.
A program whose mobile advocacy is below the mobile band while desktop is within its band has a mobile share page to look at, not a program-wide problem; the API filter device_type=mobile gives the figure (go further).
For example, ask the AI Assistant: “Give me my average monthly advocacy rate and sharing rate for the last 12 months for mobile advocates and for desktop advocates separately.” Then read each against its device row.
By sharing channel: from the share down
A channel funnel starts at shares, so it has no advocacy rate.
| Channel | % of a program's shares sent through this channel | Sharing rate | Click rate | Visit rate | Conversion rate | Programs |
|---|---|---|---|---|---|---|
| 36.8% [23.7–50.8] | 1.18 [1.13–1.28] | 0.61 [0.46–0.86] | 71.7% [62.8–84.1] | 17.3% [9.0–25.0] | 149 | |
| Direct link | 33.9% [24.2–43.6] | 1.08 [1.05–1.12] | 3.09 [1.89–5.39] | 35.1% [24.0–44.6] | 8.0% [0.0–15.3] | 199 |
| SMS | 14.2% [6.7–25.8] | 1.03 [1.02–1.05] | 1.38 [1.05–1.77] | 40.9% [32.5–48.0] | 13.4% [6.1–22.5] | 138 |
| Native share | 3.8% [1.6–9.7] | 1.29 [1.22–1.40] | 1.57 [1.23–1.86] | 32.0% [23.0–40.1] | 10.0% [3.4–19.2] | 76 |
| 1.7% [0.1–7.0] | 1.04 [1.02–1.05] | 1.78 [1.15–2.48] | 32.1% [25.8–35.7] | 10.6% [5.5–22.7] | 36 | |
| 1.6% [0.4–6.6] | 1.23 [1.14–1.46] | 1.12 [0.79–1.80] | 19.4% [10.8–36.0] | 0.2% [0.0–3.5] | 85 |
Median [25th–75th percentile] per channel, Talkable benchmark data, January 2025 – June 2026; Programs = those recording a share through that channel. Direct link is the copied referral link. Other channels are not shown.
Why a channel band, not the placement band, judges a channel. An email goes to one named person and is opened by that person, so its click rate band tops out at 0.86 while a copied link, opened by anyone any number of times, runs 1.89–5.39.
A program's blended click rate is therefore a channel-mix figure; read a channel against its own row, and read its click rate and visit rate together.
For example, ask the AI Assistant: “Split shares, clicks, visits and friend referral sales for the last 12 months by sharing channel, with the click rate, visit rate and conversion rate for each channel.”
Placement mix: impressions against revenue
Rates say how well a placement works, not how much it brings in, because the placements show the offer to very different numbers of people. The mix is what makes a whole-program rate sit near one placement's column.
| Placement | Share of impressions | Share of referral revenue | Revenue share ÷ impression share |
|---|---|---|---|
| Standalone | 9% | 32% | 3.6× |
| Advocate dashboard | 6% | 16% | 2.7× |
| Floating widget | 22% | 26% | 1.2× |
| Post-purchase | 63% | 26% | 0.4× |
Each placement's share of a program's impressions and of its referral revenue. Talkable benchmark data, 2022–2024: impression shares over 102 programs running all four placements, referral revenue shares over the 84 of them with referral revenue on all four.
Why a low post-purchase advocacy is not a failure. Post-purchase brings in a quarter of referral revenue on nearly two thirds of impressions; the standalone page brings in a third on a tenth.
Both statements are about proportions, and the program needs both: the standalone page converts intent that already exists, the post-purchase prompt creates it.
Judge post-purchase against the post-purchase column, never against the standalone one; to compare volume, look at friend referral sales per thousand impressions across your own placements.
For example, ask the AI Assistant: “Show impressions and referral revenue by placement for the last 12 months, with each placement's share of the total.”
Calculate it for your own program
Every count in the method above comes from Talkable, one call per metric, split by month and by placement in the same request. The counts equal the Metrics Aggregation Report in the Talkable admin for the same period, campaigns and filters. There are three ways to get them:
- Talkable AI Assistant, in your Talkable admin: ask in one sentence, no set-up.
- Talkable MCP server: your own agent (OpenClaw, Claude Code or any other) calls the tool
calculate_metric. - Talkable metrics API: an HTTP request or the Python script below, with your API key.
The Talkable MCP server and the AI Assistant are enabled per site by your Customer Success Manager (CSM). The HTTP and Python examples need only the API key.
Get your API key
- In the Talkable admin, open All site settings → General → Integrations → API integration.
- Copy two values: the API key (the site's private key; keep it server-side) and the Site ID, which is the site slug. A scoped key that an account admin creates under Account settings → API Keys & MCP works for these requests too.
- Set them as
TALKABLE_API_KEYandTALKABLE_SITE_SLUGin your environment. No example on this page contains a key.
Authentication and error codes: Talkable API introduction.
What Talkable tracks
| Article term | API metric identifier | Metrics Aggregation | Returns |
|---|---|---|---|
| Impressions | advocate_impressions | Advocate Impressions | number |
| Sharers | sharers | Sharers | number |
| Shares | shares | Shares | number |
| Clicks | clicks | Offer Clicks | number |
| Visits | visits | Site Visits | number |
| Friend referral sales | ideal_friend_sales_count | # Ideal FR sales | number |
| Advocacy rate | advocacy_percentage | Advocacy percentage | percent, on the period's totals |
| Sharing rate | sharing_rate | Sharing rate | ratio, on the period's totals |
| Click rate | click_rate | Click Rate | ratio, not a percent (1.5 = 150 clicks per 100 shares), on the period's totals |
| Visit rate | visit_percentage | Visit Percentage | percent, on the period's totals |
| Conversion rate | conversion_percentage | Friend Conversion Percentage | percent, on the period's totals |
How a call works
- The request:
GET https://www.talkable.com/api/v2/metrics/{metric}/segmentizewithsite_slug,start_date,end_dateand thesegment_byparameters below. - The answer: each row comes back as
{"plain": …, "formatted": "…", "result_type": …}plus the segment labels. - Counts, then rates: the script pulls the six counts per month and builds the figure from them. The five rate metrics give the same rates on period totals; they are the ones to show in a report.
- Through the Talkable MCP server the tool is
calculate_metric: the same identifiers, several metrics in one call.
API reference: Talkable API documentation.
Filters and segmentations for this question
| Parameter | Values | Use it to |
|---|---|---|
start_date, end_date | YYYY-MM-DD, e.g. 2025-10-01 (REST also takes M/D/YYYY); both days included; days run in the account time zone | Set the period; twelve closed months match the benchmark's year best |
segment_by[period]=month together with segment_by[campaign_types]=true | one row per month and placement: post_purchase, standalone, dashboard, floating_widget, gleam, claim_by_name (the placement table gives the names). On a store whose post-purchase offer is a Shopify checkout extension, the post_purchase row is the extension (in its older setup, shown through the floating widget, it is in the floating_widget row: see the extension band). Campaigns with no campaign type (Leaderboard, Tiered Rewards or full-bleed Invite run as a page of their own; on Post-purchase or Floating widget they take that placement's type) count in the site total only; the script prints site total − sum of the rows as “Other campaigns (no type)” | The counts the benchmark figure is built from, one row per month and placement |
segment_by[period]=month alone | one row per month | The whole-program figure, read against the all-placements column |
device_type | mobile or desktop: the advocate's device for impressions, sharers and shares (the friend's for clicks and visits, the buyer's for sales) | Advocacy and sharing rate on one device, against the device bands |
segment_by[sharing_channels]=true | one row per channel | Shares, clicks, visits and friend referral sales by channel, against the channel bands |
campaign_ids[] | ids from GET /api/v2/campaigns | One campaign against its placement's band |
exclude_qa_generated | default true | Test (QA) traffic, from the testing IPs, emails and phones configured for the site, is already out; false brings it back into the activity metrics (impressions to visits), while sales metrics always leave it out |
MCP calculate_metric | segment_by: ["date_range", "campaign_types"] with aggregate_period: "month" (day, week or month); also segment_by device_type, sharing_channels, campaigns; filters exclude_qa, campaign_ids, sharing_channel_ids, traffic_source_ids (ids, not names); dates YYYY-MM-DD in period_start / period_end | The same split, several metrics per call |
Examples in four tabs
The same comparison four ways: ask in plain language, call the Talkable MCP server, send the HTTP request, or run the Python script.
Talkable AI Assistant (in your Talkable admin; what it can report)
The Assistant knows the Talkable metrics and your campaigns, so one sentence gets your own figures; you then place them against the table above:
Show my referral funnel for October 1, 2025 – September 30, 2026 by month and by placement, and for each placement give me the average of its monthly advocacy, sharing, click, visit and conversion rates.
Your own agent (OpenClaw, Claude Code or any other agent)
Your agent does not know how Talkable defines the funnel and builds its benchmark bands. Send it the same sentence and use the method in this report:
Show my referral funnel for October 1, 2025 – September 30, 2026 by month and by placement, and for each placement give me the average of its monthly advocacy, sharing, click, visit and conversion rates. Use the method in this report: https://www.talkable.com/analytics/benchmarks-by-placement
The agent also needs your API key or a connection to the Talkable MCP server.
Talkable MCP server, tool calculate_metric
To connect your agent (endpoint, credentials, client set-up), see the Talkable MCP server documentation.
{
"site_slug": "your-site",
"metrics": ["advocate_impressions", "sharers", "shares", "clicks", "visits",
"ideal_friend_sales_count"],
"period_type": "custom",
"period_start": "2025-10-01",
"period_end": "2026-09-30",
"segment_by": ["date_range", "campaign_types"],
"aggregate_period": "month"
}
One call returns the six counts for every month and placement, keyed by month and campaign_type, with a total per metric (illustrative values, on the worked example):
{"metrics": {
"advocate_impressions": {
"date_range=2025-10-01|campaign_types=post_purchase": 9000,
"date_range=2025-10-01|campaign_types=standalone": 1000,
"date_range=2025-11-01|campaign_types=post_purchase": 9000,
"…": "…",
"total": 120000},
"sharers": {"date_range=2025-10-01|campaign_types=post_purchase": 270, "…": "…"},
"…": {}},
"filters": {"period": {"from": "2025-10-01", "to": "2026-09-30"}, "aggregate_period": "month",
"exclude_qa_generated": true, "exclude_refunded": false},
"segmentations": ["date_range", "campaign_types"]}
- Whole-program months: run the same call with
"segment_by": ["date_range"]. - The figures: compute the monthly rates from the counts, average them per placement, and place each figure against the bands in the report method.
- Which band the
post_purchaserow takes: decide by the campaigns that showed it in the period, not by today's Live status: a campaign named “Shopify Extension(s)” or taggedshopify-new-checkoutmeans the Shopify checkout-extension band, any other campaign that starts on an order the Post-purchase band.list_campaignsdoes not return the event a campaign starts on or its live dates, and it returns at most itslimit(50 by default), newest first, with no next page. List the popups with"appearance": "popup"and the extensions with"tag_name": "shopify-new-checkout"; if a list comes back as long as its limit, narrow it withcreated_at_fromandcreated_at_tountil each part is shorter. A campaign starts on an order when its placement'sevent_categoryinlist_placementsispurchase, and it showed in the period when it has impressions with"campaign_ids": [ID]. Before you take a band, check that the popup campaigns you found add up to the row month by month, each of the six counts: if they do not, a campaign is missing from your lists and the row has no band; take the campaigns from the REST list (GET /api/v2/campaigns) or the Talkable admin instead. If the store switched during the period and no day showed both, split the period at the switch date; if the two showed on the same days, read their campaigns by id. If the other kind still had clicks or sales after it stopped showing, read the figures on the campaigns of the kind that showed ("campaign_ids": [ID, …]), provided all the row's popup campaigns add up to the row month by month, each of the six counts; if a month differs, read the whole row, with no band. A Post Event popup, one that starts on another event such as a review email, stays in the row and in its figures: read it with the campaigns of the kind that showed, against that kind's band (the whole row, unless the other kind still had clicks or sales after it stopped showing). If only Post Event popups showed, no campaign that starts on an order sets the band, so the row has none. - A Shopify checkout extension in its older setup, shown through the floating widget (an
appearanceother thanpopupinlist_campaigns, and the extension's name or tag), is in thefloating_widgetrow: read it with"campaign_ids": [ID]against the extension band, and the row's other campaigns the same way against the Floating widget band. If it no longer showed but still had clicks, visits or sales in the row, read the other campaigns by id too. Find it with"tag_name": "shopify-new-checkout", and one named “Shopify Extension(s)” without the tag in the"appearance": "widget"list, each narrowed by creation dates while it comes back as long as its limit. If you cannot list every widget campaign, or the widget campaigns you read do not add up to the row, the Floating widget row has no band.
HTTP (curl): the raw request any language can send
The responses below are illustrative, on the worked example: the shapes the Python script parses. Authentication and errors: Talkable API introduction.
# the six counts by month and placement: one request per metric (advocate_impressions, sharers,
# shares, clicks, visits, ideal_friend_sales_count)
curl -g -H "Authorization: Bearer $TALKABLE_API_KEY" \
"https://www.talkable.com/api/v2/metrics/sharers/segmentize?site_slug=$TALKABLE_SITE_SLUG&start_date=2025-10-01&end_date=2026-09-30&segment_by[period]=month&segment_by[campaign_types]=true"
# -> {"ok":true,"result":{"segmented":[
# {"plain":270,"formatted":"270","result_type":"number","period":"10/1/25 - 10/31/25","campaign_type":"post_purchase"},
# {"plain":70,"formatted":"70","result_type":"number","period":"10/1/25 - 10/31/25","campaign_type":"standalone"},
# {"plain":0,"formatted":"0","result_type":"number","period":"10/1/25 - 10/31/25","campaign_type":"floating_widget"},
# {"plain":260,"formatted":"260","result_type":"number","period":"11/1/25 - 11/30/25","campaign_type":"post_purchase"},
# …]}}
# the whole program by month: the same request without segment_by[campaign_types]
curl -g -H "Authorization: Bearer $TALKABLE_API_KEY" \
"https://www.talkable.com/api/v2/metrics/sharers/segmentize?site_slug=$TALKABLE_SITE_SLUG&start_date=2025-10-01&end_date=2026-09-30&segment_by[period]=month"
# -> {"ok":true,"result":{"segmented":[
# {"plain":340,"formatted":"340","result_type":"number","period":"10/1/25 - 10/31/25"},
# {"plain":330,"formatted":"330","result_type":"number","period":"11/1/25 - 11/30/25"},
# …]}}
# campaign list: decide the post-purchase band by the campaigns that showed it in the period,
# not by today's Live status.
curl -H "Authorization: Bearer $TALKABLE_API_KEY" "https://www.talkable.com/api/v2/campaigns?site_slug=$TALKABLE_SITE_SLUG"
# -> {"ok":true,"result":{"campaigns":[{"id":123456,"name":"Shopify Extension","slug":"…","appearance":"popup","status":"Live",
# "tag_names":["shopify-new-checkout"],…},…]}}
- Repeat both requests for each of the six identifiers: twelve requests, plus one for the campaign list. The Python script also makes six requests per popup campaign, filtered by its id, to find which post-purchase offer showed in the period.
- The period labels come back as M/D/YY ranges, whatever date format you send.
- The
-gflag stops curl from interpreting the square brackets insegment_by[…]. - A period that comes back as HTTP 503 or 422 is pulled as two shorter ones (troubleshooting).
Python: the full script
Prints the six counts per month and placement, the five figures as the benchmark builds them, each placed against its band (the post-purchase row against the Shopify checkout-extension band when the extension showed in the period; the Floating widget row with no band and a note when the extension in its older setup showed in it or still had clicks, visits or sales in it), and the stage to look at first. It also names the months in which a placement had under 30 impressions: if the placement was switched off, leave them out. Needs Python 3 and requests (pip install requests); reads the key from TALKABLE_API_KEY and TALKABLE_SITE_SLUG.
"""Where a referral program stands: its five funnel rates per placement against the Talkable benchmark bands.
Usage:
pip install requests
export TALKABLE_API_KEY=... # All site settings -> General -> Integrations -> API integration: "API key"
export TALKABLE_SITE_SLUG=... # same page, "Site ID"
python3 benchmark_position.py 2025-10-01 2026-09-30
Dates are YYYY-MM-DD, both days included, in the account time zone. Test (QA) traffic is excluded by default.
Method (the same one the benchmark uses): for each placement, the rates of each month are computed on that
month's counts, and the program's figure is the simple mean of those monthly rates over the months with a
denominator above zero. Each figure is then placed against the band for that placement: below the 25th
percentile, within the band (the middle half of programs), or above the 75th percentile; a figure exactly on a
band end is within the band. Figures print to one decimal for percents and two for ratios, with more decimals
when rounding would put a figure on the other side of a band end, up to four; a figure still too close to tell
apart prints as "just below" or "just above" the end. Band ends print to two decimals; a rate with no denominator
prints "n/a".
The band is built from the months a placement ran. A switched-off placement's later clicks and visits can still
give some of its rates a denominator, so the script names the months in which a placement had under 30
impressions: if the placement was switched off, run the report for the months it showed and read that against the
band. A placement with no impressions at all in the period has no row; the script names it under the whole
program, whose figures include it.
Which band the post-purchase row reads against is decided by the campaigns that showed it in the requested
period (their impressions in it), not by today's Live status: a campaign named "Shopify Extension(s)" or tagged
shopify-new-checkout means the Shopify checkout extension band, any other campaign that starts on an order the
Post-purchase band. For each popup campaign the script pulls the six counts of the period by month, filtered by its
id. A Post Event popup (one that starts on another event, such as a review-email popup; in the campaign list its
joinable_category_names is not ["purchase"]) also counts in this row and in its figures, read with the campaigns of
the kind that showed; the script names the popup. When only Post Event popups showed, no campaign that starts on an
order sets the band, and the row has none. When the other checkout kind still had clicks or sales after it stopped
showing, the counts keep the whole row, and the figures, the thin-month note included, use only the campaigns of the
kind that showed, with the Post Event popups; if those campaigns do not add up to the row
month by month, the figures use the whole row and it has no band. If the store switched from the classic
prompt to the extension inside the period and no day had both, the script prints the switch date: run the report
for the days before it and for the days from it. When the two showed on the same days, read their campaigns by id.
A Shopify checkout extension in its older setup, shown through the floating widget (in the campaign list: an
appearance other than popup and the extension's name or tag; it starts on the widget's event, such as
["affiliate_member"], not on an order), counts in the Floating widget row, not in the post-purchase row. When the
Floating widget row ran, the script reads each such campaign's six counts in that row, stopping at the first count it
finds. If one showed, still had clicks, visits or sales from earlier shares after it stopped showing, or a read
fails, the script names it and leaves the Floating widget row without a band: read the row's other campaigns by id
against the Floating widget band, and a campaign that showed by id against the Shopify checkout-extension band. The
script prints no switch date for it: a switch between it and the classic prompt is the day one stopped and the
other started showing.
"""
import os
import re
import sys
import time
from datetime import date, timedelta
from fractions import Fraction
from functools import lru_cache
import requests
API = "https://www.talkable.com/api/v2"
KEY = os.environ["TALKABLE_API_KEY"]
SITE = os.environ["TALKABLE_SITE_SLUG"]
STAGES = [ # article term -> API metric identifier
("Impressions", "advocate_impressions"),
("Sharers", "sharers"),
("Shares", "shares"),
("Clicks", "clicks"),
("Visits", "visits"),
("Friend referral sales", "ideal_friend_sales_count"),
]
RATES = [ # rate -> (numerator stage, denominator stage, unit)
("Advocacy rate", "Sharers", "Impressions", "%"),
("Sharing rate", "Shares", "Sharers", "x"),
("Click rate", "Clicks", "Shares", "x"),
("Visit rate", "Visits", "Clicks", "%"),
("Conversion rate", "Friend referral sales", "Visits", "%"),
]
PLACEMENT = { # API campaign_type -> placement or campaign type name in the Talkable admin
"post_purchase": "Post-purchase",
"standalone": "Standalone",
"dashboard": "Advocate dashboard",
"floating_widget": "Floating widget",
"gleam": "Reward Gleam",
"claim_by_name": "Claim by name",
}
OTHER = "Other campaigns (no type)" # Leaderboard, Tiered Rewards, full-bleed Invite on a page of their own: in the site total only
EXTENSION = "shopify_extension" # band key for the post_purchase row of a store on Shopify's new checkout
READ_AS = {"dashboard": "standalone", "other": "standalone"} # standalone-type pages: Standalone bands
CHECKOUT = {"post_purchase": "the classic prompt", EXTENSION: "the Shopify checkout extension"}
PRESENCE = ("Impressions", "Shares", "Clicks", "Visits") # what shows a campaign with no type is there (see collect)
MIN_IMPRESSIONS = 30 # a month under this is named: a switched-off placement's leftover clicks and sales
# Talkable benchmark data, 2025 (Shopify checkout extension: 2023-2025): (25th percentile, 75th percentile) of the
# program-level annual figure, per placement, in the units above. "all" = the whole program, every placement together.
BANDS = {
"all": {"Advocacy rate": (3.31, 8.72), "Sharing rate": (1.26, 1.49), "Click rate": (1.16, 2.35),
"Visit rate": (34.1, 49.0), "Conversion rate": (10.09, 22.90)},
"standalone": {"Advocacy rate": (7.79, 16.32), "Sharing rate": (1.31, 1.80), "Click rate": (1.43, 2.64),
"Visit rate": (35.70, 49.16), "Conversion rate": (11.09, 25.00)},
"floating_widget": {"Advocacy rate": (4.72, 14.41), "Sharing rate": (1.21, 1.71), "Click rate": (0.93, 1.66),
"Visit rate": (35.21, 53.69), "Conversion rate": (11.19, 24.56)},
"post_purchase": {"Advocacy rate": (2.12, 7.27), "Sharing rate": (1.11, 1.37), "Click rate": (0.61, 0.89),
"Visit rate": (34.11, 49.48), "Conversion rate": (6.84, 15.61)},
EXTENSION: {"Advocacy rate": (0.89, 2.17), "Sharing rate": (1.10, 1.17), "Click rate": (1.08, 1.91),
"Visit rate": (34.6, 45.7), "Conversion rate": (8.6, 21.7)},
}
class Narrow(Exception):
"""The request was too large for one call (HTTP 422 over 1,000 rows, or a 503 that persists): split the period."""
def get(path, **params):
params = {"site_slug": SITE, **params}
for attempt in range(5):
r = requests.get(f"{API}/{path}", params=params,
headers={"Authorization": f"Bearer {KEY}"}, timeout=120)
if r.status_code in (429, 503) and attempt < 4: # 429 API throttle, 503 metrics request budget spent
time.sleep(5 * 2 ** attempt) # 5, 10, 20, 40 s
continue
try:
body = r.json()
except ValueError:
body = {}
if r.status_code in (422, 503): # over 1,000 rows, or still over budget: the caller narrows the period
raise Narrow(body.get("error_message", f"HTTP {r.status_code}"))
if body.get("ok") is False: # e.g. 400 "No metric found."
raise RuntimeError(f"{path}: HTTP {r.status_code}: {body.get('error_message')}")
r.raise_for_status()
return body["result"]
def halves(start, end):
"""Split a YYYY-MM-DD range at a month boundary: (start, end of the middle month), (next month, end)."""
s, e = date.fromisoformat(start), date.fromisoformat(end)
months = (e.year - s.year) * 12 + e.month - s.month + 1
if months < 2:
return None
first_of_second = date(s.year + (s.month - 1 + months // 2) // 12, (s.month - 1 + months // 2) % 12 + 1, 1)
return (start, (first_of_second - timedelta(days=1)).isoformat()), (first_of_second.isoformat(), end)
def monthly(metric, start, end, by_type):
"""One row per month (and per placement when by_type): {'period', 'campaign_type'?, 'plain'}."""
params = {"segment_by[period]": "month"}
if by_type:
params["segment_by[campaign_types]"] = "true"
try:
return get(f"metrics/{metric}/segmentize", start_date=start, end_date=end, **params)["segmented"]
except Narrow as e:
parts = halves(start, end)
if parts is None:
raise RuntimeError(f"{metric}: {e}") from None
return [row for a, b in parts for row in monthly(metric, a, b, by_type)]
def day_of(period):
"""'7/15/26 - 7/15/26' -> '2026-07-15' (the first day of a period row)."""
m, d, y = re.match(r"(\d{1,2})/(\d{1,2})/(\d{2,4})", period).groups()
return date(int(y) + 2000 if len(y) == 2 else int(y), int(m), int(d)).isoformat()
def popup_rows(metric, campaign_id, start, end, row="post_purchase", **params):
"""One campaign's rows in one placement row of the period (by default the post_purchase row)."""
rows = get(f"metrics/{metric}/segmentize", start_date=start, end_date=end,
**{"campaign_ids[]": [campaign_id], "segment_by[campaign_types]": "true", **params})["segmented"]
return [r for r in rows if r.get("campaign_type") == row]
def day_ranges(start, end, size=1000):
"""The period in pieces of at most 1,000 days: one by-day request covers at most 1,000 days."""
a, z = date.fromisoformat(start), date.fromisoformat(end)
while a <= z:
b = min(z, a + timedelta(days=size - 1))
yield a.isoformat(), b.isoformat()
a = b + timedelta(days=1)
def switch_day(kinds, start, end):
"""-> (from, to, day) when one checkout kind stopped before the other started showing (no day with both), else None."""
days = {}
for key, ids in kinds.items():
days[key] = sorted(day_of(r["period"]) for i in ids for a, z in day_ranges(start, end)
for r in popup_rows("advocate_impressions", i, a, z, **{"segment_by[period]": "day"})
if r["plain"])
if not all(days.values()):
return None
(first, a), (then, b) = sorted(days.items(), key=lambda kv: kv[1][0])
return (first, then, b[0]) if a[-1] < b[0] else None
@lru_cache(maxsize=None)
def campaign_list():
"""-> (campaigns, error): the site's campaigns, read once. A failed read is kept too, so the post-purchase and
Floating widget checks both use the same outcome and the retries run only once."""
try:
return get("campaigns")["campaigns"], None
except (Narrow, RuntimeError, requests.RequestException) as e:
return None, e
def is_extension(c):
"""A Shopify checkout-extension campaign: named "Shopify Extension(s)" or tagged shopify-new-checkout."""
return "shopify extension" in (c.get("name") or "").lower() or "shopify-new-checkout" in (c.get("tag_names") or [])
def widget_extensions(start, end):
"""-> (showed, late, problem): the Shopify checkout-extension campaigns in their older setup, shown through the
floating widget, with counts in the floating_widget row of the period: showed = with impressions in it, late = with
no impressions but clicks, visits or sales from earlier shares; problem says which read failed, else None.
Such a campaign starts on the widget's event (["affiliate_member"]), so its name or tag identifies it."""
campaigns, error = campaign_list()
if error:
return [], [], f"could not read the campaign list ({error})"
showed, late = [], []
for c in campaigns:
if c.get("appearance") in (None, "popup") or not is_extension(c):
continue
for term, metric in STAGES: # stop at the first count in the row: one is enough to withhold the band
try:
rows = popup_rows(metric, c["id"], start, end, "floating_widget", **{"segment_by[period]": "month"})
except (Narrow, RuntimeError, requests.RequestException) as e:
return showed, late, f"could not read campaign {c['id']} ({metric}: {e})"
if any(r["plain"] for r in rows):
(showed if term == "Impressions" else late).append(str(c["id"]))
break
return showed, late, None
def post_purchase_band(start, end, months):
"""-> (band key or None, notes, figure months or None): the band of the post_purchase row, from the campaigns that
showed it in the period. The figure months are given when the other checkout kind still had clicks or sales in the
row after it stopped showing: the counts by month of the band's kind and the Post Event popups only."""
expected = {t: sum(m.get(t, 0) for m in months.values()) for t, _ in STAGES}
covered = {t: 0 for t, _ in STAGES}
kinds = {} # band key -> ids of the order-started popups with impressions in the period
by_kind = {} # kind ("post_purchase", EXTENSION, "post_event") -> {month: {stage: count}} of its campaigns
post_event = []
campaigns, error = campaign_list()
if error:
return None, [f"could not read the campaign list ({error}): check in the Talkable admin which post-purchase "
"offer ran"], None
for c in campaigns:
if c.get("appearance") and c["appearance"] != "popup": # only popups count in the post_purchase row
continue
counts, monthly_counts = {}, {}
for term, metric in STAGES:
try:
rows = popup_rows(metric, c["id"], start, end, **{"segment_by[period]": "month"})
except (Narrow, RuntimeError, requests.RequestException) as e:
return None, [f"could not read campaign {c['id']} ({metric}: {e}): check in the Talkable admin "
"which post-purchase offer ran"], None
counts[term] = sum(r["plain"] for r in rows)
for r in rows:
monthly_counts.setdefault(r["period"], {})[term] = r["plain"]
for term in covered:
covered[term] += counts[term]
if c.get("joinable_category_names") != ["purchase"]: # a Post Event popup, e.g. a review-email popup
kind = "post_event"
if any(counts.values()):
post_event.append(str(c["id"]))
else:
kind = EXTENSION if is_extension(c) else "post_purchase"
for month, stage_counts in monthly_counts.items():
row = by_kind.setdefault(kind, {}).setdefault(month, {})
for term, n in stage_counts.items():
row[term] = row.get(term, 0) + n
if kind == "post_event" or not counts["Impressions"]:
continue # late clicks or sales of a campaign that no longer showed do not decide the band
kinds.setdefault(kind, []).append(c["id"])
notes = [f"Post Event popups in this row (campaign {', '.join(post_event)})"] if post_event else []
if covered != expected:
return None, notes + ["the popup campaigns do not add up to the post-purchase row: check in the Talkable "
"admin which post-purchase offer ran"], None
if not kinds: # nothing that starts on an order showed: no band to read the row against
return None, [f"only Post Event popups showed in this row (campaign {', '.join(post_event)}): no campaign "
"that starts on an order showed in the period, so the row has no band"], None
if len(kinds) > 1:
try:
switch = switch_day(kinds, start, end)
except (Narrow, RuntimeError, requests.RequestException):
switch = None
if switch:
first, then, day = switch
before = (date.fromisoformat(day) - timedelta(days=1)).isoformat()
return None, notes + [f"the store switched from {CHECKOUT[first]} to {CHECKOUT[then]} on {day}: run the "
f"report for {start} -> {before} and for {day} -> {end}"], None
return None, notes + ["the classic prompt and the Shopify checkout extension both showed in this period: "
"read their campaigns by id"], None
kind = next(iter(kinds))
late = [k for k in CHECKOUT if k != kind and any(n for m in by_kind.get(k, {}).values() for n in m.values())]
if not late:
if notes: # only then do the figures use the whole row
notes = [notes[0] + ": the whole row is read against its band, with them in it"]
return kind, notes, None
off_months = [p for p in set(months) | {m for k in by_kind.values() for m in k} for t, _ in STAGES
if months.get(p, {}).get(t, 0) != sum(k.get(p, {}).get(t, 0) for k in by_kind.values())]
if off_months: # equal period totals, different months: two reads straddled a change (e.g. a referral voided)
return None, notes + ["the popup campaigns add up to the post-purchase row over the period but not month by month "
f"({', '.join(sorted({month_label(p) for p in off_months}))}; read a moment apart): the "
"figures below use the whole row, with no band; run the report again"], None
own = {} # the band's kind and the Post Event popups, month by month
for k in (kind, "post_event"):
for month, stage_counts in by_kind.get(k, {}).items():
for term, n in stage_counts.items():
own.setdefault(month, {})[term] = own.get(month, {}).get(term, 0) + n
return kind, notes + [f"{CHECKOUT[late[0]]} still had clicks or sales in this period after it stopped showing: "
f"they are in the counts above, but the figures below use only {CHECKOUT[kind]}'s campaigns"
+ (" and the Post Event popups" if post_event else "") + ", so its band is read on its own "
"activity"], own
def collect(start, end):
"""-> {campaign_type | 'all' | 'other': {month: {stage: count}}}; 12 calls in all (more when a period is split)."""
table = {}
for term, metric in STAGES:
for row in monthly(metric, start, end, by_type=False):
table.setdefault("all", {}).setdefault(row["period"], {})[term] = row["plain"]
for row in monthly(metric, start, end, by_type=True):
table.setdefault(row["campaign_type"], {}).setdefault(row["period"], {})[term] = row["plain"]
# campaigns with no campaign type count in the site total only: site total - sum of the typed rows, per month.
# Their presence shows in impressions, shares, clicks and visits; sharers and sales can drift by a few units
# between the two splits, so those two are floored at zero and the row is printed only when a campaign shows.
other = {}
for month, totals in table["all"].items():
typed = {t: sum(table[ct].get(month, {}).get(t, 0) for ct in table if ct != "all") for t, _ in STAGES}
other[month] = {t: max(totals.get(t, 0) - typed[t], 0) for t, _ in STAGES}
if any(m[t] for m in other.values() for t in PRESENCE):
table["other"] = other
return table
def rate(num, den, unit):
"""Exact (a fraction), so a figure exactly on a band end is within the band; it prints rounded."""
if not den:
return None
r = Fraction(num) / Fraction(den)
return 100 * r if unit == "%" else r
def exact(x):
"""A band end as the exact decimal it is written as."""
return Fraction(str(x))
def figure(months, name, num_stage, den_stage, unit):
"""The program's figure for one rate: mean of the monthly rates over the months with a denominator."""
values = [rate(m.get(num_stage, 0), m.get(den_stage, 0), unit) for m in months.values()]
values = [v for v in values if v is not None]
return (sum(values) / len(values), len(values)) if values else (None, 0)
def month_label(period):
"""'7/1/26 - 7/31/26' -> '2026-07'."""
return day_of(period)[:7]
def thin_months(months, stages):
"""Months with activity on these stages but under MIN_IMPRESSIONS impressions."""
return sorted(month_label(p) for p, m in months.items()
if m.get("Impressions", 0) < MIN_IMPRESSIONS and any(m.get(t, 0) for t in stages))
def position(value, band):
if value is None or band is None:
return ""
lo, hi = exact(band[0]), exact(band[1])
return "below band" if value < lo else "above band" if value > hi else "within band"
def fmt(value, unit, band=None):
"""Rounded for print; with a band, one more decimal while rounding would put the figure on the other side of an end."""
if value is None:
return "n/a"
value, places, sign = Fraction(value), 1 if unit == "%" else 2, "%" if unit == "%" else ""
while band and places < 4 and position(round(value, places), band) != position(value, band):
places += 1
if band and position(round(value, places), band) != position(value, band): # still rounds onto the end
side, end = ("just below", band[0]) if position(value, band) == "below band" else ("just above", band[1])
return f"{side} {end:.2f}{sign}"
return f"{float(round(value, places)):.{places}f}{sign}"
def label(ct, checkout):
if ct == "post_purchase" and checkout == EXTENSION:
return "Post-purchase (Shopify checkout extension)"
return "Whole program" if ct == "all" else OTHER if ct == "other" else PLACEMENT.get(ct, ct)
def report(start, end):
table = collect(start, end)
ran = [ct for ct in table if ct not in ("all", "other") and any(m.get("Impressions") for m in table[ct].values())]
checkout, checkout_notes, own = (post_purchase_band(start, end, table["post_purchase"])
if "post_purchase" in ran else (None, [], None))
stages = [t for t, _ in STAGES]
off = [ct for ct in table if ct not in ("all", "other") and ct not in ran and thin_months(table[ct], stages)]
extension_ids, late_ids, problem = (widget_extensions(start, end) if "floating_widget" in ran + off
else ([], [], None))
notes = {"post_purchase": checkout_notes, "floating_widget": []}
if extension_ids:
notes["floating_widget"].append(
f"campaign {', '.join(extension_ids)} is the Shopify checkout extension in its older setup, shown through "
"the floating widget, so this row has no band: read that campaign by id (campaign_ids[]) against the "
"Shopify checkout-extension band, and the row's other campaigns by id against the Floating widget band. "
"A switch between it and the classic prompt is the day one stopped and the other started showing: read "
"each by id, by day")
if late_ids:
notes["floating_widget"].append(
f"campaign {', '.join(late_ids)}, the Shopify checkout extension in its older setup, no longer showed in "
"this period but still had clicks, visits or sales in the floating widget row from its earlier shares, so "
"this row has no band: read the row's other campaigns by id (campaign_ids[]) against the Floating widget "
"band")
if problem:
notes["floating_widget"].append(
f"{problem}, so this row has no band: check in the Talkable admin whether the Shopify checkout extension "
"in its older setup, shown through the floating widget, ran in the period or before it; if it never did, "
"the row reads against the Floating widget band")
order = ["all"] + [ct for ct in PLACEMENT if ct in ran] + sorted(set(ran) - set(PLACEMENT)) + (["other"] if "other" in table else [])
print(f"Referral benchmark position, site {SITE}, {start} -> {end}")
print(f"Figures = mean of monthly rates per placement; bands = Talkable benchmark data, 2025 (25th-75th percentile;"
f" Shopify checkout extension 2023-2025).\n")
print("placement".ljust(42) + "months".rjust(7) + "".join(t[:12].rjust(13) for t, _ in STAGES))
for ct in order:
months = table[ct]
totals = {t: sum(m.get(t, 0) for m in months.values()) for t, _ in STAGES}
print(label(ct, checkout).ljust(42) + str(len(months)).rjust(7) + "".join(f"{totals[t]:>13,}" for t, _ in STAGES))
print()
for ct in order:
key = checkout if ct == "post_purchase" else READ_AS.get(ct, ct)
no_band = (ct == "post_purchase" and key is None) or (ct == "floating_widget" and bool(notes["floating_widget"]))
band = None if no_band else BANDS.get(key) or BANDS["all"] # Reward Gleam, Claim by name: the whole-program band
print(("Whole program (all placements)" if ct == "all" else label(ct, checkout))
+ (" (read against the Standalone band)" if READ_AS.get(ct) == "standalone"
else "" if ct in BANDS else " (read against the whole-program band)"))
for note in notes.get(ct, []):
print(f" -> {note}")
first = None
for name, num, den, unit in RATES:
value, n = figure(own if ct == "post_purchase" and own else table[ct], name, num, den, unit)
b = band[name] if band else None
pos = position(value, b)
ends = " - ".join(f"{x:.2f}" + ("%" if unit == "%" else "") for x in b) if b else ""
comparison = f"band {ends:<20}{pos}" if b else "no band (see the note above)"
print(f" {name:<17}{fmt(value, unit, b):>9} {comparison}")
if first is None and pos == "below band":
first = name
if ct == "all":
print(" -> the whole-program row reads the placement mix; judge each placement against its own band")
for p in off:
source = ""
if p == "floating_widget" and late_ids: # no widget showed: name the extension among its sources
source = (f" Campaign {', '.join(late_ids)}, the Shopify checkout extension in its older setup, "
"brought some of it from its earlier shares (not necessarily in every month listed).")
elif p == "floating_widget" and problem:
source = (f" Whether the Shopify checkout extension in its older setup brought it is not known: "
f"{problem}.")
print(f" -> {label(p, checkout)}: no impressions in this period, but activity in "
f"{', '.join(thin_months(table[p], stages))} (a switched-off placement's later clicks and sales): "
"it is in the whole-program figures above and has no row of its own." + source)
elif band:
print(f" -> look first at: {first}" if first else " -> no rate below its band")
figures = own if ct == "post_purchase" and own else table[ct] # the months the figures are built from
thin = thin_months(figures, PRESENCE if ct == "other" else stages) if ct != "all" else []
if thin:
print(f" -> {label(ct, checkout)}: {', '.join(thin)} had under {MIN_IMPRESSIONS} impressions a month. Their "
"counts are in the totals above; a figure averages only the months in which its rate has a "
"denominator, so such a month counts only where it has one (a month with sales but no visits "
"counts in none). The band is built from the months a placement ran: if this "
"one was switched off, run the report for the months it showed and read that against the band.")
print()
if __name__ == "__main__":
if len(sys.argv) != 3:
sys.exit("usage: python3 benchmark_position.py YYYY-MM-DD YYYY-MM-DD")
report(sys.argv[1], sys.argv[2])
Reconcile with the admin report
- Open the report. In the Talkable admin: your site → All reports → Metrics Aggregation.
- Set the same filters. The same start and end dates, aggregated by month and segmented by campaign type; the same test-traffic, refund and currency filters. Days run in the account time zone.
- Compare column by column. Tie the six counts month by month and placement by placement. The admin's name for each figure is in the metrics table above, column “Metrics Aggregation”. They are the same numbers; campaigns with no campaign type appear in the report's total and in the script's “Other campaigns (no type)” row.
Compare the counts, not the rates. The report's rates are computed on the period's totals; let the script build the figure the benchmark's way.
If a count differs, check two things:
- the period boundaries: both days are included;
- whether the report is filtered to the same campaigns.
If the counts are lower than you expect, verify that purchases reach Talkable.
For the latest month, pull both on the same day: sharers can grow after the fact.
Troubleshooting
- “No metric found.” (HTTP 400)
Why: the identifier is not one the API knows.
Fix: impressions areadvocate_impressions, visits arevisits. There is noimpressionsand nofriend_visits. - “`start_date` is not a valid Date” (HTTP 400)
Why: the date is not YYYY-MM-DD or M/D/YYYY. Day-first dates such as 30/9/2026 are read as invalid.
Fix: send2026-09-30. - HTTP 503 “Metric is temporarily unavailable, please try again. Narrow the segmentation, or schedule it with POST /api/v2/metrics/…/segmentize…”, or HTTP 429
Why: a 503 from the metrics endpoints means the request budget is spent for now; a 429 is the API-wide throttle (request throttling).
Fix in the script: it makes 12 requests (six metrics, each by month and by month-and-placement), plus one for the campaign list (read once; a failed read is not repeated), six per popup campaign when checking the post-purchase band, one by day per order-started popup campaign that showed, for each piece of up to 1,000 days, when both checkout kinds showed, and one to six per Shopify checkout-extension campaign in its older setup when the Floating widget row has any activity (it stops at the first count it finds). On a 503 or 429 it waits 5, 10, 20 and 40 seconds between attempts. If the 503 persists on a monthly split, it splits the period in two at a month boundary and pulls each half (the rows are the same months). If a campaign check stays over budget, the script names the campaign it could not read and leaves the post-purchase row (or, for the extension in its older setup, the Floating widget row) without a band: check in the Talkable admin which offer ran.
Fix by hand: narrow the period, or schedule the job withPOST …/segmentize(anapi:writekey) and pollGET …/segmentize/{job_id}, as the message says. - “This segmentation produces … rows, over the synchronous limit of 1000” (HTTP 422)
Why: a split returns more than 1,000 rows.
Fix in the script: it splits the period.
Fix by hand: narrow the period or the split, or schedule it withPOST …/segmentize(up to 5,000 rows) and poll, as the message says. - Placement rows sum to less than the whole-program month
Why: Leaderboard, Tiered Rewards and full-bleed Invite campaigns that run on a page of their own carry no campaign type. They count in the total and in no row. Set up as a Post-purchase or Floating widget campaign, they take that placement's type and sit in its row.
Fix: nothing to fix. The script prints the difference as “Other campaigns (no type)”, read against the Standalone band, so the counts tie. - A Shopify store's post-purchase row reads below the Post-purchase band
Why: on a store whose post-purchase offer is a Shopify checkout extension, thepost_purchaserow is the extension, which has a band of its own: its median advocacy is roughly a third of the classic prompt's.
Fix: check which offer ran in that period, not which one is live today: a store that moved to the extension later reads its earlier months against the Post-purchase band. If it switched during the period, split the period at the switch date; the script prints it when no day showed both. An extension in its older setup, shown through the floating widget, is in the Floating widget row instead: the script names it and leaves that row without a band, also when it only had clicks or sales there from earlier shares; read the row's other campaigns by id against the Floating widget band, and an extension that showed by id against the extension band. - A placement row with a click rate in the tens and almost no impressions
Why: old share links are still being opened; its position is meaningless.
Fix: the reading skips it. The script prints it so that you can see it. - A placement whose months have no sharers: sharing rate “n/a”
Why: there is no denominator for that month.
Fix: nothing to fix. The figure averages only the months that have one. - Talkable MCP server: no access (MCP troubleshooting)
- “MCP is disabled for this site…”: the Talkable MCP server (
https://www.talkable.com/mcp) is enabled per site by your CSM. - “Site not found or not accessible”: the
site_slugis not one your credential can reach. Through MCP,list_sitesshows the valid ones. - Sign-in: OAuth, a personal key (My Profile → API Keys), or a site or account key that an account admin creates (Account settings → API Keys & MCP).
- Roles: reading metrics needs the Read role or higher (permissions).
- “MCP is disabled for this site…”: the Talkable MCP server (
Go further
- Device. Add
device_type=mobile(ordesktop) to the whole-program monthly request foradvocate_impressions,sharersandshares. Average the monthly advocacy and sharing rates and place them against the device bands above. - Channel.
segment_by[sharing_channels]=trueonshares,clicks,visitsandideal_friend_sales_count. The click rate, visit rate and conversion rate per channel go against the channel bands above. - One campaign.
campaign_ids[]on the monthly request. Read the campaign against the band of its placement, found asappearanceinGET /api/v2/campaigns:popup= Post-purchase or the Shopify checkout extension (name “Shopify Extension(s)” or tagshopify-new-checkout);inline= Standalone, Advocate dashboard or a campaign with no type;widget= Floating widget or Claim by name, or the Shopify checkout extension in its older setup (it has the name or tag above and starts on the widget's event, not on an order), which goes against the extension band;gleam= Reward Gleam.
- Rows, not totals. Record-level questions (which friends bought, which advocates shared) use the exportable reports (reports and exports). In the Talkable admin they download as CSV. From an agent, the MCP tools
list_grid_reports,schedule_grid_exportandget_grid_exportschedule and fetch the same files.
Methodology
- Placement bands
- Programs that ran the placement in 2025; one figure per program, median and 25th–75th percentile; own program count per cell. All placements: the whole program, every placement together.
- Shopify checkout-extension band
- 2023–2025 pooled (recent, Shopify-only); 23 programs, 27 program-and-variant combinations.
- Industry bands
- Same edition, as published by industry and placement.
- Device, channel, mix
- Programs active January 2025 – June 2026 (device minimums under the table); mix: 102 programs running four placements (84 for revenue), 2022–2024.
- Figures
- Cells under five programs are not published; no program named. Spread chart: Gaussian-kernel smoothing, density scaled per panel, axis cut at 40%.
- Code
- Run on a live Talkable site, reconciled with its Metrics Aggregation Report.
FAQ
What is a good advocacy rate for a referral program?
It depends on the placement. 2025 Talkable medians: 12.1% on Standalone (128 programs), 8.6% on Floating widget (73), 4.5% on Post-purchase (64); a Shopify checkout extension is read on its own band, median 1.3% (27 program-and-variant combinations, 2023–2025).
How are Talkable referral benchmarks calculated?
One figure per program (the mean of its monthly rates on that placement), then the 25th and 75th percentile across Talkable programs; the band is the middle half, the median the middle program. Nothing is pooled. 2025 edition.
Why does my whole program read below benchmark when each placement is within its band?
Placement mix. Post-purchase carried 63% of impressions among 102 Talkable programs running four placements (2022–2024), so a post-purchase-heavy program sits low against the all-placements band by construction. Judge each placement against its own column.
What is a good referral conversion rate?
Conversion rate = friend referral sales ÷ visits. 2025 Talkable medians: 16.6% across all placements, middle half 10.1–22.9% (119 programs); 19.5% on Standalone (108), 10.6% on Post-purchase (53).
Which stage of the referral funnel should I fix first?
Per placement, the first of the five rates (advocacy down to conversion) below its band; every later count is limited by it. Between placements, start with the one carrying more impressions, usually Post-purchase (63% of impressions, 102 Talkable programs, 2022–2024).
How do I compare my referral program with the benchmark from the Talkable API?
GET https://www.talkable.com/api/v2/metrics/{metric}/segmentize with segment_by[period]=month and segment_by[campaign_types]=true for the six counts; compute each month's rates, average them per placement, and place each figure against that placement's Talkable benchmark band.
Learn more
In the Talkable documentation:
| Campaign placements | Where Standalone, Post-purchase and Floating widget show and how campaigns attach to them |
| Campaign types | Advocate dashboard, Reward Gleam, Leaderboard and the other campaign types a program can run |
| Reporting with Talkable AI | Metrics, segments and exports from the AI Assistant or your own agent |
| Talkable MCP server | Connect Claude Code, ChatGPT, Cursor or any MCP client |
| Talkable API | Authentication, response format, errors and throttling |
| Verify the integration | Check that purchases reach Talkable when counts are lower than expected |
