Developer documentation

Connect product events to subscription outcomes

Instrument app events, align RevenueCat identities, inspect customer activity and use event-based audiences in a tested lifecycle campaign.

1. Connect RevenueCat and identify the customer

Analytics is a core capability in your Spinning Falcon account and subscription. Use your existing workspace and RevenueCat integration. If you are new to Spinning Falcon, create your workspace through the shared signup and follow the integration guide to connect RevenueCat.

Verify your RevenueCat runtime webhook and use the same stable app user ID in RevenueCat and Spinning Falcon. Customer profiles combine SDK activity and subscription context using that identity.

Use the JavaScript or Swift SDK provided for your deployment, or the documented HTTP endpoint. Get the Functions base URL, workspace ID, app ID and public SDK key from your integration settings. Do not put a RevenueCat secret in client code.

2. Track meaningful app events

Your application must send an event at the moment the action occurs. Screen views, paywall views, onboarding milestones and feature use are not inferred or automatically recorded. Choose a small, consistent vocabulary and keep properties free of unnecessary personal information.

The following POST body is a custom event example for /trackLifecycleEvent. Use Content-Type: application/json and the workspace public SDK key as the Authorization bearer value when configured. In JavaScript, identify the user before calling track(eventType, properties); in Swift, use identify followed by track(event:properties:).

  1. Send ONBOARDING_STARTED and ONBOARDING_COMPLETED from the relevant app milestones.
  2. Send APP_OPENED or FEATURE_USED only when those actions occur. These names are your instrumentation choices.
  3. Use SCREEN_VIEWED for screen activity counts. Do not include screen contents or typed field values.
  4. Use trackDownloaded with a stable install ID for activated-install tracking. SDK installs are not App Store download totals.
{
  "workspaceId": "YOUR_WORKSPACE_ID",
  "appId": "YOUR_APP_ID",
  "appUserId": "SAME_ID_USED_IN_REVENUECAT",
  "eventType": "ONBOARDING_COMPLETED",
  "properties": { "flow": "initial_setup" }
}

3. Verify collection and reporting

Use a test customer. Open Customers in the audience area, locate the app user ID and inspect its event history and attributes. The current customer history shows the latest 50 SDK lifecycle events; it is not a merged visual replay of every RevenueCat and app event.

The performance dashboard combines daily SDK metrics with RevenueCat lifecycle reporting. Its built-in funnel shows SDK installs, trials, direct purchases, trial conversions, renewals and recoveries for the selected period. These totals are not a custom, ordered user-path funnel and must not be read as step-by-step cohort drop-off rates.

Lifecycle reporting separately matches trial, billing, cancellation and expiration cohorts against subsequent recovery events within a 30-day window. Recent cohorts may not yet have had the full opportunity to convert or recover. Check date ranges, event freshness and read-cap notices before drawing conclusions.

4. Define an event-based audience

In the audience editor, choose one included event, a lookback window and any events that should exclude the customer. The preview combines RevenueCat and SDK lifecycle events by app user ID. Use the observed event names from your own workspace. The underlying evaluator supports richer any/all rules, but the current editor does not expose a multi-event inclusion builder.

For a setup workflow, include a recent TRIAL_STARTED and exclude ONBOARDING_COMPLETED. The exclusion applies when its event occurs within its window and at or after the latest included event. This means no later completion was observed; it does not prove a customer never completed setup. Preview the rule against known test users before using it.

The current audience editor does not provide arbitrary event-property filters, frequency thresholds, ordered sequences or inferred inactivity. Missing events may reflect incomplete tracking. Current subscription status should be checked with the flow’s lifecycle conditions where supported.

5. Attach the audience to a tested campaign

Save the audience, select it in the flow builder and configure a real subscription or SDK event as the trigger. Configure the lifecycle conditions and the email, push or in-app action. Saving an audience alone does not launch a campaign or continuously schedule checks.

For example, a later app-open event can trigger a setup reminder for a recent trial with no subsequent completion event. Test both eligible and excluded users, delivery permissions, sender settings and message destinations. Delayed wait scheduling is not enabled; use supported event-triggered paths.

6. Review the subscription outcome

Inspect message delivery and flow execution, then review the subsequent trial conversion, renewal or uncancellation. An APP_OPENED event can show that the customer returned when your app tracks it. RevenueCat is the source of subscription outcomes; do not send a synthetic renewal to simulate one in production.

Recovery-board monetary values use estimates. Imported transaction data is a separate source for financial reporting. A renewal after a message is an observed outcome, not proof of incremental revenue caused by that message.

Tracking boundaries and session replay

The current Spinning Falcon SDK records events only when your application calls its tracking methods. Your application controls which events and properties it sends. Enforce the user’s consent choices before sending data; stop tracking calls when those choices require it.

Event properties and customer attributes are not automatically scrubbed of personal data. Do not send passwords, payment details, authentication tokens, private messages or sensitive form contents. Use event names such as setup completed instead of the underlying form values.

Session replay has not been implemented in Spinning Falcon. There is no session recorder or replay player, and no verified automatic masking, sensitive-screen exclusion, recording deletion or configurable recording-retention feature. Recording technology from another product is not evidence that these controls are present here.

Prepare your first growth workflow.

Start with your RevenueCat connection and one tested messaging channel.

Start free