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

Referral program basics

The Referral Funnel

In short

A referral program is measured on six counts, impressions, sharers, shares, clicks, visits and friend referral sales, and the five rates between them:

  • advocacy rate = sharers ÷ impressions
  • sharing rate = shares ÷ sharers
  • click rate = clicks ÷ shares
  • visit rate = visits ÷ clicks
  • conversion rate = friend referral sales ÷ visits

Talkable counts each stage in the period its own event happened; sharers are dated by the offer's creation.

Why it matters

Every referral report, benchmark and diagnosis in Talkable is built from these six counts. Two stores that count differently cannot be compared, and a store that changes its counting mid-year cannot be compared with itself. When referral sales fall, the funnel is the diagnostic: each stage has a different owner and a different fix. Start with the reading rules.

What a referral program is

A referral program is a structured way for a store to let its customers recommend it to people they know, and to reward both sides when the recommendation turns into a purchase. Two people are always involved:

  • The advocate: the person who recommends the store. Usually an existing customer, because most programs open right after a purchase; invite-style programs let anyone sign up.
  • The friend: the person who receives the recommendation and may become a new customer.

An incentive is the rule a program sets: "friends get 15% off, advocates get $10 when a friend buys". A reward is what a person actually receives under that rule.

  • The friend reward (the friend offer) is the discount, free shipping or gift the friend gets; in most programs it is issued on the claim page, before they buy.
  • The advocate reward (the advocate offer) is what the advocate gets once the friend's purchase is confirmed.

Some programs also pay smaller rewards just for signing up or for sharing.

A campaign is one configured referral program: its incentives, its pages and its placement; a store can run several.

The program shows up on the store in a few standard places, called placements; what the program does there is set by its campaign type (placements and campaign types in the Talkable documentation). The names below are the ones the Talkable admin and documentation use.

The metrics API splits any metric by placement with segment_by[campaign_types]=true ("segment_by": ["campaign_types"] through MCP) and returns one row for each placement or campaign type the store runs, labelled as in the last column.

Leaderboard, Tiered Rewards and full-bleed Invite campaigns that run on a page of their own carry no campaign type: they count in the site total and in none of the rows, so the rows can sum to slightly less than the total, and the difference is those campaigns. Set up as a Post-purchase or Floating widget campaign, they take that placement's type and sit in its row.

Placement or campaign typeWhere the customer meets itAPI: campaign_type
Post-purchaseThe prompt shown right after checkoutpost_purchase
StandaloneA dedicated referral page the customer navigates tostandalone
Advocate dashboardThe page where a returning advocate sees their rewards and share links. A campaign type, usually on its own pagedashboard
Floating widgetA button present on most pagesfloating_widget
Reward GleamA bar that shows a customer a code they have already earnedgleam
Claim by nameA pop-up where a friend types the advocate's name to claim the friend offer, with no link. Its funnel is counted in the advocate's campaign that has name sharing turned on, so its own row stays near zeroclaim_by_name

A Leaderboard is a campaign type too: a contest in which advocates compete on successful referrals and the top ones are rewarded at the end, usually on its own page. Its activity sits in the site total, beside the rows above.

The placement of one campaign comes from its field appearance in the campaign list (GET /api/v2/campaigns):

  • popup = Post-purchase
  • inline = Standalone, Advocate dashboard or a campaign with no type, such as a Leaderboard on a page of its own
  • widget = Floating widget or Claim by name
  • gleam = Reward Gleam

Where one value covers several types, the admin campaign list shows the type.

The friend's claim page, where a friend lands from a referral link, is not a placement; it is the friend's side of the program. Every placement an advocate sees creates the same thing for that customer: an offer. Claim by name is the exception: the friend meets it, and it is entered by the advocate's name rather than a link.

In Talkable, everything in a referral program hangs off the offer. The moment a customer meets the program, the program gives that customer an offer: a personal way to refer, tied to that campaign. Seeing the program is enough; no click is needed.

An offer is created per origin, the purchase, event or visit through which the customer met the program, and per campaign: a customer who sees the post-purchase prompt after two orders holds two offers in that campaign. Every share, click, purchase and reward is attached to one offer. A program's real base is therefore the number of offers, not its traffic.

An impression is a different count (stage 1). A customer who opens the share page five times produces five impressions of one offer; a customer who never opens the floating widget holds an offer and produces none. Reports that quietly use offers where impressions belong produce advocacy rates that cannot be compared with anyone else's.

The six stages

The referral funnel: impressions, sharers, shares, clicks, visits, friend referral sales, with the rate between each pair of stages Impressions share page or sign-up page shown to an advocate advocate side Advocacy rate = sharers ÷ impressions Sharers offers that were shared at least once Sharing rate = shares ÷ sharers Shares one recorded share of an offer through one channel Click rate = clicks ÷ shares Clicks a friend opens the share link friend side Visit rate = visits ÷ clicks Visits the friend proceeds from the claim page to the store Conversion rate = friend referral sales ÷ visits Friend referral sales qualified friend purchases, counted
Six counts, five rates. Each stage is counted in the period in which its own event happened; sharers are dated by the offer's creation.

1. Impressions

In Talkable, an impression is one display of the share page to an advocate, or of the sign-up page that precedes it in campaigns that ask for an email first. Repeat views count, with two exceptions:

  • views a couple of minutes apart are collapsed into one;
  • the share page shown immediately after a sign-up does not add a second impression.

An offer created through an API origin or at Shopify checkout also records an impression, with no page shown. Reward Gleam views are a separate action and are not impressions. When you compare advocacy across stores, the impression source matters.

impressions = share page views + sign-up page views − sign-ups

2. Sharers

A sharer is an offer that has been shared at least once. It is counted per offer, not per person and not per share.

An advocate who shares the same offer by email, then by link, then on social, is one sharer. An advocate who holds two offers, in two campaigns or from two orders in one campaign, and shares both is two sharers.

If you want people rather than offers, count distinct advocates who shared, reported beside the funnel as "advocates who shared"; that number is at most the sharers count, and its rates do not match the funnel's. The Talkable admin labels sharers "People Who Have Shared"; the count is still offers.

One detail decides whether your number matches anyone else's: in a monthly report, sharers are the offers created in that month that went on to be shared, dated by the offer's creation, not by the share.

The share itself does not have to fall inside the month: an offer created in September and first shared in October joins September's sharers when that share happens, so a closed month's sharers can still grow a little after the fact.

3. Shares

A share is one recorded share of an offer through one channel: copying the link, sending the email form, sending an SMS, or posting to a social network.

  • The email form records one share per new recipient: an email sent to three new recipients is three shares, and a recipient the offer was already shared with is not counted again.
  • Some social channels reuse the same share for five minutes.
  • Opening the same direct link many times does not create new shares; a friend who opens a link for which no share was recorded creates one.
  • Wallet passes work by the hour: a scan of the advocate's QR code by a new friend records a share, and later scans in the same hour reuse it, so two new friends in one hour are one share.

One sharer can produce several shares. Sharing is the first stage where the count can exceed the count above it.

4. Clicks

A click is recorded when a friend opens a referral link. Usually that lands them on the claim page, or on the email gate in front of it; where a program sends friends straight to the store, the click still counts, because what is counted is the opening of the share link, not the viewing of a page.

Repeat opens within a couple of minutes are collapsed into one, bots are filtered out, and most fraud patterns are stopped before a click is stored, so the count will sit below what a raw web-analytics tool shows for the same links.

Clicks on expired links still count, and so do the visits that follow; expiry decides whether a reward is issued, not whether the sale counts. Friends on expired links rarely convert, which pulls the friend-side rates down.

5. Visits

A visit is recorded when the friend proceeds from the claim page to the store. Between a click and a visit the friend has seen the reward, may have entered an email, and may have decided to leave.

In aggregate clicks exceed visits, which is why the visit rate measures the claim page and the channel the friend came from, not the store. Neither stage is an identity of the one next to it.

Creating a referral always records a visit if the friend has none, so a purchase matched by coupon, email or phone still carries a visit, and that visit can have no click. A small row, one campaign or one short period, can still show a conversion rate above 100%: the visit fell in an earlier period than the sale, or several referrals were matched to one friend's visit.

Common mistake

Treating "click" and "visit" as synonyms. Programs that skip the claim page record a visit at the moment of the click, so for them the two counts are close by design.

6. Friend referral sales

A friend referral sale is a friend purchase that has been matched to an advocate's offer and meets the qualification rules in the next section. For the funnel it is a count of orders. Revenue, average order value and new customers are reported separately, because rates built on money and rates built on counts do not mix.

The five rates

Each rate divides a stage by the stage above it. The denominator is the whole definition, so it is written out every time.

RateFormulaQuestion it answersUnitMedian program, 2025 (number of programs)
Advocacy ratesharers ÷ impressionsOf the share-page displays, how many led to a shared offer?%4.9% (125)
Sharing rateshares ÷ sharersHow many times does a sharer share, on average?a ratio, not a %; can be above 11.34 (119)
Click rateclicks ÷ sharesHow many friend opens does a share produce?a ratio, not a %; routinely above 11.66 (123)
Visit ratevisits ÷ clicksHow many friends who saw the reward went on to the store?%42.1% (111)
Conversion ratefriend referral sales ÷ visitsHow many friends who reached the store bought?%16.6%, middle half 10.1–22.9% (119)

Last column: Talkable benchmark data, 2025, median program, all placements.

Two of these are routinely computed on the wrong base, and it changes the number several times over:

  • Conversion rate is over visits, not over clicks and not over shares. The same 72 sales in the worked example below read 10% against visits, 4% against clicks and 6% against shares. Only the first describes what the store does with a friend who actually arrived. It will also look high next to the store's overall conversion rate: a referred friend arrives with a reward in hand, a different population.
  • Advocacy rate is over impressions, not over orders or customers. A rate over "all customers who bought this month" measures the reach of the placement as much as the willingness to share, and it is not comparable across stores with different placements.

What counts as a friend referral sale

A friend purchase becomes a friend referral sale when four conditions hold.

  1. It is a purchase. Programs can also reward sign-ups, subscriptions or app installs (events). Friend referral sales count purchases only; events enter a sales figure only when a report is filtered to event categories. Events do count in customers, new customers, total store revenue and the dashboard revenue figure, so a report built on those says whether events are in.
  2. It is matched to an advocate's offer by a tracking method. Methods are tried in a fixed order and the first match wins:
    1. a referral created by hand in the admin;
    2. "sticky advocate", where the site has it on, which gives the purchase to the advocate of the friend's most recent earlier referral that was tracked directly;
    3. the advocate's personal coupon;
    4. the friend's single-use coupon from the friend offer;
    5. the browser cookie carried from the referral link (in the mobile SDKs, the web cookie);
    6. the email or phone number the friend entered on the claim page;
    7. the email the advocate shared to;
    8. the IP address, only within an hour of the click;
    9. an event chain, which gives a friend's later events to the advocate of their most recent earlier referral that was tracked directly.
    Each method can be switched off per site. That match is the referral: the link between an advocate's offer and a friend's purchase or event.
  3. It falls inside the attribution window of its tracking method. Each method has its own window, 1 to 365 days, 30 by default, counted from the friend's latest interaction: whichever is latest of the share being created, the friend opening the share email, and the friend's last click. A visit counts through its click. Coupon-tracked purchases (personal coupon and coupon) are exempt: the code proves the referral regardless of when it is used.
  4. It has not been blocked or voided.
    • Each fraud check (self-referral, blocked email or IP, a disposable address) is set to flag or to block: a blocked referral is out, a flagged one still counts.
    • A referral the store rejects is voided, by hand or through the Referrals API, typically when the order is cancelled.
    • A full refund voids a pending or flagged referral automatically, and flagged referrals are resolved automatically after a delay, to void or to approve as the site is set. Once a referral has been approved, a later refund leaves it in place.
    • Pending, flagged and approved referrals are all included, so a sale counts before its reward is paid.
    How approval works: Referrals approval.
Term of art

Talkable calls a purchase that meets all four conditions an ideal friend sale. "Ideal" bundles the four checks; timing does most of the work.

Purchases that use a Talkable advocate-reward coupon are advocate referral sales, whoever the buyer is; a purchase that also matches a friend referral counts as a friend referral sale. They are tracked separately, and not part of the funnel. Friend referral sales plus advocate referral sales are referral sales, the count that pairs with referral revenue.

Revenue, customers, ROI

Revenue has two sides and three names. Name the side whenever you quote one alone, and never divide one side's money by the other side's orders.

MetricDefinitionNote
Friend referral revenueSum of order subtotals over the friend referral salesSubtotals are recorded after the discount on the order
Advocate referral revenueSum of order subtotals over the advocate referral salesPurchases that use a Talkable advocate-reward coupon, whoever the buyer is
Referral revenuefriend referral revenue + advocate referral revenueThe total, and the default meaning of "referral revenue" when no side is named
Referral AOVreferral revenue ÷ referral salesBoth totals, so the denominator counts advocate referral sales too. Friend referral AOV divides friend referral revenue by friend referral sales. Compare with the store's overall AOV, same period
CustomersDistinct identified friends (with an email address) with at least one friend referral saleA friend with two orders is one customer. Events count too, unless the report is filtered to purchases
New customersCustomers whose friend referral sale is the first purchase the program has on record for that person"New to the program", not "new to the store". A store can flag customers from before the integration, and they are then not counted as new
Referral revenue sharereferral revenue ÷ total store revenueTotal = every order the store sends to the program, plus events unless the report is filtered to purchases
ROI(referral revenue ÷ platform fee) − 1Referral revenue and the fee the store pays the referral platform, the monthly plan cost prorated to the period; a program returning three times its fee has an ROI of 200%. ROI is split by period

Cost per acquired customer reads the same program from the other end: what it takes to bring one customer in, the figure to put next to what other channels charge.

The revenue figure a program shows on its dashboard is configurable, so two stores on the same platform may not be quoting the same numerator; decide which figure the store calls "referral revenue" and keep it fixed, because changing it mid-year breaks every trend line.

Refunds work through voiding (what counts): a full refund removes a pending or flagged sale, an approved sale stays, and standard reports sum gross subtotals. A net figure, refunds excluded, is a Talkable MCP option: exclude_refunded.

Counting rules that keep the numbers comparable

Each stage is counted by its own event date

A Talkable funnel for June contains only June's events, stage by stage: the impressions shown in June, the offers created in June that went on to be shared, and the shares, clicks, visits and purchases that happened in June. This is the in-period view, and it is the only one that can be summed across stores or compared month to month.

One offer across three months: created in April, shared in May, friend clicks, visits and buys in June. In-period counting puts the sharer in April, the share in May, and the click, visit and friend referral sale in June. April May June offer created (customer sees the program) advocate shares by email friend clicks, visits and buys counted as 1 sharer in April counted as 1 share in May counted as 1 click, 1 visit and 1 friend referral sale in June
One offer, three months, five stage counts. The table below is the text equivalent.
EventWhenStage it incrementsMonth it is counted in
Customer sees the program; offer createdAprilSharers (once the offer is shared)April, the offer's creation month
Advocate shares by emailMaySharesMay
Friend opens the linkJuneClicksJune
Friend proceeds to the storeJuneVisitsJune
Friend buys, inside the attribution windowJuneFriend referral salesJune

Sharers and shares sit on different clocks (stage 2). Over a month the difference is small. Over a day or a week it is not, and a short window can legitimately show shares against very few sharers and a sharing rate that looks wrong.

The same happens when a campaign re-engages old offers, such as an email to past customers: that month's shares land against very few new sharers. That is a property of the definitions, not a broken report.

The alternative, following one month's offers all the way down to their eventual purchases, is a cohort view. It is the right tool for questions about timing (how long after a share does a friend buy?) and the wrong tool for a monthly report, because the most recent month is always incomplete.

Always show absolutes next to rates

Click rate went up. Is that good? Only if clicks grew. If shares fell and clicks stayed flat, the same rate rise describes a shrinking program. A rate on its own cannot tell the two apart, so every funnel report shows the six counts alongside the five rates.

Rates are computed on totals, not averaged

The monthly conversion rate is total friend referral sales divided by total visits, not the mean of daily rates. Averaging rates weights a quiet Sunday the same as Black Friday.

The one exception is a comparison with a published benchmark: build your number the way the benchmark is built, the monthly rates for that placement averaged over the months it ran, or a single peak month moves the answer more than any real difference.

Exclude test traffic

Test (QA) traffic is the activity from the testing IP addresses, emails and phone numbers configured for the site. It is removed before anything is counted: sales metrics always leave it out, and activity metrics (impressions to visits) leave it out by default. A funnel that includes it looks better than the program is.

A worked example

Illustrative only

The figures below are round numbers chosen to show the arithmetic. They are not benchmarks. Typical ranges depend on placement, industry and reward; the deep dive below gives the medians by placement.

The worked example as a flow: 10,000 impressions, 800 sharers, 1,200 shares, 1,800 clicks, 720 visits, 72 friend referral sales, with the rate between each pair of stages: advocacy 8.0%, sharing 1.5, click 1.5, visit 40.0%, conversion 10.0%. Impressions 10,000 Sharers 800 Shares 1,200 Clicks 1,800 Visits 720 Friend referral sales 72 advocacy 8.0% 800 ÷ 10,000 sharing 1.5 1,200 ÷ 800 click 1.5 1,800 ÷ 1,200 visit 40.0% 720 ÷ 1,800 conversion 10.0% 72 ÷ 720
The six counts and the five rates of the worked example. Illustrative round numbers; the table below holds the same figures.
StageCountRate to the next stageComputed as
Impressions10,000advocacy 8.0%800 ÷ 10,000
Sharers800sharing 1.51,200 ÷ 800
Shares1,200click 1.51,800 ÷ 1,200
Clicks1,800visit 40.0%720 ÷ 1,800
Visits720conversion 10.0%72 ÷ 720
Friend referral sales72

The same month in money and customers. The friend referral sales are the 72 orders above; the advocate referral sales are 8 more orders placed with advocate-reward coupons; total store revenue is every order the store sent to the program that month.

FigureCountAmountComputed as
Friend referral sales / revenue72$6,480Sum of the 72 order subtotals
Advocate referral sales / revenue8$720Sum of the 8 order subtotals
Referral revenue80$7,2006,480 + 720
Referral AOV$907,200 ÷ 80
New customers62The friend referral sales whose buyer had no earlier purchase on record with the program: 62 of the 72
Total store revenue$324,000Every order the store sent to the program that month
Referral revenue share2.2%7,200 ÷ 324,000

Deep dive: the same funnel across cuts

The definitions do not change by placement, channel or period. The numbers do, by several times, and the stages do not move together. Every figure below is Talkable benchmark data: the median program, with the program count and period beside it; nothing is pooled across programs.

By placement: the top and the bottom move, the middle does not

Placement decides who sees the offer. Post-purchase is shown to everyone who checks out; Standalone only to people who went looking for a referral page. That difference in audience, not in the share page, is why advocacy differs almost threefold between the two.

RateStandaloneFloating widgetPost-purchase
Advocacy sharers ÷ impressions12.1% · n=1288.6% · n=734.5% · n=64
Sharing rate shares ÷ sharers1.50 · n=1221.46 · n=701.16 · n=65
Click rate clicks ÷ shares1.93 · n=1201.20 · n=720.61–0.89 · n=66
Visit rate visits ÷ clicks43.2% · n=12144.4% · n=7340.0% · n=66
Conversion friend referral sales ÷ visits19.5% · n=10819.0% · n=6410.6% · n=53

Median program per cell, n programs, 2025, Talkable benchmark data. The post-purchase click rate is the published band, as no median is published for it.

Why a whole-program rate is mostly a placement mix. Post-purchase carried 63% of impressions across 102 programs running four placements (2022–2024), so a program's blended advocacy sits near its Post-purchase column, far below its Standalone one.

Illustrative, with the two 2025 medians rounded:

  • 9,000 Post-purchase impressions at 4.5% and 1,000 Standalone impressions at 12.0% give 405 + 120 = 525 sharers, a blended 5.25%;
  • move the mix to 7,000 and 3,000 and the same two rates give 315 + 360 = 675 sharers, 6.75%.

The blended rate rose by more than a quarter with no share page changed, so read a change in a blended rate as a mix question before a design question.

Why the middle does not move. The visit rate is 40–44% on all three placements: once a friend has clicked, where the advocate saw the offer no longer matters, because the friend is looking at the same claim page. The placement effect reappears at the last stage (conversion row).

Rates and volume point in opposite directions. In the same data, Post-purchase earned 26% of referral revenue on its 63% of impressions, and Standalone 32% on 9% (Talkable benchmark data, 2022–2024; impression shares over 102 programs, referral revenue shares over 84 of them). So judge Post-purchase on friend referral sales per thousand impressions, not on advocacy.

For example, ask the Talkable AI Assistant: “Show my referral funnel for last quarter by placement, with friend referral sales per thousand impressions for each placement.”

By sharing channel: why the click rate is above 1

A channel funnel starts at shares: the share page is shown before a channel is chosen, so advocacy cannot be split by channel. Each share carries its channel, and every click, visit and friend referral sale it produces belongs to that channel.

Channel% of a program's shares sent through this channelClick rateVisit rateConversionPrograms
Email36.8%0.6171.7%17.3%149
Direct link33.9%3.0935.1%8.0%199
SMS14.2%1.3840.9%13.4%138
Facebook1.6%1.1219.4%0.2%85

Median program per cell, January 2025 – June 2026, Talkable benchmark data; Programs = those recording a share through that channel. Other channels are not shown.

Why click rate exceeds 1, and why that is normal. A copied link can be opened by anyone, repeatedly; an email goes to one named person; the table shows a fivefold gap between them.

A program's blended click rate is therefore a channel-mix figure as much as a quality figure. If advocates shift from email to the copied link, the click rate rises and the visit rate falls with nothing changed on any page, which is why the two rates are always read together.

Why the visit rate is a channel figure. The claim page is the same for every friend; the audience is not. A friend arriving from an email knows who sent it and expects the reward; a Facebook click is a public post reaching people with no relationship to the advocate, so fewer go on to the store and almost none of those buy (0.2% of visits): the clicks are real, the intent is not.

Why channel medians must not be chained. Each channel figure is the median of its own set of programs, so multiplying email's click rate, visit rate and conversion describes no program that exists. Rank channels on the stage you care about and take the volumes from your own program.

For example, ask the AI Assistant: “Split shares, clicks, visits and friend referral sales for last quarter by sharing channel, with the click rate and visit rate for each channel.”

Over time: the stages sit on different clocks

Each stage sits on its own event date (counting rules), so a period cut shows the stages drifting against one another even at a steady program. How far they drift depends on the lag between the steps.

What is measuredResultPrograms measured and period
Share to friend referral saleMedian program: half of its referral purchases within 2 days; middle half of programs 1–7 days; the same programs' averages cluster around 20 days185 · 2023–2025
What a 30-day attribution window capturesMedian program: 59% of the friend referral revenue it ever tracked, plus every coupon-tracked purchase192 · history to April 2024

Talkable benchmark data; program count and period on each row.

What this does to a monthly funnel. With a median lag of 2 days from share to purchase, a share and its sale usually land in the same month, so a monthly in-period conversion rate is close to what a cohort of that month's shares would show.

Over a week they part: a share on the 30th and a purchase on the 2nd sit in different weeks, and the weekly conversion rate swings for no reason the program controls.

Why a cohort's last month is always incomplete. Only 59% of the friend referral revenue a median program ever tracks lands inside the window (table above); the tail runs on for months. A cohort cut ended today is missing that tail; the in-period view has no such problem, but it cannot say which share produced which sale.

For example, ask the AI Assistant: “Show my referral funnel by month for the last 12 months and tell me which stage changed most.”

By reward

The funnel can be cut by reward the same way as by campaign: group the campaigns that carry the same rewards and read the six counts and the five rates for each group.

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. Across programs active January 2025 – June 2026:

  • mobile advocacy runs a median 5.60% against desktop 4.26% (144 and 142 programs);
  • the sharing rate is effectively the same, 1.26 against 1.29.

Mobile usually carries the larger share of impressions, so it drives the whole-program number while performing only slightly better per impression: another mix effect, read the same way as placement.

For example, ask the AI Assistant: “Compare impressions, advocacy rate and sharing rate on mobile and desktop for last quarter.”

Reading a change

  • Read a drop by placement first. Pull impressions per placement before any rate; a placement that lost its impressions explains a sales drop with every rate unchanged.
  • Then walk the funnel of each placement against its own column and stop at the first stage well below that placement's median: that is the stage to work on.
  • Match the benchmark's method before comparing (counting rules).

For example, ask the AI Assistant: “Referral sales fell last month. Compare it with the month before by placement, starting with impressions, and list the settings changes in that window.”

Calculate it for your own program

Every count, rate and revenue figure in this article comes from Talkable, one call per metric. The result equals the Metrics Aggregation Report in the Talkable admin for the same period, campaigns and filters. There are three ways to get it:

  • 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
SharerssharersSharers; elsewhere in the admin "People Who Have Shared" (both count offers)number
SharessharesSharesnumber
ClicksclicksOffer Clicksnumber
VisitsvisitsSite Visitsnumber
Friend referral salesideal_friend_sales_count# Ideal FR salesnumber
Advocate referral salesideal_advocate_sales_count# Ideal AD salesnumber
Friend referral revenueideal_friend_sales_sum$ Ideal FR salesmoney
Advocate referral revenueideal_advocate_sales_sum$ Ideal AD salesmoney
Referral revenueideal_sales_sum$ Ideal sales, under Hidden Metrics (= $ Ideal FR sales + $ Ideal AD sales)money
Advocacy rateadvocacy_percentageAdvocacy percentagepercent
Sharing ratesharing_rateSharing rateratio
Click rateclick_rateClick Rateratio, not a percent (1.5 = 150 clicks per 100 shares)
Visit ratevisit_percentageVisit Percentagepercent
Conversion rateconversion_percentageFriend Conversion Percentagepercent
Referral AOVaverage_order_valueAverage order valuemoney
Referral revenue sharerevenue_percentageRevenue percentage; total store revenue is $ Sales, under Hidden Metricspercent (total store revenue = total_sales_sum)
ROIroi% ROIpercent

How a call works

  • One metric: GET https://www.talkable.com/api/v2/metrics/{metric} with site_slug, start_date and end_date.
  • A split (by month, placement, channel): add /segmentize to the same path.
  • The answer: one value as {"plain": …, "formatted": "…", "result_type": …}. A split returns {"segmented": [ … ]}, one value per row with its label (period, campaign_type, …).
  • Precision: percents come back with two decimals, ratios with four. Each rate metric equals the rate computed from its two counts.
  • Money comes back in the site's reporting currency; formatted carries its symbol ("$6,480.00").
  • 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 (REST also takes M/D/YYYY); both days included; days run in the account time zoneSet the period
segment_by[period]day, week, month, quarter, year; up to 1,000 rows per requestTrend the funnel
segment_by[campaign_types]=trueone row per placement the store runs: post_purchase, standalone, dashboard, floating_widget, gleam, claim_by_nameRead the funnel by placement, one call per metric (the placement table gives the names). Campaigns with no type count in the total only; the script prints site total − sum of the rows as “Other campaigns (no type)”
campaign_ids[]ids from GET /api/v2/campaigns, which returns every campaign in one pageOne campaign, a custom group of campaigns, or an A/B test
segment_by[sharing_channels]=trueone row per channelShares, clicks, visits and sales by channel
segment_by[campaign_tags]=trueone row per tagHoliday, A/B or brand groups of campaigns
campaign_tags[], sharing_channels[], traffic_sources[], device_typetag names; channel identifiers; identifiers from GET /api/v2/traffic_sources; device_type = the advocate's device for impressions, sharers and shares, the friend's for clicks and visits, the buyer's for salesFilter the same metric to one group
exclude_qa_generateddefault trueTest traffic is already out. false brings it back into the activity metrics (impressions to visits); sales metrics always leave it out
MCP calculate_metric addssegment_by: date_range with aggregate_period (day, week, month), campaigns, campaign_types, sharing_channels, traffic_sources, device_type, utm_source / utm_medium / utm_campaign, split_test with split_test_key; exclude_refunded; currency. MCP names its filters exclude_qa, campaign_ids, sharing_channel_ids and traffic_source_ids (ids, not names); dates are YYYY-MM-DD in period_start / period_endDeeper cuts from an agent, several metrics per call; list_campaigns gives the campaign ids

Examples in four tabs

The same funnel 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:

Show me my referral funnel for July 1 – September 30, 2026, by month and by placement.

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

Your agent does not know how Talkable defines the funnel. Send it the same sentence and use the method in this report:

Show me my referral funnel for July 1 – September 30, 2026, by month and by placement. Use the method in this report: https://get.talkable.com/analytics/referral-funnel

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", "ideal_advocate_sales_count",
              "ideal_friend_sales_sum", "ideal_advocate_sales_sum",
              "ideal_sales_sum",
              "advocacy_percentage", "sharing_rate", "click_rate", "visit_percentage",
              "conversion_percentage", "average_order_value"],
  "period_type": "custom",
  "period_start": "2026-07-01",
  "period_end": "2026-09-30",
  "segment_by": ["date_range"],
  "aggregate_period": "month"
}
  • One call returns all sixteen metrics, split by month.
  • By placement: "segment_by": ["campaign_types"] returns one row per placement the store runs (post_purchase, standalone, dashboard, floating_widget, gleam, claim_by_name). Campaigns with no type count in the period total only.
  • Period totals: drop segment_by.
  • aggregate_period takes day, week or month.

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

The responses below are the shapes the Python script parses, shown on the worked example. Authentication and errors: Talkable API introduction.

# one metric, one period
curl -H "Authorization: Bearer $TALKABLE_API_KEY" \
  "https://www.talkable.com/api/v2/metrics/visits?site_slug=$TALKABLE_SITE_SLUG&start_date=2026-07-01&end_date=2026-09-30"
# -> {"ok":true,"result":{"plain":720,"formatted":"720","result_type":"number"}}

# the same metric by month
curl -g -H "Authorization: Bearer $TALKABLE_API_KEY" \
  "https://www.talkable.com/api/v2/metrics/visits/segmentize?site_slug=$TALKABLE_SITE_SLUG&start_date=2026-07-01&end_date=2026-09-30&segment_by[period]=month"
# -> {"ok":true,"result":{"segmented":[
#      {"plain":250,"formatted":"250","result_type":"number","period":"7/1/26 - 7/31/26"},
#      {"plain":240,"formatted":"240","result_type":"number","period":"8/1/26 - 8/31/26"},
#      {"plain":230,"formatted":"230","result_type":"number","period":"9/1/26 - 9/30/26"}]}}

# the same metric by placement (one row per campaign_type; campaigns with no type are in the period total only)
curl -g -H "Authorization: Bearer $TALKABLE_API_KEY" \
  "https://www.talkable.com/api/v2/metrics/visits/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":400,"formatted":"400","result_type":"number","campaign_type":"post_purchase"},
#      {"plain":320,"formatted":"320","result_type":"number","campaign_type":"standalone"},
#      {"plain":0,"formatted":"0","result_type":"number","campaign_type":"dashboard"},
#      {"plain":0,"formatted":"0","result_type":"number","campaign_type":"floating_widget"},
#      {"plain":0,"formatted":"0","result_type":"number","campaign_type":"gleam"}]}}
  • Repeat the call for each identifier in the metrics table above.
  • 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 the totals, the five rates and money, then counts, conversion and referral revenue by month and by placement. Needs Python 3 and requests (pip install requests); reads the key from TALKABLE_API_KEY and TALKABLE_SITE_SLUG.

"""Referral funnel for one Talkable site: six stages, five rates, money, by month and by placement.

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 referral_funnel.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. Rates: percents to 2 decimals, ratios to 4, "n/a" when the denominator is 0.
"""
import os
import re
import sys
import time

import requests

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

STAGES = [  # article term -> API metric identifier
    ("Impressions", "advocate_impressions"),
    ("Sharers", "sharers"),
    ("Shares", "shares"),
    ("Clicks", "clicks"),
    ("Visits", "visits"),
    ("Friend referral sales", "ideal_friend_sales_count"),
]
MONEY = [
    ("Advocate referral sales", "ideal_advocate_sales_count"),
    ("Friend referral revenue", "ideal_friend_sales_sum"),
    ("Advocate referral revenue", "ideal_advocate_sales_sum"),
]
ROW = STAGES + [("Referral revenue", "ideal_sales_sum")]  # what every split row prints
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 total only


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 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.", 422 over 1,000 segmentation rows
            raise RuntimeError(f"{path}: HTTP {r.status_code}: {body.get('error_message')}")
        r.raise_for_status()
        return body["result"]


def metric(name, start, end):
    return get(f"metrics/{name}", start_date=start, end_date=end)


def segmented(name, start, end, **segment):
    params = {f"segment_by[{k}]": v for k, v in segment.items()}
    return get(f"metrics/{name}/segmentize", start_date=start, end_date=end, **params)["segmented"]


def pct(a, b):
    return round(100 * a / b, 2) if b else None


def ratio(a, b):
    return round(a / b, 4) if b else None


def show(x, money=False):
    return "n/a" if x is None else f"{x:,.2f}" if money else f"{x:,}"


def funnel(start, end):
    raw = {term: metric(m, start, end) for term, m in STAGES + MONEY}
    v = {term: r["plain"] for term, r in raw.items()}
    currency = re.sub(r"[\d.,\s-]", "", raw["Friend referral revenue"]["formatted"])  # e.g. "$"
    rates = {
        "Advocacy rate %": pct(v["Sharers"], v["Impressions"]),
        "Sharing rate (ratio)": ratio(v["Shares"], v["Sharers"]),
        "Click rate (ratio)": ratio(v["Clicks"], v["Shares"]),
        "Visit rate %": pct(v["Visits"], v["Clicks"]),
        "Conversion rate %": pct(v["Friend referral sales"], v["Visits"]),
    }
    sales = v["Friend referral sales"] + v["Advocate referral sales"]
    revenue = round(v["Friend referral revenue"] + v["Advocate referral revenue"], 2)
    money = {
        "Referral sales": sales,
        "Referral revenue": revenue,
        "Referral AOV": round(revenue / sales, 2) if sales else None,
        "Friend referral AOV": (round(v["Friend referral revenue"] / v["Friend referral sales"], 2)
                                if v["Friend referral sales"] else None),
    }
    total = {term: v[term] for term, _ in STAGES}
    total["Referral revenue"] = revenue
    return v, rates, money, total, currency


def print_rows(title, rows, total):
    """rows: list of (label, {term: value}) with the ROW terms; prints six counts, conversion, revenue."""
    print(f"\n{title}")
    print("  " + "row".ljust(26) + "".join(t[:12].rjust(13) for t, _ in STAGES)
          + "conv %".rjust(9) + "Referral rev".rjust(14))
    for label, r in rows + [("Total", total)]:
        counts = [r[t] for t, _ in STAGES]
        print("  " + label[:25].ljust(26) + "".join(f"{x:>13,}" for x in counts)
              + show(pct(counts[5], counts[4])).rjust(9) + f"{r['Referral revenue']:>14,.2f}")


def by_month(start, end):
    cols = {term: segmented(m, start, end, period="month") for term, m in ROW}
    labels = [row["period"] for row in cols["Impressions"]]  # every month, empty ones included
    return [(p, {term: cols[term][i]["plain"] for term, _ in ROW}) for i, p in enumerate(labels)]


def by_placement(start, end, total):
    cols = {term: {r["campaign_type"]: r["plain"] for r in segmented(m, start, end, campaign_types="true")}
            for term, m in ROW}
    seen = {ct for col in cols.values() for ct in col}  # the types this site runs, as the API returns them
    types = [ct for ct in PLACEMENT if ct in seen] + sorted(seen - set(PLACEMENT))
    rows = [(PLACEMENT.get(ct, ct), {term: cols[term].get(ct, 0) for term, _ in ROW}) for ct in types]
    other = {term: round(total[term] - sum(r[term] for _, r in rows), 2) for term, _ in ROW}
    if any(other.values()):  # campaigns with no campaign type count only in the total
        rows.append((OTHER, other))
    return rows


if __name__ == "__main__":
    if len(sys.argv) != 3:
        sys.exit("usage: python3 referral_funnel.py START END   (dates YYYY-MM-DD, e.g. 2026-07-01 2026-09-30)")
    KEY = os.environ["TALKABLE_API_KEY"]
    SITE = os.environ["TALKABLE_SITE_SLUG"]
    start, end = sys.argv[1], sys.argv[2]
    v, rates, money, total, currency = funnel(start, end)
    print(f"Referral funnel {SITE} {start} -> {end} (money in the site's reporting currency, {currency})")
    for k, x in list(v.items()) + list(rates.items()) + list(money.items()):
        print(f"  {k:<28}{show(x, 'revenue' in k or 'AOV' in k):>14}")
    print_rows("By month", by_month(start, end), total)
    print_rows("By placement", by_placement(start, end, total), total)

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; the same campaigns, if you filtered by campaign_ids[]; the same test-traffic, refund and currency filters.
  3. Compare column by column. The admin's name for each figure is in the metrics table above, column “Metrics Aggregation”.

If a figure differs, check four things:

  • the period boundaries: both days are inclusive, in the account time zone;
  • whether the report is filtered to the same campaigns;
  • whether its other filters match;
  • whether you compared $ Dashboard sales or # / $ Talkable Sales instead of the ideal-sales columns.

If both your number and the report are lower than you expect, verify that purchases reach Talkable.

For a recent month, pull both on the same day: sharers can grow after the fact.

Troubleshooting

  1. “No metric found.” (HTTP 400)
    Why: the identifier is not one the API knows.
    Fix: impressions are advocate_impressions, visits are visits. There is no impressions or friend_visits.
  2. “`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: send 2026-09-30.
  3. “This segmentation produces … rows, over the synchronous limit of 1000” (HTTP 422)
    Why: a split, such as a daily split over several years, returns more than 1,000 rows.
    Fix: narrow the period or the split. Or schedule it, as the message says: POST /api/v2/metrics/{metric}/segmentize (a key with api:write; up to 5,000 rows), then poll GET …/segmentize/{job_id}.
  4. 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 makes 23 calls: 9 for the totals, 7 for the month split, 7 for the placement split. On a 503 or 429 it waits 5, 10, 20 and 40 seconds between attempts, then stops with the HTTP error.
  5. Placement rows sum to less than the total
    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)”, so the table ties.
  6. A campaign that moved placement
    Why: it is reported under the placement it uses today, including the months before it moved.
    Fix: for a multi-year comparison, group by campaign id and assign the placement per period yourself.
  7. A placement with almost no impressions but clicks and sales
    Why: old share links are still being opened. A campaign that no longer renders keeps earning on the links already sent.
    Check: the campaign's status and live_period from GET /api/v2/campaigns.
  8. 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.
    • 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. Scheduling a CSV export needs the Write role and a key with mcp:write (permissions).

Go further

  • Funnel by channel. segment_by[sharing_channels]=true on shares, clicks, visits and ideal_friend_sales_count.
  • One campaign, a custom group of campaigns or a tag group. campaign_ids[] or campaign_tags[] on any metric.
  • An A/B test. Through the Talkable MCP server, segment_by: ["split_test"] with the test's split_test_key splits a metric by variant.
  • Net revenue. Through the Talkable MCP server, exclude_refunded: true leaves refunded orders out of the money metrics.
  • Rows, not totals. Which friends bought, which advocates shared, repeat purchases: these come from the exportable reports (reports and exports):
    • Purchases, with the attribution filter set to ideal friend or ideal advocate sales;
    • Referrals;
    • Offers, with shared / clicked / visited flags;
    • Offer Shares;
    • Incentive Outcomes.
    In the Talkable admin they download as CSV. From an agent, the MCP tools list_grid_reports, schedule_grid_export and get_grid_export schedule and fetch the same files.

Methodology

Figures
Cross-program figures: cells under five programs are not published; no program is named.
Code
Every request and the script were run on a live Talkable site and reconciled with its Metrics Aggregation Report.

FAQ

How is referral conversion rate calculated?

Friend referral sales ÷ visits. A visit is the friend proceeding from the claim page to the store; a click is only the opening of the link. In the worked example, 72 sales are 10% of visits, 4% of clicks.

What is advocacy rate in a referral program?

Sharers ÷ impressions, where impressions = share page views + sign-up page views − sign-ups and sharers = offers shared at least once. 2025 Talkable medians: 4.9% across all placements, 12.1% on the Standalone placement.

What counts as a friend referral sale?

A friend purchase matched to an advocate's offer by a tracking method, inside that method's attribution window (default 30 days from the latest share, share-email open or click; coupon-tracked: no limit), not blocked or voided. Talkable's term: ideal friend sale.

What is referral revenue, and how is referral program ROI calculated?

Talkable referral revenue = friend referral revenue + advocate referral revenue, order subtotals recorded after the discount. ROI = (referral revenue ÷ the platform fee, prorated to the period) − 1: three times the fee is an ROI of 200%.

Why is a referral click rate above 1 (more clicks than shares) normal?

Click rate = clicks ÷ shares, and one share can be opened by many friends: a copied link brings a median 3.09 clicks per share, an email 0.61 (199 and 149 programs, 2025 – mid-2026). Talkable's API returns a ratio.

How do I calculate my referral funnel from the Talkable API?

GET https://www.talkable.com/api/v2/metrics/{metric} with site_slug, a Bearer API key and YYYY-MM-DD dates for advocate_impressions, sharers, shares, clicks, visits and ideal_friend_sales_count; divide each count by the one above it. The result equals the Metrics Aggregation Report in the Talkable admin.

Learn more

In the Talkable documentation:

Campaign placementsWhere each placement shows and how campaigns attach to it
Referral tracking methodsHow a friend's purchase is matched to an advocate, in priority order
Referrals approvalPending, approved and voided referrals, and when rewards are issued
Reporting with Talkable AIMetrics, segments and 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