Read Talkable with your AI agent

Talkable offers agent-friendly Markdown: a simple text format for selected pages and articles. Copy this prompt into an AI agent that can open web links, then ask your question.

Talkable provides agent-friendly Markdown versions of selected website pages and articles.

Open [Talkable's llms.txt index](https://get.talkable.com/llms.txt) for website pages and section indexes. Follow the relevant section indexes to find articles by title and description. Choose only the pages relevant to my question. Follow the supplied Markdown links instead of guessing URLs. Use those pages to answer my question, and cite the original web pages linked in the Markdown.
View llms.txt

Placements and sharing channels

Referral Revenue by Placement: Which Placement Earns the Most

In short

Across Talkable programs running all four placements, the Standalone page brings the largest share of referral revenue, 32% on average, from 9% of impressions (Talkable benchmark data, 2022–2024; revenue shares across 84 programs, impression shares across 102). Post-purchase carries the most impressions. A new placement's own row is not what it adds: measure the change in the program's total.

  • share of referral revenue = the placement's referral revenue ÷ the program's referral revenue
  • share of impressions = the placement's impressions ÷ the program's impressions
  • what a new placement added = the program's referral revenue after the launch − before it, over periods of equal length, while the older placements' impressions hold

Why it matters

Talkable splits referral revenue into one row per placement. A placement decision asks two other questions: where the next impression is worth the most, and what a placement you do not run yet would add.

The revenue rows alone answer neither. Set each placement's share of referral revenue beside its share of impressions to see which one earns more than its reach. Read the program's total, not the new row, to see what a launch added.

Start with your own split for the last closed quarter, and read it as the worked example does.

How Talkable splits referral revenue by placement

Talkable shows the referral offer in a few places on a store. Talkable books every referral sale to one campaign, and the campaign's placement decides the row.

The placements

  • Standalone: a page of its own on the store, such as a /share page, with the offer inline.
  • Post-purchase: a popup on a successful purchase, usually on the order confirmation page. Post Event campaigns, such as a review-email popup, count in the same row.
  • Floating widget: a floating button in a corner of every page that opens the offer.
  • Advocate dashboard: a page where an advocate sees their shares and rewards. It is a standalone-type page.
  • Reward Gleam and Claim by name: campaign types with rows of their own. Reward Gleam highlights a rewarded customer's coupon code at the bottom of the page. Claim by name is a popup where a friend claims the reward by entering the advocate's name; its funnel is counted in the advocate's campaign.

What is counted

  • Impressions: share page views + sign-up page views − sign-ups. Talkable also records one when an offer is created through an API origin or at Shopify checkout.
  • Friend referral revenue: the order subtotals of friend purchases that Talkable matched to an advocate's offer by a tracking method. A purchase counts if it is not blocked or voided and falls inside the method's attribution window (30 days by default) or was tracked through a coupon, at any time. Purchases only by default.
  • Advocate referral revenue: the order subtotals of purchases made with a Talkable advocate-reward coupon.
  • Referral revenue: friend referral revenue + advocate referral revenue. Talkable records each subtotal after the discount on the order.
  • Total store revenue: the order subtotals of every purchase and event the store sends to Talkable, referral or not.

How a sale lands in a placement's row

How Talkable counts a referral sale in a placement's row. A customer sees the offer on one placement, through one campaign. The advocate shares; the friend clicks, visits and buys. The friend referral sale counts in the row of that campaign's placement. Advocate referral sales, made with an advocate-reward coupon, are split by placement too. A customer sees the offer on one placement, through one campaign Share, click, visit, purchase the friend buys: a friend referral sale Counted in that campaign's row the placement the campaign carries now advocate referral sales split by placement too
How Talkable counts a referral sale in one placement's row. The list below holds the same rules.
  • The advocate's campaign decides the row. A friend referral sale counts in the row of the campaign the advocate shared from.
  • Both sides split. Advocate referral sales sit in placement rows too; with the untyped row below, the rows add up to the program's total.
  • A campaign carries its current placement. A campaign moved to another placement takes its past sales into the new row. Check where each campaign sat before you compare two years.
  • Some campaigns have no type. Leaderboard, Tiered Rewards and full-bleed Invite campaigns that run as a page of their own count in the program's total and in no row. The script on this page shows them as “Other campaigns (no type)”. Read their funnel with Talkable's Standalone funnel benchmarks.

Four figures per placement

Talkable's analysts read each placement's row with four figures:

  • Share of impressions = the placement's impressions ÷ the program's impressions.
  • Share of referral revenue = the placement's referral revenue ÷ the program's referral revenue.
  • Revenue share ÷ impression share = the placement's referral revenue per impression ÷ the program's. At 1.0 a placement earns exactly its share of impressions; at 2.0, twice its share.
  • Share of total store revenue = the placement's referral revenue ÷ total store revenue. The rows add up to the program's referral revenue share: referral revenue ÷ total store revenue.

Talkable's funnel benchmarks are the typical advocacy, sharing, click, visit and conversion rates of programs on each placement; each placement is read against its own.

A worked example: a new widget's row and what it added

Illustrative only

Round numbers chosen to show the arithmetic; they match no program.

A store runs Post-purchase and Standalone. In the second quarter (Q2) it adds a Floating widget. Its total store revenue is $5,000,000 in both quarters:

PlacementImpressions Q1 → Q2Referral revenue Q1 → Q2Change in referral revenue
Post-purchase120,000 → 120,000$36,000 → $30,000−$6,000
Standalone20,000 → 20,000$44,000 → $40,000−$4,000
Floating widget, new in Q20 → 60,000$0 → $30,000+$30,000
Whole program140,000 → 200,000$80,000 → $100,000+$20,000 (+25%)
Whole program's share of $5,000,000 total store revenue1.6% → 2.0%+0.4 points

The trap: “the widget added $30,000”. Its row says so. But Post-purchase and Standalone lost $6,000 + $4,000 = $10,000 on unchanged impressions. That part of the widget's row is sales the two older placements booked before.

The real change is the program's total:

  • referral revenue $80,000 → $100,000, up 25%;
  • share of total store revenue 1.6% → 2.0%.

With total store revenue and the older placements' impressions unchanged, $20,000 is the best reading of what the widget added, not $30,000.

The second quarter, read with the first three figures:

Placement in Q2Share of impressionsShare of referral revenueRatio of the two shares
Post-purchase60%30%0.5
Standalone10%40%4.0
Floating widget30%30%1.0
Whole program100%100%1.0

Standalone earns four times its share of impressions. Post-purchase carries the reach at half its share.

The fourth figure, each placement's share of the $5,000,000 total store revenue:

  • Post-purchase: $30,000 ÷ $5,000,000 = 0.6%;
  • Standalone: $40,000 ÷ $5,000,000 = 0.8%;
  • Floating widget: $30,000 ÷ $5,000,000 = 0.6%; the three add up to the program's 2.0%.

What the data says

Talkable benchmark data, 2022–2024, for programs running all four placements: the average program's share of impressions and of referral revenue, placement by placement.

Share of impressions and share of referral revenue by placement, the average program running all four placements, Talkable benchmark data, 2022 to 2024. Standalone: 9 percent of impressions, 32 percent of referral revenue. Post-purchase: 63 percent of impressions, 26 percent of referral revenue. Floating widget: 22 percent of impressions, 26 percent of referral revenue. Advocate dashboard: 6 percent of impressions, 16 percent of referral revenue. Impression shares across 102 programs, referral revenue shares across 84. share of impressions (102 programs) share of referral revenue (84 programs) Standalone 9% 32% Post-purchase 63% 26% Floating widget 22% 26% Advocate dashboard 6% 16% 0% 20% 40% 60%
The average program's two shares per placement. Talkable benchmark data, 2022–2024, programs running all four placements. The table below holds the same figures.
PlacementShare of the program's impressionsShare of the program's referral revenue
Standalone9%32%
Post-purchase63%26%
Floating widget22%26%
Advocate dashboard6%16%

The average program's shares, as the mean of per-program shares. A program counts in a column for the months in which all four placements recorded impressions (102 programs) or referral revenue (84 programs); each column adds up to 100%. The two columns cover different sets of programs. Talkable benchmark data, 2022–2024.

Why the shares differ. Post-purchase shows the offer to buyers right after a purchase, so it carries most of the impressions. A Standalone page is seen only by customers who open it: few impressions, each worth more referral revenue than the program's average impression.

Neither one is the better placement. Talkable publishes funnel benchmarks per placement, and each placement is judged against its own.

These are averages of programs, not a target. Read your program's split against the group of placements that brought it referral revenue (by the placements with referral revenue).

Deep dive: the split across cuts

Each cut below keeps the same definitions and answers a different question about your rows.

By the placements with referral revenue

Talkable benchmark data groups each program by the placements that brought it referral revenue in 2022–2024. The average program's share of referral revenue in two of those groups:

PlacementPrograms where all four placements brought referral revenuePrograms where only Standalone, Post-purchase and Floating widget brought it
Standalone32%31%
Post-purchase26%30%
Floating widget26%39%
Advocate dashboard16%no referral revenue
Programs in the group8463

The average program's share of its referral revenue, as the mean of per-program shares; a program counts in a column for the months in which exactly those placements recorded referral revenue. Each column adds up to 100%. Talkable benchmark data, 2022–2024.

The leader changes with the group. Where the Advocate dashboard brought no referral revenue, the Floating widget brings the largest share, 39% (63 programs).

Its reach in such programs comes from a different set: where only those three placements recorded impressions (47 programs), the widget held 24% of impressions on average (Talkable benchmark data, 2022–2024).

Compare like with like. Read your split against the column of the placements that brought you referral revenue in the period. A program whose dashboard runs but brings no referral revenue belongs in the second column.

Rows with almost no impressions. Pick the column only from placements with at least 100 impressions in the period that brought referral revenue. A placement under 100 impressions is read on money only and does not decide the column. 100 impressions is the floor Talkable's benchmarks set for a rate on impressions.

For example, ask the Talkable AI Assistant: “For July 1 – September 30, 2026, show referral revenue (friend plus advocate referral revenue) by campaign type, with each campaign type's share of referral revenue.”

By side: friend and advocate referral revenue

The worked example's second quarter, split into its two sides:

Placement in Q2Friend referral revenueAdvocate referral revenueAdvocate side's share of the placement's referral revenue
Post-purchase$27,000$3,00010%
Standalone$32,000$8,00020%
Floating widget$26,000$4,00013%
Whole program$85,000$15,00015%

Referral revenue by side: illustrative round numbers from the worked example.

Why the side changes the reading. The friend side is purchases by friends who came through shares. The advocate side is purchases made with a Talkable advocate-reward coupon.

Read the friend side for reach and the advocate side for reward use. Name the side whenever you quote one alone.

For example, ask the Talkable AI Assistant: “For July 1 – September 30, 2026, show friend referral revenue and advocate referral revenue by placement, with the advocate side's share of each placement's referral revenue.”

By month: months with and without a placement

Talkable compared, inside each program, its months with the Floating widget against its months without it:

Each program's referral share of store sales in its months with the widgetPrograms
Higher than in its months without the widget29 of 35
Lower than in its months without the widget6 of 35

Programs with at least two months without the Floating widget; each program's average monthly referral share of store sales in the two sets of months. Talkable benchmark data, 35 programs, program months to mid-2018.

A direction, not the size of a gain. The comparison sets months against months, and the two sets can differ in season and trend.

Read your own launch month by month. Put the program's referral revenue and its share of total store revenue beside impressions by placement, for months of equal length before and after. If the older placements' impressions held, the change in the total is the best reading of the gain; if they moved, the launch shares the credit with them.

For example, ask the Talkable AI Assistant: “For April 1 – September 30, 2026, show referral revenue (friend plus advocate referral revenue) and impressions by month and by placement, and total sales by month.”

In the API rows: the Shopify checkout extension and campaigns with no type

Five rows of the split by placement need a rule before you read them:

Row in the split by placementWhat it holdsRead it with
post_purchase on a store whose post-purchase offer is a Shopify checkout extensionthe extension, plus any Post Event campaign such as a review-email popup; nothing is subtractedthe Shopify checkout extension funnel benchmarks; the store's own earlier quarters for its shares
floating_widget, in older periodsolder extension campaigns that were set up as Floating widget: separate campaigns, now disabled, each with its own ideach campaign pulled by its id
dashboardthe Advocate dashboard, a standalone-type pagethe Standalone funnel benchmarks
Other campaigns (no type)total − sum of the rows: Leaderboard, Tiered Rewards, full-bleed Invite on a page of their ownthe Standalone funnel benchmarks
gleam, claim_by_nameReward Gleam and Claim by name campaignsthe all-placements funnel benchmarks

How to tell an extension store. In the campaign list, a campaign with appearance popup whose name says “Shopify Extension(s)” or that carries the tag shopify-new-checkout, live in the period you read (the REST campaign list gives each campaign's live_period).

A copy that recorded no impressions in the period, such as a QA copy, does not count; a campaign with status Test never does.

Read an extension store against its own earlier quarters. Talkable's share figures describe 2022–2024 programs, and the extension's share of impressions moves every row's share, so compare all the store's rows with its own past.

Pull those quarters by campaign id, not by row. Include every extension campaign, disabled copies too: older copies were set up as Floating widget (appearance widget), so by row their sales sit in the widget row and the post-purchase row looks smaller.

Without a comparable year-ago quarter (none at all, or the year-ago quarter was the program's launch quarter), compare the quarters after launch, in order, and say that the season is not matched.

For example, ask the Talkable AI Assistant: “List my live campaigns with their placement and tags, and tell me whether my post-purchase offer is a Shopify checkout extension.”

Deciding on a placement

What the ratio says

  • Standalone, 9% of impressions and 32% of referral revenue (ratio 3.6): few customers see it, and each impression there brings more referral revenue than the program's average. A small row does not make it a weak placement.
  • Post-purchase, 63% of impressions and 26% of referral revenue (ratio 0.4): it reaches the most customers, so a ratio below 1.0 is normal for it. Judge its rates against Talkable's post-purchase funnel benchmarks, never against Standalone.
  • Under 100 impressions in the period: read its money, not the ratio. A placement switched off can still record sales: friends buy through links shared before.

Sizing a placement you do not run

Already running but showing almost nothing? Check its placement settings in Talkable first.

  1. Start with impressions. Estimate how often the candidate would show its share or sign-up page:
    • a Standalone page: the visits that page would get;
    • a Floating widget: the visitors who would open it, from your own widget test or a comparable placement, not your page views. Talkable records a widget impression when the widget opens and its share or sign-up page shows; showing the button only creates the visitor's offer;
    • an email entry point: sends × the click rate onto the referral page.
  2. Run them through that placement's own funnel. Use Talkable's funnel benchmarks for that placement, never your blended rates: a blended rate mixes your placements, and their advocacy and conversion rates differ.
  3. Turn sales into money. Expected friend referral sales × a friend referral AOV (friend referral revenue ÷ friend referral sales): your placement closest to the new one if you have its figure, otherwise your program's. Say which, and for what period.
  4. Read the result as an upper bound. Part of the new row can be sales the placements you already run would have brought, so present the projection as an upper bound before redistribution.
  5. Give a range. Run the same estimate with every rate at the low end, then at the high end, of its published typical range (25th to 75th percentile). The five ranges compound, so the range is wide: the median estimate is the figure to plan with. Say which parts are assumptions.
  6. If the number has to be right, test it. A placement switched on and off on a randomised split of traffic measures the gain directly; matched programs with and without it estimate it.

When referral revenue drops between two periods

  • First check impressions by placement. A placement that stopped showing explains the drop by itself. A change under 15% is normal movement.
  • Then compare each placement's own drop in percent. Post-purchase −30%, Standalone −25%, Floating widget −28%: all fell together (within 20 points of each other), so look for a cause they share, such as the offer or store traffic. Post-purchase −40%, Standalone −5%: one placement fell, so start with that placement.
  • Do not rank placements by dollars lost: the largest placement always loses the most.

The 15% and 20-point thresholds are working rules Talkable's analysts apply, not a statistical test.

Calculate it for your own program

Every figure for your own program comes from Talkable: two REST calls per metric, the site total and the split by placement (the Talkable MCP server takes several metrics in one call). The figures match the Metrics Aggregation Report in the Talkable admin when you set 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.
Note

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

  1. In the Talkable admin, open All site settings → General → Integrations → API integration.
  2. 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 too.
  3. Set them as TALKABLE_API_KEY and TALKABLE_SITE_SLUG in your environment. No example on this page contains a key.

Authentication and error codes: Talkable API introduction.

What Talkable tracks

Article termAPI metric identifierMetrics AggregationReturns
Impressionsadvocate_impressionsAdvocate Impressionsnumber, by placement
Friend referral salesideal_friend_sales_count# Ideal FR salesnumber, by placement
Advocate referral salesideal_advocate_sales_count# Ideal AD salesnumber, by placement
Friend referral revenueideal_friend_sales_sum$ Ideal FR salesmoney, by placement
Advocate referral revenueideal_advocate_sales_sum$ Ideal AD salesmoney, by placement
Referral revenueideal_sales_sum$ Ideal sales, under Hidden Metricsmoney: friend + advocate, by placement
Total store revenuetotal_sales_sum$ Sales, under Hidden Metricsmoney, whole site only
Referral revenue sharerevenue_percentageRevenue percentagepercent = referral revenue ÷ total store revenue × 100, whole site only

How a call works

  • One metric: GET https://www.talkable.com/api/v2/metrics/{metric} with site_slug, start_date and end_date.
  • By placement: add /segmentize to the same path and segment_by[campaign_types]=true.
  • The answer: one value as {"plain": …, "formatted": "…", "result_type": …}. A split returns {"segmented": [ … ]}, one value per row with its campaign_type.
  • Precision: counts are whole numbers, money has two decimals, the API's percents two decimals. The script prints shares under 1% with three decimals, so no real revenue shows as 0.00%.
  • Money comes back in the site's reporting currency; formatted carries its symbol.
  • Site figures: total store revenue and the referral revenue share have no placement rows. Divide each placement's referral revenue by the site's total store revenue.
  • 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

ParameterValuesUse it to
start_date, end_dateYYYY-MM-DD, e.g. 2026-07-01; both days included; days run in the account time zoneSet the period: a closed quarter, or the months around a launch
segment_by[campaign_types]=trueone row per placement or campaign type the store runs: post_purchase (Post Event campaigns count here too), standalone, dashboard, floating_widget, gleam, claim_by_nameImpressions and referral revenue per placement. Campaigns with no type sit in the total only
segment_by[period]=month (also quarter, year) with segment_by[campaign_types]=trueone row per period and placement; each row carries period and campaign_typeRead a launch month by month, or compare quarters
campaign_types[]a row key, e.g. campaign_types[]=standalone, on /metricsOne placement's figure as a single value
campaign_ids[]ids from GET /api/v2/campaigns (the site's referral campaigns)One campaign, whatever row it sits in now: follow a moved campaign or an older extension copy across years
exclude_qa_generateddefault trueTest traffic is already out of every metric here
MCP calculate_metric addsexclude_refunded; currency; precision; segment_by: campaign_types, campaigns, date_range with aggregate_period. Dates go in period_start / period_end; filters are named exclude_qa, campaign_ids and campaign_typesThe same split, net of refunds, in one currency, several metrics per call

Examples in four tabs

The same calculation 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 already knows the Talkable metrics and your campaigns, so one sentence is enough:

For July 1 – September 30, 2026, show impressions and referral revenue (friend plus advocate referral revenue) by placement, with each placement's share of impressions and of referral revenue, and each placement's referral revenue as a share of total sales.

Your own agent (OpenClaw, Claude Code or any other agent)

Your agent does not know how Talkable splits referral revenue by placement. Send it the same sentence and use the method in this report:

For July 1 – September 30, 2026, show impressions and referral revenue (friend plus advocate referral revenue) by placement, with each placement's share of impressions and of referral revenue, and each placement's referral revenue as a share of total sales. Use the method in this report: https://get.talkable.com/analytics/placement-revenue

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. One call, seven metrics, by placement:

{
  "site_slug": "your-site",
  "metrics": ["advocate_impressions", "ideal_friend_sales_count", "ideal_advocate_sales_count",
              "ideal_friend_sales_sum", "ideal_advocate_sales_sum", "ideal_sales_sum",
              "total_sales_sum"],
  "period_type": "custom",
  "period_start": "2026-07-01",
  "period_end": "2026-09-30",
  "segment_by": ["campaign_types"]
}

Each placement metric comes back with one key per placement and a total; illustrative values (the worked example's second quarter):

{"metrics": {
  "advocate_impressions": {"campaign_types=post_purchase": 120000, "campaign_types=standalone": 20000,
                           "campaign_types=floating_widget": 60000, "total": 200000},
  "ideal_sales_sum": {"campaign_types=post_purchase": 30000.0, "campaign_types=standalone": 40000.0,
                      "campaign_types=floating_widget": 30000.0, "total": 100000.0},
  "total_sales_sum": {"total": 5000000.0},
  ...},
 "metrics_aggregation_url": "/sites/your-site/reports/metrics_aggregation?…"}
  • total_sales_sum comes back with its total only: divide each placement's ideal_sales_sum by that total.
  • Pull revenue_percentage in a second call without segment_by ({"revenue_percentage": 2.0}): it is a site figure with no placement keys.
  • A placement with nothing in the period has no key: read it as 0. An unknown identifier comes back as an empty object, not an error.
  • “Other campaigns (no type)” = total − the sum of the placement keys, metric by metric.
  • For a launch, "segment_by": ["date_range", "campaign_types"] with "aggregate_period": "month" returns keys such as date_range=2026-07-01|campaign_types=standalone.
  • list_campaigns lists campaigns with their appearance, placement and tag_names; filter by status or a created_at range to reach older ones. For the dates a campaign was live, use live_period from the REST campaign list: MCP's activates_at can differ from it by days.
  • placement_category names the page a campaign runs on, not its metrics row: a Tiered Rewards page shows “Standalone” and counts in no row; the Advocate dashboard shows “Standalone” and has its own row. Read the row from the split.
  • metrics_aggregation_url is a Talkable admin path: put https://admin.talkable.com in front to open the report with the same columns and split.
  • Use custom dates as above: presets such as last quarter are rolling windows, not calendar quarters.

HTTP (curl): the raw request any language can send

The responses below are illustrative values (the worked example's second quarter), in the shapes the Python script parses. Authentication and errors: Talkable API introduction.

# one metric for the whole site
curl -H "Authorization: Bearer $TALKABLE_API_KEY" \
  "https://www.talkable.com/api/v2/metrics/ideal_friend_sales_sum?site_slug=$TALKABLE_SITE_SLUG&start_date=2026-07-01&end_date=2026-09-30"
# -> {"ok":true,"result":{"plain":85000.0,"formatted":"$85,000.00","result_type":"money"}}

# referral revenue by placement (rows come in alphabetical order; campaigns with no type are in the total only)
curl -g -H "Authorization: Bearer $TALKABLE_API_KEY" \
  "https://www.talkable.com/api/v2/metrics/ideal_sales_sum/segmentize?site_slug=$TALKABLE_SITE_SLUG&start_date=2026-07-01&end_date=2026-09-30&segment_by[campaign_types]=true"
# -> {"ok":true,"result":{"segmented":[
#      {"plain":30000.0,"formatted":"$30,000.00","result_type":"money","campaign_type":"floating_widget"},
#      {"plain":30000.0,"formatted":"$30,000.00","result_type":"money","campaign_type":"post_purchase"},
#      {"plain":40000.0,"formatted":"$40,000.00","result_type":"money","campaign_type":"standalone"}]}}

# impressions by placement
curl -g -H "Authorization: Bearer $TALKABLE_API_KEY" \
  "https://www.talkable.com/api/v2/metrics/advocate_impressions/segmentize?site_slug=$TALKABLE_SITE_SLUG&start_date=2026-07-01&end_date=2026-09-30&segment_by[campaign_types]=true"
# -> {"ok":true,"result":{"segmented":[
#      {"plain":60000,"formatted":"60,000","result_type":"number","campaign_type":"floating_widget"},
#      {"plain":120000,"formatted":"120,000","result_type":"number","campaign_type":"post_purchase"},
#      {"plain":20000,"formatted":"20,000","result_type":"number","campaign_type":"standalone"}]}}

# total store revenue: one figure for the whole site
curl -H "Authorization: Bearer $TALKABLE_API_KEY" \
  "https://www.talkable.com/api/v2/metrics/total_sales_sum?site_slug=$TALKABLE_SITE_SLUG&start_date=2026-07-01&end_date=2026-09-30"
# -> {"ok":true,"result":{"plain":5000000.0,"formatted":"$5,000,000.00","result_type":"money"}}

# ... it has no placement rows
curl -g -H "Authorization: Bearer $TALKABLE_API_KEY" \
  "https://www.talkable.com/api/v2/metrics/total_sales_sum/segmentize?site_slug=$TALKABLE_SITE_SLUG&start_date=2026-07-01&end_date=2026-09-30&segment_by[campaign_types]=true"
# -> HTTP 400 {"ok":false,"error_message":"`total_sales_sum` cannot be segmented by `campaign_types`."}

# a launch, month by month and placement by placement
curl -g -H "Authorization: Bearer $TALKABLE_API_KEY" \
  "https://www.talkable.com/api/v2/metrics/ideal_sales_sum/segmentize?site_slug=$TALKABLE_SITE_SLUG&start_date=2026-07-01&end_date=2026-09-30&segment_by[period]=month&segment_by[campaign_types]=true"
# -> {"ok":true,"result":{"segmented":[
#      {"plain":10000.0,"formatted":"$10,000.00","result_type":"money","period":"7/1/26 - 7/31/26","campaign_type":"floating_widget"},
#      …]}}
  • Standalone's share of referral revenue: $40,000 ÷ $100,000 = 40%.
  • Its share of impressions: 20,000 ÷ 200,000 = 10%.
  • The ratio of the two shares: 40 ÷ 10 = 4.0.
  • Its share of total store revenue: $40,000 ÷ $5,000,000 = 0.8%; the rows add up to the 2.0% share.
  • The -g flag stops curl from interpreting the square brackets in segment_by[…].
  • An error comes back as {"ok":false,"error_message":"…"}, for example “No metric found.” for an unknown identifier.

Python: the full script

Prints counts and money and the four figures per placement (no ratio under 100 impressions), the share checked against the API's, the Shopify checkout extension campaigns (and skipped candidates), live campaigns with almost no impressions, and the matching Talkable benchmark group. Needs Python 3 and requests (pip install requests); reads the key from TALKABLE_API_KEY and TALKABLE_SITE_SLUG.

"""Referral revenue by placement for one Talkable site: which placement earns it, and for how many impressions.

Prints, for one period: impressions, friend and advocate referral sales and revenue per placement (campaign type);
each placement's share of impressions, share of referral revenue, the ratio of the two, and its share of total store
revenue; the whole program's referral revenue share, computed and checked against the API's own; the Shopify checkout
extension campaigns that recorded impressions in the period, the row each sits in and the candidates skipped; live
campaigns with almost no impressions; and the Talkable benchmark group that matches the placements with referral
revenue and at least 100 impressions (on a Shopify checkout extension store: the store's own earlier quarters).

Usage:
    python3 -m 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 placement_revenue.py 2026-07-01 2026-09-30

Dates are YYYY-MM-DD, both days included, in the account time zone. Money is in the site's reporting currency, after
the discount on the order; test (QA) traffic is excluded. Percents: 2 decimals from 1% up, 3 below 1% ("<0.001%" for a
positive share that rounds to zero); the ratio of two shares has 2 decimals. "n/a" when the denominator is 0; a row
with fewer than 100 impressions gets no ratio and is read on money only. A typed row with no impressions and no sales
is left out; "Other campaigns (no type)" is always printed.
"""
import os
import re
import sys
import time

import requests

API = "https://www.talkable.com/api/v2"

BY_PLACEMENT = [  # article term -> API metric identifier; each is pulled as the site total and by campaign type
    ("Impressions", "advocate_impressions"),
    ("Friend referral sales", "ideal_friend_sales_count"),
    ("Advocate referral sales", "ideal_advocate_sales_count"),
    ("Friend referral revenue", "ideal_friend_sales_sum"),
    ("Advocate referral revenue", "ideal_advocate_sales_sum"),
]
STORE = [  # whole site only: these metrics have no placement rows
    ("Total store revenue", "total_sales_sum"),
    ("Referral revenue share (API)", "revenue_percentage"),
]
PLACEMENT = {  # API campaign_type -> placement or campaign type name in the Talkable admin
    "post_purchase": "Post-purchase",  # Post Event campaigns (e.g. a review-email popup) count here too
    "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: total only
MIN_IMPRESSIONS = 100  # the floor Talkable's benchmarks set for an impression-based rate (at least 100 impressions)
# Talkable benchmark data, 2022-2024, mean of per-program shares. Each program is grouped by the placements that
# recorded referral revenue (for referral revenue shares) or impressions (for impression shares).
GROUPS = [
    ({"standalone", "post_purchase", "floating_widget", "dashboard"},
     "all four placements brought referral revenue (84 programs; impression shares: all four recorded impressions,"
     " 102 programs)",
     {"standalone": (9, 32), "post_purchase": (63, 26), "floating_widget": (22, 26), "dashboard": (6, 16)}),
    ({"standalone", "post_purchase", "floating_widget"},
     "only Standalone, Post-purchase and Floating widget brought referral revenue (63 programs)",
     {"standalone": (None, 31), "post_purchase": (None, 30), "floating_widget": (None, 39)}),
]


CALLS = []  # one entry per API request this run (retries not counted)


def get(path, **params):
    params = {"site_slug": SITE, **params}
    CALLS.append(path)
    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 body.get("ok") is False:  # e.g. 400 "No metric found." or "... cannot be segmented by `campaign_types`."
            raise RuntimeError(f"{path}: HTTP {r.status_code}: {body.get('error_message')}")
        r.raise_for_status()
        return body["result"]


def total(metric, start, end, **filters):
    """The site total: {"plain": 100000.0, "formatted": "$100,000.00", "result_type": "money"}."""
    return get(f"metrics/{metric}", start_date=start, end_date=end, **filters)


def by_type(metric, start, end):
    """One row per campaign type: [{"plain": 30000.0, "formatted": "$30,000.00", "result_type": "money",
    "campaign_type": "post_purchase"}, ...]; a type with nothing in the period may be missing: read it as 0."""
    rows = get(f"metrics/{metric}/segmentize", start_date=start, end_date=end,
               **{"segment_by[campaign_types]": "true"})["segmented"]
    return {row["campaign_type"]: row["plain"] for row in rows}


def campaign_checks(start, end):
    """Reads the site's referral campaigns once (response: {"ok": true, "result": {"campaigns": [{"id", "name",
    "appearance", "status", "tag_names", "live_period": {"starts_at", "ends_at"}, ...}]}}) and checks campaigns by id
    with advocate_impressions and campaign_ids[] (one call each). Returns:
    - extensions: [(id, row, impressions)] for Shopify checkout extension campaigns (the name says "Shopify
      Extension(s)" or the tag shopify-new-checkout is set) that were live in the period and recorded impressions in
      it; a popup sits in the post_purchase row, a widget (an older copy) in floating_widget;
    - skipped: [(id, reason)] for extension candidates left out: status Test, not live in the period, or no impressions
      in the period (a QA copy, for example);
    - quiet: [(id, appearance, impressions)] for Live campaigns, live in the period, with fewer than 100 impressions;
    - all_ids: every extension campaign id that is not Test, in or out of the period, for a pull by id across periods."""
    extensions, skipped, quiet, all_ids = [], [], [], []
    for c in get("campaigns")["campaigns"]:
        live = c.get("live_period") or {}
        starts, ends = (live.get("starts_at") or "9999")[:10], (live.get("ends_at") or "9999")[:10]
        in_period = starts <= end and ends >= start
        is_extension = ("shopify extension" in c.get("name", "").lower()
                        or "shopify-new-checkout" in (c.get("tag_names") or []))
        if is_extension and c.get("status") == "Test":
            skipped.append((c["id"], "status Test"))
            continue
        if is_extension:
            all_ids.append(c["id"])
        if is_extension and not in_period:
            skipped.append((c["id"], "not live in the period"))
            continue
        if not (is_extension or (c.get("status") == "Live" and in_period)):
            continue
        impressions = total("advocate_impressions", start, end, **{"campaign_ids[]": c["id"]})["plain"]
        if is_extension and impressions:
            extensions.append((c["id"], "post_purchase" if c.get("appearance") == "popup" else "floating_widget",
                               impressions))
        elif is_extension:
            skipped.append((c["id"], "no impressions in the period"))
        if c.get("status") == "Live" and in_period and impressions < MIN_IMPRESSIONS:
            quiet.append((c["id"], c.get("appearance"), impressions))
    return extensions, skipped, quiet, all_ids


def pct(part, whole):
    return 100 * part / whole if whole else None


def fmt(x, unit=""):
    if x is None:
        return "n/a"
    if unit == "%":  # 2 decimals from 1% up, 3 below; a positive share never prints as zero
        d = 2 if abs(x) >= 1 else 3
        return f"<{10 ** -d:.{d}f}%" if 0 < x and round(x, d) == 0 else f"{x:.{d}f}%"
    if unit == "x":
        return f"{x:.2f}"
    if unit == "money":
        return f"{x:,.2f}"
    return f"{x:,}"


def print_table(head, rows):
    widths = [max(len(str(r[i])) for r in [head] + rows) for i in range(len(head))]
    for r in [head] + rows:
        print("  " + "  ".join(str(x).ljust(w) if i == 0 else str(x).rjust(w)
                               for i, (x, w) in enumerate(zip(r, widths))))


def collect(start, end):
    """-> (rows {campaign_type | "other": {term: value}}, site totals {term: value}, store {term: value}, currency)."""
    site, rows = {}, {}
    for term, metric in BY_PLACEMENT:
        site[term] = total(metric, start, end)["plain"]
        for ct, value in by_type(metric, start, end).items():
            rows.setdefault(ct, {})[term] = value
    raw = {term: total(metric, start, end) for term, metric in STORE}
    store = {term: r["plain"] for term, r in raw.items()}
    currency = re.sub(r"[\d.,\s-]", "", raw["Total store revenue"]["formatted"])  # e.g. "$"
    # campaigns with no campaign type count in the site total only: site total - sum of the typed rows
    rows["other"] = {term: round(site[term] - sum(r.get(term, 0) for r in rows.values()), 2) for term, _ in BY_PLACEMENT}
    for r in list(rows.values()) + [site]:
        for term, _ in BY_PLACEMENT:
            r.setdefault(term, 0)
        r["Referral revenue"] = round(r["Friend referral revenue"] + r["Advocate referral revenue"], 2)
    return rows, site, store, currency


def report(start, end):
    rows, site, store, currency = collect(start, end)
    extensions, skipped, quiet, all_ids = campaign_checks(start, end)
    extension = any(row == "post_purchase" for _, row, _ in extensions)  # the post_purchase row holds the extension
    copies = {}  # other rows holding an extension campaign (older copies set up as Floating widget)
    for cid, row, _ in extensions:
        if row != "post_purchase":
            copies.setdefault(row, []).append(str(cid))
    typed = [ct for ct in PLACEMENT if ct in rows] + sorted(set(rows) - set(PLACEMENT) - {"other"})
    shown = [ct for ct in typed if any(rows[ct][t] for t, _ in BY_PLACEMENT)] + ["other"]

    def name(ct):
        if ct == "post_purchase" and extension:
            return "Post-purchase (Shopify checkout extension)"
        if ct in copies:
            return f"{PLACEMENT.get(ct, ct)} (includes the checkout-extension copy, id {', '.join(copies[ct])})"
        return OTHER if ct == "other" else PLACEMENT.get(ct, ct)

    print(f"Referral revenue by placement, site {SITE}, {start} -> {end} "
          f"(money in the site's reporting currency, {currency})")
    print("\nCounts and money per placement")
    out = [(name(ct), fmt(r["Impressions"]), fmt(r["Friend referral sales"]), fmt(r["Advocate referral sales"]),
            fmt(r["Friend referral revenue"], "money"), fmt(r["Advocate referral revenue"], "money"),
            fmt(r["Referral revenue"], "money")) for ct, r in ((ct, rows[ct]) for ct in shown)]
    out.append(("Whole program", fmt(site["Impressions"]), fmt(site["Friend referral sales"]),
                fmt(site["Advocate referral sales"]), fmt(site["Friend referral revenue"], "money"),
                fmt(site["Advocate referral revenue"], "money"), fmt(site["Referral revenue"], "money")))
    print_table(("placement or campaign type", "impressions", "friend referral sales", "advocate referral sales",
                 "friend referral revenue", "advocate referral revenue", "referral revenue"), out)

    print("\nShares per placement")
    out, money_only = [], []
    for ct in shown + ["whole"]:
        r = site if ct == "whole" else rows[ct]
        imp, rev = pct(r["Impressions"], site["Impressions"]), pct(r["Referral revenue"], site["Referral revenue"])
        ratio = rev / imp if imp and rev is not None else None
        if ct != "whole" and r["Impressions"] < MIN_IMPRESSIONS:
            ratio = None
            if r["Referral revenue"]:
                money_only.append(name(ct))
        out.append(("Whole program" if ct == "whole" else name(ct), fmt(imp, "%"), fmt(rev, "%"), fmt(ratio, "x"),
                    fmt(pct(r["Referral revenue"], store["Total store revenue"]), "%"),
                    fmt(pct(r["Friend referral revenue"], r["Referral revenue"]), "%")))
    print_table(("placement or campaign type", "share of impressions", "share of referral revenue",
                 "revenue share / impression share", "share of total store revenue", "friend side of its revenue"), out)
    print("  Revenue share / impression share: 1.00 = the placement earns exactly its share of impressions.")
    for row_name in money_only:
        print(f"  {row_name}: under {MIN_IMPRESSIONS} impressions, so no ratio; its sales come from offers shared in"
              " earlier periods (each stage counts in its own period): read its money only.")
    if rows["other"]["Impressions"] < 0 or rows["other"]["Referral revenue"] < 0:
        print(f"  Check: the placement rows add up to more than the site total ({OTHER} is negative);"
              " pull both on the same day and compare with the Metrics Aggregation Report.")
    print(f"  {OTHER}: site total - sum of the rows; read its funnel with the Standalone funnel benchmarks.")
    for cid, row, impressions in extensions:
        print(f"  Shopify checkout extension campaign with impressions in the period: id {cid}, {impressions:,} impressions,"
              f" in the {row} row.")
    for cid, reason in skipped:
        print(f"  Skipped extension candidate: id {cid} ({reason}).")
    if all_ids:
        print(f"  Extension campaign ids (not Test) for a pull by id across periods (campaign_ids[]):"
              f" {', '.join(map(str, all_ids))}.")
    if extension:
        print("  The post_purchase row holds the extension plus any Post Event campaign; read the extension's funnel with")
        print("  its own band.")
    for cid, appearance, impressions in quiet:
        print(f"  Campaign id {cid} ({appearance}): live but almost no impressions ({impressions:,}): check its placement"
              " settings.")

    computed = pct(site["Referral revenue"], store["Total store revenue"])
    api = store["Referral revenue share (API)"]
    same = computed is not None and abs(computed - api) <= 0.005
    print(f"\nWhole program: referral revenue {fmt(site['Referral revenue'], 'money')} / total store revenue "
          f"{fmt(store['Total store revenue'], 'money')} = {fmt(computed, '%')}; the API's revenue_percentage = "
          f"{api:.2f}% (the API rounds to 2 decimals): "
          + ("the same within rounding." if same else "they differ; pull both on the same day."))

    earned = {ct for ct in ("standalone", "post_purchase", "floating_widget", "dashboard")
              if rows.get(ct, {}).get("Referral revenue") and rows[ct]["Impressions"] >= MIN_IMPRESSIONS}
    match = next((g for g in GROUPS if g[0] == earned), None)
    print("\nTalkable benchmark data, 2022-2024 (mean of per-program shares), for the placements with referral revenue"
          f" and at least {MIN_IMPRESSIONS} impressions:")
    if extensions:
        print("  A Shopify checkout extension ran in the period: compare every row's shares with the store's own earlier")
        print("  quarters, pulled by campaign id, not with a benchmark group (the groups describe 2022-2024 programs).")
    elif match is None:
        print(f"  {', '.join(PLACEMENT[ct] for ct in sorted(earned)) or 'none'}: no published group for this set;"
              " read the shares without a reference.")
    else:
        _, label, ref = match
        cells = "; ".join(f"{PLACEMENT[ct]} " + (f"{i}% of impressions / {v}% of referral revenue" if i is not None
                                                 else f"{v}% of referral revenue") for ct, (i, v) in ref.items())
        print(f"  Programs where {label}: {cells}")
        if money_only:
            print(f"  Read {', '.join(money_only)} on money only; compare the other rows with this group.")
    print(f"\nCalls this run: {len(CALLS)} (10 for the five metrics, site total and by placement; 2 for the store; 1 for the"
          " campaign list; 1 per campaign checked by id: extension candidates and live campaigns). On HTTP 503 or 429 it waits 5, 10, 20 and 40 seconds"
          " between attempts.")


def main():
    global KEY, SITE
    if len(sys.argv) != 3 or not all(re.fullmatch(r"\d{4}-\d\d-\d\d", d) for d in sys.argv[1:]):
        sys.exit("usage: python3 placement_revenue.py START END   (dates YYYY-MM-DD, e.g. 2026-07-01 2026-09-30)")
    KEY = os.environ.get("TALKABLE_API_KEY")
    SITE = os.environ.get("TALKABLE_SITE_SLUG")
    if not KEY or not SITE:
        sys.exit("set TALKABLE_API_KEY and TALKABLE_SITE_SLUG first (see the docstring)")
    report(sys.argv[1], sys.argv[2])


if __name__ == "__main__":
    try:
        main()
    except (RuntimeError, requests.RequestException) as e:
        sys.exit(f"stopped: {e}")

Reconcile with the admin report

  1. Open the report. In the Talkable admin: your site → All reports → Metrics Aggregation.
  2. Set the same filters. The same start and end dates, segmented by campaign type; the same test-traffic, refund and currency filters. Days run in the account time zone.
  3. Compare column by column. The admin name of each figure is in the metrics table above, column “Metrics Aggregation”: referral revenue is $ Ideal sales and total store revenue is $ Sales, both under Hidden Metrics. Campaigns with no campaign type appear in the report's total and in the script's “Other campaigns (no type)” row.

If a figure differs, check five things:

  • the period boundaries: both days are included, in the account time zone;
  • whether the report is filtered to the same campaigns, and its other filters match;
  • whether you compared $ Ideal sales, not $ Dashboard sales: the dashboard's referral revenue is a per-site setting and can count different things;
  • for referral counts a unit or two apart, whether both sides were pulled the same day: referrals are approved, blocked or voided after the period ends;
  • for a gap of about 1–2% on every count, compare with the report's precision mode.

If the counts are lower than you expect, verify that purchases reach Talkable.

Troubleshooting

  1. “No metric found.” (HTTP 400)
    Why: the identifier is not one the API knows.
    Fix: impressions are advocate_impressions, referral revenue is ideal_sales_sum (or its two sides), total store revenue is total_sales_sum.
  2. “`total_sales_sum` cannot be segmented by `campaign_types`.” (HTTP 400)
    Why: total store revenue is a site figure with no placement; revenue_percentage returns the same message with its own name.
    Fix: pull it once for the whole site and divide each placement's referral revenue by it; the script does this.
  3. “`start_date` is not a valid Date” (HTTP 400)
    Why: the date is not in a format the API reads. Day-first dates such as 30/9/2026 are invalid, and 1/7/2026 reads as January 7.
    Fix: send ISO dates, 2026-09-30.
  4. “This segmentation produces … rows, over the synchronous limit of 1000” (HTTP 422)
    Why: a daily split by placement over a long period returns more than 1,000 rows.
    Fix: use months, narrow the period, or schedule it as the message says: POST /api/v2/metrics/{metric}/segmentize (a key with api:write), then poll GET …/segmentize/{job_id}.
  5. “Metric is temporarily unavailable, please try again” (HTTP 503), 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: wait and retry; the script's calls (13, plus one per campaign it checks by id) back off by themselves: 5, 10, 20 and 40 seconds. On a long split, do what the message says: narrow the period (with a read-only key, pull each month on its own), or schedule it with POST …/segmentize (api:write) and poll GET …/segmentize/{job_id}.
  6. “The operation timed out.” (Talkable MCP server)
    Why: a long split, or many metrics in one calculate_metric call.
    Fix: narrow the period, or split the call into fewer metrics.
  7. “Unsupported parameters: … Supported parameters: …” (HTTP 400)
    Why: the request carries a parameter name the Talkable metrics API does not know, for example campaign_id[] without its s.
    Fix: use a name from the list in the message; send campaign_ids[] with its brackets (and curl -g).
  8. Total store revenue does not change under a campaign filter
    Why: total store revenue is a site figure; under campaign_ids[] it returns the site total, and with campaign_types[] it returns HTTP 400 “`total_sales_sum` cannot be filtered by `campaign_types`.”
    Fix: filter or split the referral revenue, and divide it by the unfiltered total store revenue of the same period.
  9. Placement rows sum to less than the total
    Why: campaigns with no campaign type (Leaderboard, Tiered Rewards or full-bleed Invite run as a page of their own) count in the site total only.
    Fix: add the row “Other campaigns (no type)” = total − sum of the rows, as the script does.
  10. A row with sales but almost no impressions
    Why: each stage counts in its own period, so the row's sales come from offers shared earlier while its impressions are the period's own, and its revenue share ÷ impression share has no meaning.
    Fix: read the row's money only; the script prints no ratio under 100 impressions. If the placement is live, check its placement settings.
  11. A placement row jumps or vanishes between two years
    Why: a campaign moved to another placement takes its past into the new row; older Shopify checkout extension copies were separate Floating widget campaigns.
    Fix: list the campaigns, disabled ones included, and compare the years by campaign_ids[], not by row.
  12. 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_slug is not one your credential can reach. list_sites shows the valid ones.
    • Roles: reading metrics needs the Read role or higher. Scheduling a CSV export needs the Write role and a key with mcp:write (permissions).

Go further

  • Rows, not totals. The exportable reports give the orders and referrals behind each placement's revenue (reports and exports). In the Talkable admin they download as CSV; from an agent, list_grid_reports, schedule_grid_export and get_grid_export schedule and read the same files.
  • A launch, month by month. segment_by[period]=month with segment_by[campaign_types]=true on ideal_sales_sum and advocate_impressions, beside total_sales_sum by month.
  • One campaign across moves. campaign_ids[] on ideal_sales_sum follows a campaign whatever row it sits in now.
  • By sharing channel. segment_by[sharing_channels]=true on ideal_friend_sales_sum splits the friend side by the channel the advocate shared through.
  • Net of refunds, in one currency. Through MCP: exclude_refunded: true and currency on the same call.

Methodology

Figures
Talkable benchmark data, 2022–2024: each program's share of impressions and of referral revenue per placement, grouped by the placements that recorded them; the mean across programs. Program months to mid-2018: each program's months with and without the Floating widget, 35 programs. Cells under five programs are not published; no program is named.
Code
The requests and the script were run on a live Talkable site; REST and MCP agree.

FAQ

Which referral placement generates the most revenue?

Across Talkable programs running all four placements, Standalone: 32% of referral revenue on average, from 9% of impressions. Post-purchase brings 26% from 63% (Talkable benchmark data, 2022–2024; 84 programs for revenue shares, 102 for impression shares).

Does adding a referral placement increase referral revenue?

Less than its row shows: part of a new Talkable placement's row can be sales your other placements would have brought. Measure it on the program's total: gain = referral revenue after the launch − before, over equal periods.

How does Talkable decide which placement a referral sale belongs to?

A friend referral sale counts in the row of the campaign the advocate shared from, under the placement that campaign carries now. Rows + “Other campaigns (no type)” = Talkable's total referral revenue.

How do I estimate what a new referral placement would bring?

Expected friend referral sales = estimated impressions × that placement's Talkable funnel benchmarks; × your friend referral AOV gives revenue. Then discount for redistribution and present a range.

Why is post-purchase referral revenue low next to Standalone?

Post-purchase shows the Talkable offer to buyers after checkout, so it carries 63% of impressions and 26% of referral revenue on average (Talkable benchmark data, 2022–2024; 102 and 84 programs). Judge it against its own funnel benchmarks.

How do I get referral revenue by placement from the Talkable API?

GET https://www.talkable.com/api/v2/metrics/ideal_sales_sum/segmentize with segment_by[campaign_types]=true, site_slug and YYYY-MM-DD dates; advocate_impressions the same way. Divide by the site's total_sales_sum, pulled once without a split.

Learn more

In the Talkable documentation:

Campaign placementsWhere Standalone, Post-purchase, Floating widget and Reward Gleam show, and how campaigns attach to them
Campaign typesAdvocate dashboard, Leaderboard, Tiered Rewards, Claim by name and the other campaign types
Referral tracking methodsHow a friend's purchase is matched to an advocate's offer, and so to a campaign
Reporting with Talkable AIMetrics, segments and report exports from the AI Assistant or your own agent
Talkable MCP serverConnect Claude Code, ChatGPT, Cursor or any MCP client
Talkable APIAuthentication, response format, errors and throttling