Adopture Docs
Revenue

Revenue Events

Reference for all revenue event types and their fields.

Revenue events track financial transactions in your app. They can be sent via the Flutter SDK, the RevenueCat integration, or the event ingestion API directly.

Event Types

TypeDescription
INITIAL_PURCHASEFirst subscription purchase or one-time purchase
RENEWALSubscription renewal
NON_RENEWING_PURCHASEOne-time (non-recurring) purchase
CANCELLATIONSubscription canceled
REFUNDRefund processed
TRIAL_STARTEDFree trial begins
TRIAL_CONVERTEDTrial converts to paid subscription

Event Fields

FieldTypeRequiredDescription
product_idstringYesProduct identifier (1-200 characters)
pricenumberYesTransaction amount (0-999,999.9999)
currencystringYesISO 4217 currency code (e.g., USD, EUR, GBP)
quantitynumberNoNumber of items purchased (default: 1, max: 1,000)
transaction_idstringNoUnique transaction ID for deduplication
storestringNoAPP_STORE, PLAY_STORE, STRIPE, or OTHER
is_trialbooleanNoWhether this is a trial period
is_trial_conversionbooleanNoWhether this converts from trial to paid
period_typestringNoTRIAL, INTRO, NORMAL, or empty
expiration_atstringNoISO 8601 subscription expiration date

Field Details

product_id

A string that identifies the product being purchased. This should match the product ID in your app store or payment provider (e.g., pro_monthly, premium_yearly).

price

The transaction amount as a decimal number. Use the actual charged amount, not the list price. For refunds, this should be the refunded amount (as a positive number).

currency

A three-letter ISO 4217 currency code. Common values:

CodeCurrency
USDUS Dollar
EUREuro
GBPBritish Pound
JPYJapanese Yen
CADCanadian Dollar
AUDAustralian Dollar

transaction_id

An optional unique identifier for the transaction. When provided, Adopture uses this to deduplicate events. If you send two events with the same transaction_id, only the first is counted.

store

Indicates which store or payment provider processed the transaction:

ValueDescription
APP_STOREApple App Store
PLAY_STOREGoogle Play Store
STRIPEStripe
OTHERAny other payment provider

Dashboard Metrics

Revenue events power the following metrics in your dashboard:

  • Timeseries charts — Revenue plotted over time with configurable granularity
  • Total revenue — Aggregate revenue for the selected period
  • MRR — Monthly recurring revenue calculated from subscription events
  • Top products — Products ranked by total revenue
  • Geographic distribution — Revenue broken down by country and region

On this page