
All the Ways to Segment a Referral Program
In short
A referral program can be cut two ways:
- Program-side axes come with Talkable reporting: period, campaign, campaign tag, placement or campaign type, offer, sharing channel, device, traffic source, event category, A/B test, currency and custom segments.
- Customer-side axes (order value, new vs existing, purchase history, sharing history, geography, age) come from custom segments or exports joined to store data.
Why it matters
A whole-program rate is an average of its segments, weighted by how much of the program each segment carries. When the weights move, the total moves, even if no segment changed.
Most questions a merchant asks about a Talkable referral program ("why did sharing drop?", "which offer works?", "do mobile customers share more?") are answered by one cut, read the right way.
Start every diagnosis with two cuts, by month and by placement or campaign type, before changing any page or reward; every other axis refines what those two show.
What a segment is
A segment is the part of a program's activity that shares one value of one dimension: the Post-purchase placement, the email channel, mobile devices, the month of June.
Segmenting changes nothing about the counting. Every segment is read on the same six counts of the Talkable referral funnel (impressions, sharers, shares, clicks, visits, friend referral sales), each stage counted in the period its own event happened, and on the same five rates, each computed on the segment's own totals.
A dimension (or axis) is the attribute the segments are cut by. Each dimension describes one side of the referral:
- the advocate (their device, the source that brought them, their order);
- the share (its channel);
- the campaign the advocate saw;
- or the friend's purchase (its event category, its currency).
That side decides which stages the dimension can split; the map below lists them.
The whole-program rate is the segments' rates weighted by each segment's share of the denominator, so a total can move when traffic shifts between segments even if no segment changed. The worked example shows it on round numbers; the formula is in the deep dive.
A worked example
Round numbers chosen to show the arithmetic; they are not benchmarks.
A program's advocates share by email and by copied link. An email share is opened by 0.5 friends on average, a copied link by 2.5, in both months. Only the mix of channels changes.
| Month | Email shares | Link shares | Clicks | Click rate clicks ÷ shares |
|---|---|---|---|---|
| Month 1 | 600 | 400 | 300 + 1,000 = 1,300 | 1.30 |
| Month 2 | 300 | 700 | 150 + 1,750 = 1,900 | 1.90 |
The click rate rose from 1.30 to 1.90, by 46%, and neither channel's click rate moved.
Split into rate effect and mix effect (formula):
- the rate effect is 0, because both channels kept their rates;
- the mix effect is (0.3 − 0.6) × 0.5 + (0.7 − 0.4) × 2.5 = −0.15 + 0.75 = +0.60, the whole change.
Read on its own, the total suggests the share page got better. The cut shows that advocates moved to the channel that is opened more often, and the visit rate will usually fall in the same month, because copied links reach friends who are less likely to continue.
The map of axes
Each row is one way to cut the program. "Whose attribute it is" says who or what the axis describes; "Stages it splits" says which of the six counts can be read by it. The sections after the map give, for each axis, how to pull it and what Talkable benchmark data shows where a published figure exists.
| Axis | Question it answers | Whose attribute it is | Stages it splits |
|---|---|---|---|
| Period | Is the program growing, and when did it change? | Both sides | All six |
| Campaign | Which configured campaign performs best? | The campaign the advocate saw | All six |
| Campaign tag | How does a group of campaigns perform: holiday, limited-time offer, brand, offer, A/B arm, anything the store tags? | The campaign | All six |
| Placement or campaign type | Where on the store does the program work? | The advocate's entry point | All six |
| Offer | Which advocate and friend reward pair performs best? | The rewards on the offer | All six |
| Sharing channel | Which channel brings friends who buy? | The share | Shares, clicks, visits, friend referral sales; sharers with overlap |
| Device | Do phone and computer users behave differently? | Advocate (impressions to shares), friend (clicks, visits), buyer (sales) | All six |
| Traffic source and UTM | Which marketing source brings advocates who share? | Advocate | All six |
| Event category | Are referrals converting on purchases or on other events? | The friend's conversion | Friend referral sales and revenue |
| A/B test | Which variant wins? | The test's traffic only | All six |
| Currency | How do markets that pay in different currencies compare? | The friend's purchase | Friend referral sales and revenue |
| Custom segments | Anything the store passes: region, tier, store, platform | Whatever record carries the value | All six, for records that carry it |
| Order value of the advocate's purchase | Do big spenders share more and bring bigger orders? | Advocate | The Post-purchase funnel |
| New vs existing customer | Is the program acquiring or retaining? | Either side: three different questions | Sales and revenue; the funnel from exports |
| Purchase history, loyalty tier, RFM | Whom to ask, and with which offer? | Advocate | The funnel, from exports or custom segments |
| Prior sharing behaviour | Do returning sharers behave differently from first-time ones? | Advocate | Shares and what follows, from exports |
| Geography | Which regions refer and buy? | Either side | From custom segments or exports |
| Age group | Do generations refer differently? | Either side | From custom segments or exports |
Program-side axes
These come with Talkable reporting: the Metrics Aggregation Report in the Talkable admin, the metrics API and the Talkable MCP server read them all. Each entry names its dimension key; the REST and MCP form of every axis is in the segmentation table under Calculate it for your own program.
Period
The trend cut: the same funnel by day, week, month, quarter or year. Weeks run Sunday to Saturday, and the first and last rows are cut at the edges of the requested period, so a partial week is not a weak week. Sharers are dated by the offer's creation, so a period that ended recently can still grow.
Dimension key: period (REST), date_range (MCP).
For example, ask the Talkable AI Assistant: “Show my referral funnel by week for the last eight weeks, with the five rates for each week.”
Campaign
One configured campaign against another, or a group of campaigns you choose. A campaign that no longer shows keeps producing clicks, visits and sales from the links already shared, so read each row next to the campaign's status and live period in the campaign list.
Dimension key: campaigns; filter campaign_ids.
The REST split returns display labels, not record IDs. Two campaigns named Spring, or built-in other and custom direct_link channels both displayed as Direct link, cannot be distinguished by label. The script stops on repeated campaign or channel labels rather than combining their rates. Make separate calls for each record using campaign_ids[] or sharing_channels[] with its ID, and keep that ID beside the result.
For example, ask the AI Assistant: “Compare my live campaigns last quarter on impressions, advocacy rate, visits and conversion rate.”
Campaign tag
A tag is a label the store puts on campaigns in their rules, and stores use tags for anything: holiday campaigns, limited-time offers, brands, offer levels, the arms of an offer test. There is no fixed meaning; check what a given program uses before relying on one.
- Through the metrics API the split returns one row per tag, so a campaign with three tags is counted in three rows: the rows overlap and never add up to the total.
- Through MCP it returns one row per combination of tags (for example
holiday|popup), and those rows do add up.
Dimension key: campaign_tags.
For example, ask the AI Assistant: “Split last quarter's referral funnel by campaign tag and tell me which tags overlap.”
Placement or campaign type
Where the advocate met the program: Post-purchase, Standalone, Floating widget, Reward Gleam, Claim by name, or the campaign types Advocate dashboard and Leaderboard (placements, campaign types).
Rows are labelled post_purchase, standalone, floating_widget, gleam (Reward Gleam), claim_by_name and dashboard (Advocate dashboard).
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 no row, so the rows can sum to slightly less than the total, and the script prints the difference as “Other campaigns (no type)”.
Set up as a Post-purchase or Floating widget campaign, they take that placement's type and sit in its row.
Dimension key: campaign_types.
What it typically shows. Among programs running four placements (Talkable benchmark data, 2022–2024; impression shares over 102 programs, referral revenue shares over 84 of them):
- Post-purchase carried 63% of impressions and 26% of referral revenue;
- Standalone carried 9% of impressions and 32% of referral revenue.
In such a program the whole-program advocacy rate is mostly the Post-purchase rate.
For example, ask the AI Assistant: “Show my referral funnel for last quarter by placement, with each placement's share of impressions and of friend referral sales.”
Offer
The advocate and friend rewards a customer's offer carries, read as one combination; rows are labelled with both rewards (for example AD: $15, FR: $15). Through the metrics API, group the campaigns that carry the same rewards instead.
A row with visits and sales but no impressions in the period is an earlier offer whose links are still being opened: the period's new customers no longer see it.
Which rewards to offer is its own topic (reward size, dollar vs percent, tiered rewards).
Dimension key: incentive_combinations (MCP).
For example, ask the AI Assistant: “Split my referral funnel for the last six months by incentive combination.”
Sharing channel
The channel each share went through. The channel funnel starts at shares, because the share page is shown before a channel is chosen; a split of impressions by channel returns HTTP 400.
A share is one recorded share of an offer: an email to three new recipients is three shares. Sharers can be split, but an offer shared through two channels is a sharer in both rows.
Rows are labelled as the program records them:
EmailSMSNative share(the phone's built-in share menu)Direct link(the copied link)WalletFacebook postWhatsAppEmail reminder, the reminder email sent to friends, which has clicks and visits but no shares of its own.
Dimension key: sharing_channels.
What it typically shows. January 2025 – June 2026, median program:
- friends arriving from an email go on to the store at a 71.7% visit rate (149 programs), from a copied link at 35.1% (199 programs);
- conversion rate 17.3% against 8.0% (Talkable benchmark data).
For example, ask the AI Assistant: “Split shares, clicks, visits and friend referral sales for last quarter by sharing channel, with the click rate, visit rate and conversion rate for each.”
Device
Device is recorded by stage:
- the advocate's phone or computer for impressions, sharers and shares;
- the friend's for clicks and visits;
- the buyer's for friend referral sales.
A sale recorded with no device sits in no device row (in MCP, Unknown), so check the rows against the total before reading a conversion rate by device.
Through MCP the split returns Mobile, Desktop+Tablet and Unknown; through the metrics API, filter each metric to one device at a time (desktop includes tablets).
Dimension key: device_type.
What it typically shows. January 2025 – June 2026, median program:
- mobile advocacy rate 5.60% against desktop 4.26% (144 and 142 programs);
- sharing rate 1.26 against 1.29 (135 and 132 programs).
Mobile carries about three quarters of advocate impressions, so it sets the whole-program number (Talkable benchmark data).
For example, ask the AI Assistant: “Compare impressions, advocacy rate and sharing rate on mobile and desktop for last quarter.”
Traffic source and UTM
Where the advocate came from. A traffic source is a label the store adds to the link that leads a customer to the program (?traffic_source=footer) or passes with the customer's data (segment with traffic source).
UTM tags are the standard source, medium, campaign, content and term parameters (UTM tags).
The row unknown holds advocates who arrived with no source. The label is the advocate's most recent one (deep dive).
Dimension key: traffic_sources; utm_source, utm_medium, utm_campaign, utm_content, utm_term (MCP).
For example, ask the AI Assistant: “Which traffic sources brought the advocates who shared most last month? Show impressions, sharers and advocacy rate by traffic source.”
Event category
Programs can reward purchases and other events, such as sign-ups or subscriptions (events). Friend referral sales count purchases by default; split or filtered by event category, the store's other events enter as their own rows next to purchase.
Events always count in customers, new customers and total store revenue unless the report is filtered to purchases. Impressions and the other upper stages carry no event category: a split of them returns HTTP 400.
Dimension key: event_categories.
For example, ask the AI Assistant: “Split my friend referral sales and revenue for last quarter by event category.”
A/B test
A test's variants side by side. The split takes the test's key (from the MCP tool list_split_tests), not true. Each row is one variant, labelled <test name>: <variant>, and the rows cover only the traffic that entered the test, so they add up to the test, not to the site.
An offer test run as two campaigns that rotate has no test key: compare the two campaigns instead, after checking that they received about the same number of impressions.
Which tests tend to win is its own topic.
Dimension key: split_test, with the test key.
For example, ask the AI Assistant: “Show the funnel for each variant of my last finished A/B test, with impressions per variant.”
Currency
For a store that takes several currencies. It splits friend referral sales and revenue. Revenue added across currencies without conversion is not a number: the Metrics Aggregation Report converts money values to one reporting currency (currencies in reports).
Dimension key: currencies.
For example, ask the AI Assistant: “Show friend referral sales and revenue for last quarter by currency.”
Custom segments
Three free fields that the store fills with anything it knows: a region, an age band, a loyalty tier, a store, a platform. They are passed with a purchase, a sign-up, an event or the customer's identification (custom segments).
The row (none) holds records that carry no value. In the Purchases report the same fields are filters.
A segment exists only from the day the store starts sending it, so set it up before the period you want to read.
Dimension key: segment1, segment2, segment3 (MCP).
For example, ask the AI Assistant: “Split last month's friend referral sales and revenue by segment1.”
Customer-side axes
These describe the customer rather than the program. Talkable holds part of the picture (purchases and their order values, referrals, shares, the first purchase on record); the rest is in the store's own customer data.
There are two ways to build them:
- pass the attribute to Talkable as a custom segment, so it is reported like any program-side axis from then on;
- or export the records and join them to the store's data by email, customer ID or order number.
Row-level exports are listed under Go further.
Order value of the advocate's purchase
On the Post-purchase placement every offer is created by the advocate's own purchase, so each impression has an order value behind it. Two ways to cut by it:
- pass an order-value band (for example
under-50,50-150,150-plus) assegment1with the purchase, and read the Post-purchase funnel bysegment1; - or export Purchases and Referrals, attach each advocate's order value to their referrals, and compare the friends' orders across advocate bands.
As a working practice (not a statistical threshold), Talkable analysts split advocates into spend quartiles only once there are at least 100 advocates with referrals.
A better result in the high-spend band describes the customers, not the reward: before giving that band a richer offer, test it inside the band.
The full method is its own topic (segmenting the post-purchase offer by order value).
For example, ask the AI Assistant: “Split last quarter's Post-purchase funnel by segment1.” (with the order-value band passed as segment1).
New vs existing customer
Three different questions hide behind these words, and each has its own source:
- Is the referred friend a new customer?
new_customerscounts friends whose friend referral sale is the first purchase the program has on record for that person.- Events count in it unless the report is filtered to purchases, and a store can flag the customers it had before the integration so they are not counted as new.
- It counts people, so set it against the number of distinct friends who bought, not against
ideal_friend_sales_count, which counts orders.
- Were the purchases on advocate-reward coupons made by new or existing customers?
- An advocate referral sale is any purchase made with a Talkable advocate-reward coupon.
ideal_advocate_sales_new_customers_countandideal_advocate_sales_existing_customers_countsplit advocate referral sales; the_sumversions split advocate referral revenue.
- Do advocates who had bought before share differently from those who had not?
- An advocate is existing if they had a purchase at or before their first share.
- A purchase recorded at the same moment as the share counts as existing, because a Post-purchase offer is created by that purchase.
- This is built from exports: Offer Shares for each advocate's first share, Purchases for their orders.
What it typically shows. For the median program:
- 90% of advocate referral revenue comes from customers who had bought before (70 programs);
- 80% of friend referral revenue from customers buying for the first time (172 programs; both figures cover two years to June 2026, Talkable benchmark data).
The advocate side of a program retains, the friend side acquires.
For example, ask the AI Assistant: “For last quarter, show friend referral sales, new customers, and advocate referral sales split into new and existing customers.”
Purchase history, loyalty tier, RFM
Who the advocate is as a customer: how recently, how often and how much they buy (RFM: recency, frequency, monetary), or which loyalty tier they hold. The People report filters people by purchase recency, frequency and spend, by referral and share history, and by custom properties.
For an RFM grid, score frequency on order-count bands (1, 2, 3, 4–5, 6+ orders) rather than on quintiles: when most customers have one order, quintiles break.
To read the funnel by tier from then on, pass the tier as a custom segment.
On Post-purchase, the ask shown after a customer's tenth order is a different ask from the one after their first: compare two Post-purchase campaigns or offers at the same order count, or the comparison measures who saw them.
For example, ask the AI Assistant: “Export the People report for advocates who shared in the last 90 days as a CSV.”
Prior sharing behaviour
First-time against returning sharers is a count of people, not of offers: the sharers metric counts offers shared at least once, and an offer is per origin (a purchase, an event or a visit) and per campaign, so one person can hold several. The Talkable admin labels the same count “People Who Have Shared”; it is still offers.
Build it from the Offer Shares export:
- take each advocate's earliest share across the program's whole history and every campaign;
- an advocate whose first share falls inside the period is first-time, one who had shared before is returning.
Report the people count next to the standard sharers figure and say why they differ.
The Top Referrers report ranks advocates by referral sales and revenue for the concentration question (how much comes from the most active advocates).
For example, ask the AI Assistant: “Show my top referrers for the last 12 months as a CSV export.”
Geography
Region or country comes from the store: pass it as a custom segment with each purchase or with the customer's identification, or join the Purchases export to the store's own orders by order number. Currency (above) answers a different question: what the friend paid in, not where they live.
For example, ask the AI Assistant: “Split last quarter's friend referral sales and revenue by segment2.” (with the region passed as segment2).
Age group
Age comes from the store's own customer data. Pass an age band as a custom segment, or join exported referrals and purchases to the customer file by email or customer ID, then read the funnel and the friends' orders per band.
For example, ask the AI Assistant: “Split last quarter's friend referral sales and revenue by segment3.” (with the age band passed as segment3).
Deep dive: the traps of segmenting
Every cut above is one call. Reading it is where the errors happen. These are the traps that turn a correct split into a wrong conclusion.
A segment rate needs volume
A rate on a small denominator moves by whole points from one customer. As a working practice, Talkable benchmark data counts:
- a program's device advocacy rate only from 100 impressions on that device;
- its device sharing rate only from 30 sharers.
These are working rules, not statistical thresholds: set floors like these for your own segments, and always print the counts next to the rates, because a 40% conversion rate on five visits is two orders.
The script in Calculate it uses 30 as its default floor for every rate's denominator in the mix check; set your own. For two periods, a segment must meet that rate's floor in both. The exclusion note considers segments from either period, including ones that disappeared. The displayed mix rates and effects describe only the retained subset, not the whole program; use the period-total rows to see the whole-program change.
A total rate can move while every segment stays flat
The worked example is the pattern: the total moved, the segments did not. It works in reverse too: a launch on a new placement, a large email to past customers, or a campaign switched off moves the weights, and the total can fall while every placement improves.
The whole-program rate is always the segments' rates weighted by each segment's share of that rate's denominator:
total rate = Σ (segment's share of the denominator × segment's rate)
Between two periods, the change in a total rate splits exactly into two parts:
change = Σ old share × (new rate − old rate) [rate effect] + Σ (new share − old share) × new rate [mix effect]
The rate effect is what the segments themselves did. The mix effect is the denominator moving between segments. If the mix effect is most of the change, the question is about traffic, placements or channels, not about the share page or the reward: look at what moved the traffic.
For example, ask the AI Assistant: “My advocacy rate changed between Q2 and Q3. Split both quarters by placement and tell me how much of the change comes from each placement's own rate and how much from the shift in impressions between placements.”
Placement is the campaign's current label
In Talkable reporting, placement and campaign type are read from each campaign as it is set up today. Campaigns do get moved: Shopify checkout-extension campaigns, for example, have been moved from Floating widget to Post-purchase. A moved campaign takes its whole history to the new label, including the months before it moved.
For a comparison across periods, split by campaign, assign each campaign its placement per period yourself, and add the rows up.
A segment's conversion rate can exceed 100%
Conversion rate is friend referral sales ÷ visits, and 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.
A small segment (one campaign, one week, the Advocate dashboard row) can still show 3 sales on 2 visits, a conversion rate of 150%: the visit fell in an earlier period than the sale, or several referrals were matched to one friend's visit.
Old links do the same at the top: a campaign no longer shown can have clicks, visits and sales in a period with no impressions; expired links still record visits and rarely convert. Neither is a broken report.
Advocate-side and friend-side segments answer different questions
Device on impressions, sharers and shares, traffic source, UTM, the advocate's order value and the advocate's customer status describe the advocate. Split friend referral sales by one of them and the answer is "advocates from this source brought this many sales", not "friends from this source bought".
Sharing channel describes the share. Event category, currency and new customers describe the friend's purchase.
Name the side in every sentence that quotes a segment, and never divide one side's segment by the other side's total.
Rows that overlap, and rows that do not add up
Before summing segment rows or weighting them, compare their sum with the period total:
- Rows above the total overlap. Campaign tags through REST (one row per tag), and sharers by channel (one offer, several channels). Do not add them up and do not weight them.
- Rows below the total leave something out.
- A/B test rows cover the test's traffic only.
- Placement rows leave out campaigns with no campaign type (Leaderboard, Tiered Rewards or full-bleed Invite run as a page of their own; on Post-purchase or Floating widget they take that placement's type); the script prints them as “Other campaigns (no type)”, so the table ties.
- Device rows leave out events recorded with no device.
- Rows equal to the total (period, campaigns for the upper stages, MCP tag combinations, placement with its Other row) can be weighted for a mix check.
Source labels are rewritten
Traffic source and UTM are stored on the advocate's customer record, and each later identified visit overwrites them. A split of a past period is therefore a split by where those advocates came from most recently, not where they came from at the time, and the same past month can read differently next week.
Read source splits for recent periods, pull the periods you compare on the same day, and do not present them as first-touch attribution.
Which cut to read first
- Period, then placement or campaign type. Most changes in a whole-program number are a placement mix or a calendar effect; these two cuts find both.
- Campaign and offer next. Within a placement, the campaign and its rewards explain the level.
- Channel for the lower funnel. When clicks, visits or conversion move, the channel mix is the first suspect.
- Device and traffic source for the upper funnel. When impressions or advocacy move, ask who arrived.
- Customer-side axes for targeting decisions: which customers to ask, with which offer. They answer "whom", not "why it changed".
Calculate it for your own program
Every program-side cut on this page comes from Talkable, one call per metric. The result ties to the Metrics Aggregation Report in the Talkable admin for the same closed period, filters and segmentation, with days in the account time zone. Pull both on the same day; the reconcile steps below say what to check. 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, several metrics in one call. - Talkable metrics API: an HTTP request or the Python script below, with your API key.
The Talkable MCP server and the AI Assistant are enabled per site by your Customer Success Manager (CSM). The HTTP and Python examples need only the API key.
Get your API key
- In the Talkable admin, open All site settings → General → Integrations → API integration.
- The page shows several values. Copy two: the API key (the site's private key; keep it server-side) and the Site ID, which is the site slug. A scoped key from Account settings → API Keys & MCP works too.
- Set them as
TALKABLE_API_KEYandTALKABLE_SITE_SLUGin your environment. No example on this page contains a key.
Authentication and error codes: Talkable API introduction.
What Talkable tracks
| Article term | API metric identifier | Metrics Aggregation | Returns |
|---|---|---|---|
| Impressions | advocate_impressions | Advocate Impressions | number |
| Sharers | sharers | Sharers | number (offers shared at least once) |
| Shares | shares | Shares | number |
| Clicks | clicks | Offer Clicks | number |
| Visits | visits | Site Visits | number |
| Friend referral sales | ideal_friend_sales_count | # Ideal FR sales | number |
| Friend referral revenue | ideal_friend_sales_sum | $ Ideal FR sales | money |
| Advocacy rate sharers ÷ impressions | advocacy_percentage | Advocacy percentage | percent |
| Sharing rate shares ÷ sharers | sharing_rate | Sharing rate | ratio |
| Click rate clicks ÷ shares | click_rate | Click Rate | ratio, not a percent (1.5 = 150 clicks per 100 shares) |
| Visit rate visits ÷ clicks | visit_percentage | Visit Percentage | percent |
| Conversion rate friend referral sales ÷ visits | conversion_percentage | Friend Conversion Percentage | percent |
| New customers (friends) | new_customers | New customers | number of people |
| Advocate referral sales, new customers | ideal_ideal_ | # Ideal AD sales new customers $ Ideal AD sales new customers | number money |
| Advocate referral sales, existing customers | ideal_ideal_ | # Ideal AD sales existing customers $ Ideal AD sales existing customers | number money |
How a call works
- One metric:
GET https://www.talkable.com/api/v2/metrics/{metric}withsite_slug,start_dateandend_date. - A split (by placement, channel, month or any axis in the table below): add
/segmentizeto the same path. - The answer: one value as
{"plain": …, "formatted": "…", "result_type": …}. Through REST, every segmented call returns{"segmented": [{"plain": …, "formatted": "…", "result_type": …, "<label key>": "…"}]}; the label key names the axis (last column below). - Precision: percents come back with two decimals, ratios with four. Rate metrics can be split too: each segment's rate equals the rate computed from that segment's two counts.
- Money (friend referral revenue) comes back in the site's reporting currency;
formattedcarries its symbol. - Through the Talkable MCP server the tool is
calculate_metric: the same identifiers, several metrics in one call. It returns, per metric, one entry per segment named"<axis>=<value>"plus"total".
API reference: Talkable API documentation.
Segmentations and filters
| Axis | REST (GET) | MCP calculate_metric | REST label key |
|---|---|---|---|
| Period | …/segmentize?segment_by[period]=month (day, week, quarter, year) | "segment_by": ["date_range"], "aggregate_period": "month" | period |
| Campaign | segment_by[campaigns]=true; filter campaign_ids[] | ["campaigns"]; filter campaign_ids | campaign |
| Campaign tag | segment_by[campaign_tags]=true (one row per tag); filter campaign_tags[] | ["campaign_tags"] (one row per tag combination); filter campaign_tags | campaign_tag |
| Placement or campaign type | segment_by[campaign_types]=true (campaigns with no type: total only) | ["campaign_types"] | campaign_type |
| Offer | group campaigns with campaign_ids[] | ["incentive_combinations"] | — |
| Sharing channel | segment_by[sharing_channels]=true; filter sharing_channels[] | ["sharing_channels"]; filter sharing_channel_ids (ids) | sharing_channel |
| Device | filter device_type=mobile / desktop | ["device_type"]; filter device_type | — |
| Traffic source | segment_by[traffic_sources]=true; filter traffic_sources[] | ["traffic_sources"]; filter traffic_source_ids (ids) | traffic_source |
| UTM | — | ["utm_source"], ["utm_medium"], ["utm_campaign"], ["utm_content"], ["utm_term"] | — |
| Event category | segment_by[event_categories]=true | ["event_categories"]; filter event_categories | event_category |
| A/B test | segment_by[split_test]=<test key> | ["split_test"] + "split_test_key" | split_test |
| Currency | segment_by[currencies]=true | ["currencies"] | currency |
| Custom segments | — | ["segment1"], ["segment2"], ["segment3"] | — |
- Two REST dimensions in one call: for example
segment_by[period]=month&segment_by[campaign_types]=truereturns one row per month and placement. - Dates: YYYY-MM-DD, e.g.
2026-07-01(REST also takes M/D/YYYY). Both days are included, and days run in the account time zone. - Test (QA) traffic (the testing IPs, emails and phones configured for the site) is excluded by default.
exclude_qa_generated=false(MCP:exclude_qa) brings it back into the activity metrics, impressions to visits; sales metrics always leave it out.
Examples in four tabs
One split four ways: ask in plain language, call the Talkable MCP server, send the HTTP requests, 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:
Compare my referral funnel for Q3 2026 with Q2 2026 by placement, and tell me how much of each rate's change comes from the placements' own rates and how much from the shift in traffic between them.
Your own agent (OpenClaw, Claude Code or any other agent)
Your agent does not know how Talkable defines the funnel or reads a segment. Send it the same sentence and use the method in this report:
Compare my referral funnel for Q3 2026 with Q2 2026 by placement, and tell me how much of each rate's change comes from the placements' own rates and how much from the shift in traffic between them. Use the method in this report: https://get.talkable.com/analytics/segmentation-overview
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",
"advocacy_percentage", "sharing_rate", "click_rate",
"visit_percentage", "conversion_percentage"],
"period_type": "custom",
"period_start": "2026-07-01",
"period_end": "2026-09-30",
"segment_by": ["campaign_types"]
}
- One call returns all eleven metrics, one entry per placement plus
"total". - Another axis: swap the axis in
segment_byfor any row of the segmentation table. - An A/B split adds
"split_test_key". - A month split adds
"aggregate_period": "month"to["date_range"].
The response, illustrative:
{"metrics": {
"advocate_impressions": {"campaign_types=post_purchase": 9000,
"campaign_types=standalone": 1000, "total": 10000},
"sharers": {"campaign_types=post_purchase": 270,
"campaign_types=standalone": 150, "total": 420}, ...},
"segmentations": ["campaign_types"],
"metrics_aggregation_url": "/sites/your-site/reports/metrics_aggregation?..."}
- The
metrics_aggregation_urlopens the same cut in the Metrics Aggregation Report. - Through MCP a tag split returns one entry per tag combination, for example
"campaign_tags=holiday|popup", and those entries add up to the total.
HTTP (curl): the raw requests any language can send
The responses below are the shapes the Python script parses; they are illustrative. Authentication and errors: Talkable API introduction.
# one count by placement or 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/sharers/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":270,"formatted":"270","result_type":"number","campaign_type":"post_purchase"},
# {"plain":150,"formatted":"150","result_type":"number","campaign_type":"standalone"},
# {"plain":0,"formatted":"0","result_type":"number","campaign_type":"floating_widget"}]}}
# by sharing channel (a split of impressions by channel returns HTTP 400)
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[sharing_channels]=true"
# -> {"ok":true,"result":{"segmented":[
# {"plain":220,"formatted":"220","result_type":"number","sharing_channel":"Email"},
# {"plain":180,"formatted":"180","result_type":"number","sharing_channel":"Direct link"},
# {"plain":40,"formatted":"40","result_type":"number","sharing_channel":"Email reminder"}]}}
# advocate_impressions -> {"ok":false,"error_message":"`advocate_impressions` cannot be segmented by `sharing_channels`."}
# by campaign tag (one row per tag: a campaign with two tags is in two rows)
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_tags]=true"
# -> {"ok":true,"result":{"segmented":[
# {"plain":300,"formatted":"300","result_type":"number","campaign_tag":"holiday"},
# {"plain":300,"formatted":"300","result_type":"number","campaign_tag":"popup"}]}}
# by A/B test variant (rows cover the test's traffic only)
curl -g -H "Authorization: Bearer $TALKABLE_API_KEY" \
"https://www.talkable.com/api/v2/metrics/sharers/segmentize?site_slug=$TALKABLE_SITE_SLUG&start_date=2026-05-01&end_date=2026-05-31&segment_by[split_test]=YOUR_TEST_KEY"
# -> {"ok":true,"result":{"segmented":[
# {"plain":110,"formatted":"110","result_type":"number","split_test":"Share page layout: A"},
# {"plain":125,"formatted":"125","result_type":"number","split_test":"Share page layout: B"}]}}
# by month and placement in one call
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&segment_by[campaign_types]=true"
# -> rows carry both keys: {"plain":130,...,"period":"7/1/26 - 7/31/26","campaign_type":"post_purchase"}
# device: one filtered call per device (desktop includes tablets)
curl -H "Authorization: Bearer $TALKABLE_API_KEY" \
"https://www.talkable.com/api/v2/metrics/advocate_impressions?site_slug=$TALKABLE_SITE_SLUG&start_date=2026-07-01&end_date=2026-09-30&device_type=mobile"
# -> {"ok":true,"result":{"plain":7500,"formatted":"7,500","result_type":"number"}}
- Repeat each call for every count you need.
- The
-gflag stops curl from interpreting the square brackets insegment_by[…].
Python: the full script
Prints the six counts and five rates by any axis, a rows-vs-total check and a mix check, optionally against a second period. 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, split by one dimension: six counts, five rates, a mix check.
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 segment_funnel.py DIMENSION START END [COMPARE_START COMPARE_END]
DIMENSION: period | campaign_types | campaigns | campaign_tags | sharing_channels
| traffic_sources | device | split_test:<test key>
Examples:
python3 segment_funnel.py campaign_types 2026-07-01 2026-09-30
python3 segment_funnel.py campaign_types 2026-07-01 2026-09-30 2026-04-01 2026-06-30
python3 segment_funnel.py device 2026-07-01 2026-09-30
Dates are YYYY-MM-DD, both days included, in the account time zone. Rates: percents to 2 decimals,
ratios to 4, "n/a" when the denominator is 0 or the count is not split by the dimension.
"""
import os
import sys
import time
import requests
API = "https://www.talkable.com/api/v2"
COUNTS = [ # article term -> API metric identifier
("Impressions", "advocate_impressions"),
("Sharers", "sharers"),
("Shares", "shares"),
("Clicks", "clicks"),
("Visits", "visits"),
("Friend referral sales", "ideal_friend_sales_count"),
]
RATES = [ # name, numerator, denominator, unit
("Advocacy %", "Sharers", "Impressions", "pct"),
("Sharing rate", "Shares", "Sharers", "ratio"),
("Click rate", "Clicks", "Shares", "ratio"),
("Visit %", "Visits", "Clicks", "pct"),
("Conversion %", "Friend referral sales", "Visits", "pct"),
]
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
MIN_BASE = 30 # smallest denominator a segment needs to enter the mix check: a Talkable working practice
# (30 sharers is the floor Talkable benchmark data uses for device sharing rates); set your own
LABEL_KEYS = ("period", "campaign_type", "campaign", "campaign_tag", "sharing_channel",
"traffic_source", "split_test")
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=180)
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 = {}
message = body.get("error_message") or ""
if r.status_code == 400 and "cannot be segmented" in message:
return None # this count has no value on this dimension (e.g. impressions by channel)
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}: {message}")
r.raise_for_status()
return body["result"]
def total(metric, start, end, **filters):
return get(f"metrics/{metric}", start_date=start, end_date=end, **filters)["plain"]
def split(metric, dim, start, end):
"""Return {segment label: value} for one count, or None if the count is not split by this dimension."""
if dim == "device": # REST filters by device, one call per device; desktop includes tablets
return {d: total(metric, start, end, device_type=d) for d in ("mobile", "desktop")}
if dim == "period":
seg = {"segment_by[period]": "month"}
elif dim.startswith("split_test:"):
seg = {"segment_by[split_test]": dim.split(":", 1)[1]}
else:
seg = {f"segment_by[{dim}]": "true"}
res = get(f"metrics/{metric}/segmentize", start_date=start, end_date=end, **seg)
if res is None:
return None
out = {}
for row in res["segmented"]:
label = next(row[k] for k in LABEL_KEYS if k in row)
if dim == "campaign_types":
label = PLACEMENT.get(label, label)
if dim in ("campaigns", "sharing_channels") and label in out:
raise RuntimeError(
f"{metric}, {dim}, {start} -> {end}: repeated API label {label!r}; "
"distinct records can share a display name and cannot be combined safely. "
"Run separate ID-filtered API calls: campaign_ids[] for campaigns, "
"sharing_channels[] for channels. Keep the selected ID next to each result.")
out[label] = out.get(label, 0) + row["plain"] # retain the complete API label as the grouping key
return out
def rate(num, den, unit):
if num is None or den is None or not den:
return None
return round(100 * num / den, 2) if unit == "pct" else round(num / den, 4)
def overlapping(dim):
"""Counts whose rows overlap by design: a campaign can carry several tags (one REST row per tag),
and an offer shared through two channels is a sharer in both channel rows."""
if dim == "campaign_tags":
return {t for t, _ in COUNTS}
return {"Sharers"} if dim == "sharing_channels" else set()
def pull(dim, start, end):
totals = {term: total(m, start, end) for term, m in COUNTS}
cols = {term: split(m, dim, start, end) for term, m in COUNTS}
if dim == "campaign_types": # campaigns with no campaign type count in the total and in no row
for t, _ in COUNTS:
other = totals[t] - sum(cols[t].values())
if other:
cols[t][OTHER] = other
labels = []
for col in cols.values():
for label in col or {}:
if label not in labels:
labels.append(label)
rows = {lab: {t: (cols[t].get(lab, 0) if cols[t] is not None else None) for t, _ in COUNTS}
for lab in labels}
rows = {lab: r for lab, r in rows.items() if any(r.values())} # drop rows empty in every count
return totals, cols, rows, overlapping(dim)
def fmt(x, width=11, unit=None):
if x is None:
return "n/a".rjust(width)
if unit == "ratio":
return f"{x:>{width}.4f}"
return f"{x:>{width},}" if isinstance(x, int) else f"{x:>{width},.2f}"
def print_table(title, totals, cols, rows, overlap):
print(f"\n{title}")
print(" " + "segment".ljust(28) + "".join(t[:10].rjust(11) for t, _ in COUNTS)
+ "".join(n[:11].rjust(12) for n, *_ in RATES))
for lab, r in list(rows.items()) + [("PERIOD TOTAL", totals)]:
print(" " + str(lab).ljust(28) + "".join(fmt(r[t]) for t, _ in COUNTS)
+ "".join(fmt(rate(r[a], r[b], u), 12, u) for _, a, b, u in RATES))
print("\n Rows vs period total (difference = activity in no row)")
for t, _ in COUNTS:
if cols[t] is None:
print(f" {t:<24} not split by this dimension")
continue
s = sum(cols[t].values())
flag = " rows overlap by design: do not add them up" if t in overlap else ""
print(f" {t:<24} rows {s:>10,} total {totals[t]:>10,} difference {totals[t] - s:>8,}{flag}")
def shares_and_rates(rows, num, den, keep):
"""Each kept segment's share of the rate's denominator and its own rate."""
base = sum(rows[lab][den] for lab in keep if lab in rows)
return {lab: (rows[lab][den] / base, rows[lab][num] / rows[lab][den]) for lab in keep if lab in rows}
def mix_check(overlap, totals, rows_new, rows_old=None):
"""One period: blended rate = sum of (segment's share of the denominator x segment's rate).
Two periods: change in the blended rate = rate effect (segments' own rates moved, at the old mix)
+ mix effect (the denominator moved between segments, at the new rates)."""
print("\nMix check: retained segments only" + (" (current vs comparison period)" if rows_old is not None else "")
+ f"; segments with fewer than {MIN_BASE} in a rate's denominator in either period are left out of that rate")
for name, num, den, unit in RATES:
k, f = (100, ".2f") if unit == "pct" else (1, ".4f")
periods = [rows_new] + ([rows_old] if rows_old is not None else [])
if any(r[den] is None or r[num] is None for rows in periods for r in rows.values()):
print(f" {name:<14} not split by this dimension")
continue
if den in overlap:
print(f" {name:<14} {den.lower()} rows overlap, so they are not weighted")
continue
if totals[num] and not sum(r[num] for r in rows_new.values()):
print(f" {name:<14} no row carries {num.lower()}: they were recorded with no value on this dimension")
continue
labels = list(dict.fromkeys(lab for rows in periods for lab in rows))
keep = [lab for lab in labels if all(rows.get(lab, {}).get(den, 0) >= MIN_BASE for rows in periods)]
left = [lab for lab in labels if lab not in keep]
note = (f" (left out: {len(left)} segment(s), e.g. {', '.join(map(str, left[:4]))})" if left else "")
if not keep:
print(f" {name:<14} no segment reaches {MIN_BASE} in the denominator in every period{note}")
continue
new = shares_and_rates(rows_new, num, den, keep)
blended_new = sum(w * r for w, r in new.values()) * k
if rows_old is None:
parts = ", ".join(f"{lab} {100 * w:.0f}% at {r * k:{f}}" for lab, (w, r) in
sorted(new.items(), key=lambda kv: -kv[1][0])[:3])
print(f" {name:<14} retained-subset blended {blended_new:{f}} = share of {den.lower()} x rate: {parts}{note}")
continue
old = shares_and_rates(rows_old, num, den, keep)
blended_old = sum(w * r for w, r in old.values()) * k
rate_eff = sum(old[lab][0] * (new[lab][1] - old[lab][1]) for lab in keep) * k
mix_eff = sum((new[lab][0] - old[lab][0]) * new[lab][1] for lab in keep) * k
print(f" {name:<14} retained-subset {blended_old:{f}} -> {blended_new:{f}} change {blended_new - blended_old:+{f}}"
f" = rate effect {rate_eff:+{f}} + mix effect {mix_eff:+{f}}{note}")
if __name__ == "__main__":
if len(sys.argv) not in (4, 6):
sys.exit("usage: python3 segment_funnel.py DIMENSION START END [COMPARE_START COMPARE_END]"
" (dates YYYY-MM-DD)")
KEY = os.environ["TALKABLE_API_KEY"]
SITE = os.environ["TALKABLE_SITE_SLUG"]
dim, start, end = sys.argv[1], sys.argv[2], sys.argv[3]
totals, cols, rows, overlap = pull(dim, start, end)
print_table(f"Referral funnel {SITE} by {dim}, {start} -> {end}", totals, cols, rows, overlap)
if len(sys.argv) == 6 and dim != "period":
c_totals, c_cols, c_rows, c_overlap = pull(dim, sys.argv[4], sys.argv[5])
print_table(f"Comparison period {sys.argv[4]} -> {sys.argv[5]}", c_totals, c_cols, c_rows, c_overlap)
mix_check(overlap, totals, rows, c_rows)
else:
mix_check(overlap, totals, rows)
- Calls: 12 per period (6 totals, 6 splits), 16 for the device cut (one filtered call per device and count). A second period doubles that.
- On HTTP 503 (metrics request budget spent) or 429 (API throttle) it waits 5, 10, 20 and 40 seconds between retries, then stops.
- The month cut has no comparison mode, because its rows are themselves the periods.
Reconcile with the admin report
- Open the report. In the Talkable admin: your site → All reports → Metrics Aggregation.
- Set the same filters. The same start and end dates; the same segmentation; the same campaigns, tags or channels, if you filtered; the same test-traffic, refund and currency filters.
- Compare column by column. Tie the rows count by count, then the period total. The admin's name for each figure is in the metrics table above, column “Metrics Aggregation”.
If a figure differs, check three things:
- the period boundaries: both days are inclusive, in the account time zone;
- the filters;
- whether you compared a row with a total.
For a period that ended recently, sharers can still grow and a few friend referral sales can still be voided, so pull the API and the report on the same day.
If counts are lower than you expect everywhere, verify that purchases reach Talkable.
Troubleshooting
- “No metric found”
Why: the identifier is wrong.
Fix: impressions areadvocate_impressions, visits arevisits, friend referral sales areideal_friend_sales_count. The MCP toollist_metricslists every identifier. - “`start_date` is not a valid Date” (HTTP 400)
Why: the date is not YYYY-MM-DD or M/D/YYYY. Day-first dates such as 30/9/2026 are read as invalid.
Fix: send2026-09-30. - “`advocate_impressions` cannot be segmented by `sharing_channels`.”
Why: the count has no value on that axis. Impressions have no channel, and only friend referral sales and revenue have an event category or a currency.
Fix: split the stages the axis describes (map). - “No A/B test found by key: true.”
Why: the A/B split takes the test's key, nottrue.
Fix:segment_by[split_test]=<test key>, with keys fromlist_split_tests. - “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:POST /api/v2/metrics/{metric}/segmentize(a key withapi:write; up to 5,000 rows), then pollGET …/segmentize/{job_id}. - HTTP 503 or HTTP 429
Why: a 503 from the metrics endpoints (“Metric is temporarily unavailable, please try again…”) means the request budget is spent for now; a 429 is the API-wide throttle (request throttling). A traffic-source or UTM split returns many rows.
Fix: wait and retry; the script waits 5, 10, 20 and 40 seconds. For a traffic-source or UTM split, ask for fewer metrics, or a shorter period, per call. - 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. - 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; ask them. - “Site not found or not accessible”: the
site_slugis not one your credential can reach. The MCP toollist_sitesshows 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).
- “MCP is disabled for this site…”: the Talkable MCP server (
Go further
- Two axes at once. Combine two REST dimensions in one call (month × placement), or pass two axes in the MCP
segment_bylist. - A filter plus a split. Any filter narrows a split:
campaign_ids[]withsegment_by[sharing_channels]=truegives the channel funnel of one campaign;device_type=mobilewithsegment_by[campaign_types]=truegives mobile by placement.
- Rows, not totals. Customer-side axes are built from the exportable reports (reports and exports):
- Purchases: filters for ideal friend or ideal advocate attribution, first-time purchases, custom segments and UTM, coupon use;
- Referrals: status, tracking method, sharing channel, first-time;
- Offer Shares;
- People: purchase recency, frequency and spend; referral and share history; custom properties;
- Top Referrers.
list_grid_reports,schedule_grid_exportandget_grid_exportschedule and fetch the same files. - Your store's data. Join the exports to it by email, customer ID or order number.
Methodology
- Figures
- Cross-program figures are Talkable benchmark data: the median program, with the program count and period beside each; cells under five programs are not published; no program is named.
- Code
- Every request, MCP call and the script were run on a live Talkable site and tied to its Metrics Aggregation Report.
FAQ
What are the ways to segment a referral program?
Program-side: period, campaign, campaign tag, placement or campaign type, offer, sharing channel, device, traffic source, event category, A/B test, currency, custom segments. Customer-side: order value, new vs existing, purchase and sharing history, geography, age. Each reads six counts, five rates.
Why can a referral segment's conversion rate be above 100%?
In Talkable, conversion rate = friend referral sales ÷ visits. A small segment can show 3 sales on 2 visits, 150%: the visit fell in an earlier period than the sale, or several referrals were matched to one friend's visit.
Why did my overall referral rate change when no segment changed?
The total is each segment's rate weighted by its share of the denominator. When traffic moves between segments, the total moves: email at 0.5 clicks per share and links at 2.5 give 1.30 or 1.90, depending on the mix.
Does friend referral revenue come from new customers?
Mostly, by revenue. For the median program, 80% of friend referral revenue comes from customers buying for the first time (172 Talkable programs), and 90% of advocate referral revenue from existing customers (70 programs), two years to June 2026.
Do mobile customers share more than desktop customers?
On advocacy, yes: median 5.60% on mobile against 4.26% on desktop (144 and 142 Talkable programs, January 2025 – June 2026). On sharing rate, no: 1.26 against 1.29. Mobile carries about three quarters of advocate impressions.
How do I split my referral funnel by segment with the Talkable API?
GET https://www.talkable.com/api/v2/metrics/{metric}/segmentize with site_slug, YYYY-MM-DD dates and segment_by[campaign_types]=true (or period, campaigns, campaign_tags, sharing_channels, traffic_sources); or the Talkable MCP tool calculate_metric with segment_by.
Learn more
In the Talkable documentation:
| Segments | Custom segments segment1–3, traffic sources and product-based targeting |
| Pass custom user data | Custom properties for targeting campaigns and incentives by customer attributes |
| UTM tags | The five UTM parameters and how to add them to program links |
| Multi-currency | Currencies on purchases and in reports, and conversion to one reporting currency |
| Reporting with Talkable AI | Metrics, segments and exports from the AI Assistant or your own agent |
| Talkable MCP server | Connect Claude Code, ChatGPT, Cursor or any MCP client |
