Paid subscription retention

Subscription retention: a cohort matrix. Subscriptions are grouped by the period in which they entered the selected segment, and each cohort is followed period after period to see how many are still in it, with the revenue each cohort has generated.

  • Returns {rows, totals, grand_total}. rows: one per (cohort_date, period_date), with period_name ("MONTH 3"), retained_count, retained_ratio (a 0 to 1 fraction, not a percentage) and is_partial (the period is still running). totals: one per cohort, with total_count, total_revenue_in_dashboard_currency and revenue_per_subscription_in_dashboard_currency. grand_total: the "Total" row of the console, where each period's ratio is computed only over the cohorts old enough to have reached it (not an average of the rows).
  • The segment is a payment state: a subscription is in it while its last payment matches it. all (default, console "All subscriptions"): full price, paid offers and free periods. A free trial enters at its start and its conversion to paid continues the same entry; a trial that never pays churns at its end. paid: full price and paid intro or promotional offers. A free trial enters at its first payment (a trial started on January 28 that converts on February 4 joins the February cohort) and a trial that never pays is in no cohort. full_price: full-price payments only; a paid intro offer started in January that converts in April enters January under paid and April under full_price. There is no free or discounted segment.
  • Cohort entry: the period in which the subscription starts to match the segment, after no payment or after a payment that does not match. Cohort exit, counted as churn: the first of a churn of the subscription (termination at expiry, cancellation during a grace period, Google Play pause, entering billing retry, grace period ended unpaid, refund, refund of the first payment after an offer) or a later payment that no longer matches the segment (under paid, a free period; under full_price, a paid offer or a free period). A return is a new entry: a reactivation, a billing retry recovery, an unpause, or a payment that matches the segment again. So one subscription can have several entries, and total_count counts entries, not unique subscribers.
  • Retained in period N: the entry has not ended by the end of period N. An entry that ends during period N is not retained in period N, so period 0 can be below 1; a subscription that starts and churns in the same period is in that cohort and not retained in period 0. A grace period keeps the entry retained. A plan change is not a churn, but under paid or full_price it ends the entry, or starts one, when it changes the payment type.
  • Cohorts are the entries inside date_range, from the start of its first period; the retention periods run until today (100 at most). Events before the first cohort period are not read: a subscription that already matched the segment before it is in no cohort until it returns after an exit, so this is not the active base.
  • Revenue: the transactions of the cohort's entries from their entry until their exit (the payment that ends an entry counts in that entry) or today, refunds deducted, including transactions after the date_range end date, converted to the app's dashboard currency (app settings) at the rate of the cohort date. revenue_per_subscription divides it by the cohort size.
  • Unit: counts of subscriptions and 0 to 1 ratios; revenue in the app's dashboard currency. Never sum cohorts across periods, and never reconcile totals across periodicities: monthly cohorts hide churn-and-recovery pairs that weekly cohorts show twice.
  • Not this tool: the active base per period (subscription_evolution), entries and exits per period (paid_subscription_movements, subscription_activations), the conversion of trials and intro offers (no v2 tool yet).
  • How each number is computed and the edge cases (subscriptions already active before the range, same-period churn, reactivations across weekly cohorts, currency conversion): https://docs.purchasely.com/docs/subscription-retention
  • Recommended periodicity: MONTH, matched to the plans' billing period with period_types. Filters apply to the latest state of each subscription's lifecycle, not to its state at entry. Single application only.

Required scope: analytics.dashboards:view

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Public ID of the resource.

Query Params
date_range[]
array of strings
required

Two-element [start_date, end_date] window of ISO8601 dates (YYYY-MM-DD); both ends inclusive (the end date's events are counted). Every time-series tool in this namespace needs it. Over REST, send it as date_range[]=2026-10-01&date_range[]=2026-10-25.

date_range[]*
string
enum

Bucket granularity. Defaults to MONTH. Use DAY for ranges up to ~60 days, WEEK up to ~6 months, MONTH beyond. Each row's period is the bucket's start date.

Allowed:
countries[]
array of strings

Filter by store country ISO codes.

countries[]
platform_names[]
array of strings

Filter by platform name.

platform_names[]
Allowed:
audiences[]
array of strings

Filter by audience public_id.

audiences[]
campaigns[]
array of strings

Filter by campaign public_id.

campaigns[]
placements[]
array of strings

Filter by placement public_id.

placements[]
screens[]
array of strings

Filter by screen (paywall) public_id.

screens[]
ab_test_variants[]
array of strings

Filter by A/B test variant public_id.

ab_test_variants[]
offer_types[]
array of strings

Filter by offer type.

offer_types[]
Allowed:
plans[]
array of strings

Filter by subscription plan public_id.

plans[]
period_types[]
array of strings

Filter by plan billing period, ISO 8601 (P1W, P1M, P3M, P1Y, ...).

period_types[]
string
enum

Restrict to a payment segment. all = paid and free subscriptions (default). In all, a free trial start is an entry, and a conversion to paid continues that entry. paid = paid subscriptions only; a free trial is not an entry. full_price = subscriptions that pay the regular price. A subscription enters a cohort when its last payment starts to match the segment. A payment that does not match ends the entry, counted as a churn. A return is a new entry.

Allowed:
fields[]
array of strings

Field selection for token economy: an explicit list of field names to include in the response, or ["*"] for every field. Omit for this endpoint's own default field set.

fields[]
Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json