BillDog Glossary
This glossary defines the key terms used throughout the BillDog documentation — across paywalls, analytics, experimentation, and engagement — so that everyone shares the same vocabulary.
Authentication
BillDog Auth
Definition:
Sign-in for your app's end users — password, email or SMS code, Google, Apple, passkeys, second factors, enterprise SSO and organizations. It issues a short-lived session token your own backend verifies offline, carrying the user's entitlements in the token. Distinct from the SSO your team uses to sign in to the BillDog dashboard.
User vs. Customer
Definition:
A user is WHO SIGNS IN — credentials, sessions, second factors, organization membership; the token's sub claim. A customer is WHAT THEY OWN — entitlements, purchases, analytics; the cus claim. One user maps to at most one customer, and a person who never signs in is still an ordinary anonymous customer.
Session Token
Definition:
The signed, ~90-second token BillDog Auth issues. Verified offline against a per-environment JWKS, so gating a paid feature is a local signature check rather than a network call. Short on purpose: it is exactly how long a revoked session can still pass verification.
ent claim
Definition:
The materialised entitlements carried inside a session token, capped at 64. Past the cap ent_truncated is set and the list is incomplete — reading a truncated list as complete turns a paying customer into a free one. Truncation is never silent.
Organization
Definition:
A group of users with roles (org:admin, org:member, org:guest), for software a workspace pays for rather than an individual. An organization has a customer record of its own, so a member's entitlements are the union of their personal ones and the organization's — but the inherited half exists only in the session token, never on the member's own customer row.
Platforms & SDKs
Native Platform
Definition:
The underlying operating system or runtime environment where the application runs — the actual device/OS, not the way the UI is drawn.
Examples:
- iOS (iPhone, iPad, Mac Catalyst)
- Android (phones, tablets, TV)
- Web (browser environment)
- Cross-platform runtimes (React Native, Expo, Flutter)
- Custom engines & other platforms via Universal REST API
Usage in docs: "native platform" always means the device/OS the app runs on — never the rendering approach. For that, see Render Mode.
Client SDK
Definition:
A BillDog SDK that runs inside your end-user app to display paywalls, capture analytics events, run experiments, and handle purchases. Each client SDK ships through its platform's native package manager.
Available production client SDKs:
- iOS — Swift/SwiftUI, via Swift Package Manager (
billdogai/billdog-ios-spm) or CocoaPods (pod 'BillDogFull'; no new versions on CocoaPods after 2 December 2026) - Android — Kotlin/Jetpack Compose, via Maven (
io.billdog:billdog-compose) - Web — JavaScript/TypeScript, via npm (
@billdog.io/web) - React Native — native thin-bridge, via npm (
@billdog.io/react-native) - Expo — config-plugin over the native bridge (
@billdog.io/expo) - Flutter — Dart plugin with StoreKit & Play Billing bridges, via pub.dev (
billdog_flutter) - Other Platforms & Games — Universal REST API and BillDog Headless (official Unity, Roku, Capacitor, Cordova and KMP SDKs coming soon)
Important: There is no @billdog.io/ios or @billdog.io/android npm package. iOS and Android are distributed through their native package managers (SPM/CocoaPods and Maven), not npm.
Server SDK
Definition:
A backend SDK used from your own servers to evaluate feature flags, capture events, and read analytics without a UI. Server SDKs evaluate flags and experiment assignment locally (murmur bucketing) for low latency.
Available for:
- Node.js, Python, Ruby, PHP, Go, Java, Elixir, Rust (.NET coming soon)
Client vs Server: Client SDKs render UI and drive purchases on-device; server SDKs are headless and run in your infrastructure.
Engagement (Engage) SDK
Definition:
The analytics + messaging + surveys surface of the client SDKs — the non-paywall side of BillDog. It captures product-analytics events, shows in-app messages and push notifications, runs surveys, and (optionally) records session replays.
The Engage SDK and the Paywalls SDK live in the same platform package; you enable the modules you need.
Paywalls & Rendering
Render Mode
Also called: rendering mode
Definition:
How a paywall's UI is drawn on the device. BillDog paywalls support two render modes from a single SDK — the mode is chosen per paywall, not per SDK. This replaces the older idea of separate 'native' and 'webview' SDKs.
The two modes:
- Native Mode — the default; drawn with platform-native UI (SwiftUI, Jetpack Compose, DOM).
- WebView Mode — drawn as HTML/CSS/JS inside a WebView for pixel-perfect cross-platform consistency.
Native Mode
Definition:
A paywall rendered with the platform's native UI toolkit. Best performance and native look-and-feel; the default for mobile paywalls.
Rendered with:
- iOS: SwiftUI views (
VStack,Button,Text) - Android: Jetpack Compose (
Column,Button,Text) - Web / React Native: components rendered to the DOM / native views
On mobile, Native Mode is served through the built-in structured renderer — no extra module or download is required.
WebView Mode
Definition:
A paywall rendered as HTML/CSS/JavaScript inside a native WebView (WKWebView on iOS, WebView on Android). Gives pixel-perfect consistency across platforms and can be updated server-side without an app release.
There is no separate @billdog.io/webview package. WebView Mode is served by the over-the-air renderer at renderers.billdog.io and is built into the client SDK. On web (@billdog.io/web) there is no WebView at all — the SDK renders directly to the DOM.
Headless Paywall (BYO-UI)
Also called: Bring Your Own UI, Headless Mode
Definition:
A pattern where you construct custom paywall UI in code using your app's native components (SwiftUI, Jetpack Compose, React Native, Expo, Flutter, Web React, or any engine via Universal REST API) while BillDog manages remote offerings, A/B experiments, audience segmentation, and cross-store billing.
Key benefits:
- Total UI control: Pixel-perfect integration with your app's custom design system, games, or onboarding funnels.
- Zero renderer overhead: No WebView initialization or renderer memory footprint.
- Centralized billing: Offerings, experiments, Stripe web checkouts, and StoreKit/Play Billing receipts are still managed by BillDog.
Placement
Definition:
A named logical location in your app where a paywall can appear (e.g. "settings_screen", "onboarding"). Instead of hardcoding which paywall to show, you show a placement and the dashboard decides which paywall/offering it maps to — so you can swap paywalls remotely without an app update.
Offering
Definition:
A curated set of packages (subscription plans and/or one-time purchases) that a paywall displays. Offerings let you change which products a paywall sells without changing app code.
Package
Definition:
A slot inside an offering, such as monthly, annual or lifetime, identified by a package identifier. Each package points at one BillDog product, and that product carries the store ID for each platform (App Store product ID, Google Play product ID, Stripe price, etc.), so the same package sells the right store product on every platform. Swapping the product behind a package changes what the paywall sells without an app update.
Entitlement
Definition:
The access a user gets after a successful purchase (e.g. "pro", "no_ads"). Entitlements are granted server-side when a purchase is verified and revoked when a subscription expires — your app checks the entitlement, not the raw receipt. A purchase is no longer the only source: a member of a BillDog Auth organization inherits the organization's entitlements, and those appear in the session token rather than on the member's own customer record.
Paywall Builder
Definition:
The visual, drag-and-drop dashboard editor for composing paywalls out of components (product pickers, images, text, buttons). It can also generate paywalls from an AI prompt or a template. Published paywalls are delivered over the air to the SDK.
Variable System (xFlow)
Definition:
Injects dynamic data into paywall text, images, and component properties at render time — e.g. a price, a trial length, or a user's name — resolved on-device when the paywall is shown.
Smart Caching
Definition:
Paywall definitions are cached (and optionally preloaded) on-device so they display in under ~100ms and work offline. Stale-on-error is capped at 24 hours before the SDK forces a refresh.
Analytics & Data
Event
Definition:
The atomic unit of product analytics — a named action captured by the SDK (e.g. "paywall_presented", "purchase_completed") with optional properties. Events flow into BillDog's analytics engine for reporting, funnels, and experiment measurement.
Anonymous vs Identified Event
Definition:
Events captured before a user is identified are anonymous (keyed to an anonymous ID); after you call identify(), events are identified (keyed to your user ID). BillDog meters and can bill these two streams separately.
Distinct ID / identify()
Definition:
The distinct ID is the stable key that ties a user's events together. Calling identify() promotes an anonymous visitor to a known user and merges their prior anonymous activity onto that identity.
MAU (Monthly Active User)
Definition:
A distinct identified user seen at least once in a calendar month. MAU is a primary billing dimension for the analytics/engagement product. Note: outbound sends (push/in-app) emit analytics events, so targeted users can count toward MAU.
Product Analytics
Definition:
Dashboards and queries over your event stream — funnels, retention, trends, stickiness, and user journeys — used to understand behavior and measure experiments.
Session Replay
Definition:
An optional recording of a user's on-device session (UI interactions) for debugging and UX analysis. Enabled per-platform as a separate module.
Cohort
Definition:
A saved, named definition of which users match a set of rules — event-frequency and property predicates combined with AND/OR. Cohorts are definitions rather than frozen lists: membership is recomputed on a chosen cadence, and every predicate is time-bounded (there is no 'ever' option), so membership decays as the window rolls forward.
Funnel
Definition:
A report measuring how many users progressed through an ordered sequence of up to eight events. Counts identified users only, matches on each event's first occurrence, and requires strictly increasing time order. The conversion percentage on each step is relative to step 1, not to the previous step.
Retention
Definition:
The share of a cohort still active N periods after first appearing, bucketed by day, week or month. Read across a row for one cohort's decay curve; read down a column to compare cohorts at the same age, which is the only fair way to judge whether a change improved retention.
Stickiness (DAU / WAU / MAU)
Definition:
Active-user counts over one, seven and thirty days, plus the ratios between them. Where retention asks whether users come back, stickiness asks how often. A DAU/MAU above 20% is the usual threshold for an engaged consumer app.
Group Analytics
Definition:
Attaching events to an organisation, workspace or team so B2B metrics are measured per account rather than per seat. A project may define five group types; a sixth slot is reserved and populated automatically with the customer's active entitlement.
Predicted LTV
Definition:
A forecast of cohort lifetime value at 30, 90 and 365 days, produced by fitting a power-law retention curve and integrating it against a per-day ARPU. Requires at least three daily cohort snapshots, and carries a 0–100 confidence score that decays with the projection horizon.
MCP (Model Context Protocol)
Definition:
An open protocol letting LLM clients query a system directly. BillDog's MCP server exposes analytics over JSON-RPC with tools, resources and prompt templates, scoped to a single project by the API key.
Consent Purpose
Definition:
Consent is not a single flag. On the web SDK there are four independent purposes — analytics, replay, messaging and survey — and granting one does not grant another. Session replay in particular requires its own purpose before any frames upload.
Rollout Percentage
Definition:
The share of eligible users a feature flag is enabled for. Applied after targeting conditions, so 50% means 50% of the users who already matched your rules. The hash is salted with the flag key, so two flags at 50% do not expose the same half of your users.
Consumable
Definition:
A product that can be purchased repeatedly — coins, credits, a one-off unlock. Consumables must be consumed rather than acknowledged after purchase; an acknowledged in-app product is treated by the store as permanently owned and can never be bought again.
Acknowledge vs Consume
Definition:
The two ways a Google Play purchase can be finalised. Acknowledge means the entitlement is permanently held; consume means the item was used up and may be re-purchased. BillDog chooses between them from the product type in your catalog, not from anything Play returns.
Observer Mode
Definition:
A configuration where BillDog reports on transactions your own code completes, rather than initiating them. Purchases carry source = OBSERVED, letting you adopt analytics and paywalls without moving billing.
Purchase Controller
Definition:
A host-app object that takes over the purchase transaction, routing it through RevenueCat, Stripe or your own stack. Purchases made this way are marked source = EXTERNAL.
Attribution
Definition:
Connecting installs and purchases back to marketing sources. BillDog forwards attribution IDs (Adjust, AppsFlyer, etc.) so revenue can be credited to campaigns.
Experimentation & Targeting
Experiment (A/B Test)
Definition:
A controlled test that splits users into variants and measures which performs best against a goal metric. BillDog experiments can be flag-backed, support staged rollout, automatic winner selection, and one-click ship-the-winner.
Variant
Definition:
One arm of an experiment (e.g. "control" vs "treatment", or paywall A vs B). Users are deterministically assigned to a variant by hashing their distinct ID (murmur bucketing) so assignment is stable across sessions.
Feature Flag
Definition:
A remotely-controlled boolean or multivariate switch that turns functionality on/off or picks a value, without an app release. Evaluated locally in server SDKs and cached in client SDKs. Every experiment is backed by a flag.
Journey
Definition:
A multi-step automated flow (e.g. onboarding or win-back) that can branch users down different paths. Splits within a journey use their own assignment engine, distinct from experiments and feature flags.
Segment / Audience
Also called: Targeting
Definition:
A rule-based group of users (by property, behavior, or event history) used to target paywalls, experiments, notifications, and surveys. Targeting decides who is eligible; the assignment engine decides which variant they get.
Engagement
Notification / In-App Message
Also called: Messaging
Definition:
Outbound messages delivered by the SDK — push notifications and in-app messages (including carousels and rich media) — scheduled or triggered by campaigns and journeys.
Survey
Definition:
In-app questionnaires rendered by the SDK, targeted by segment, with results reported in the dashboard. Surveys share the same targeting and rendering pipeline as paywalls.
Virtual Currency
Definition:
An in-app currency (coins, gems, credits) that BillDog tracks and can meter for billing. An internal engagement feature — not a separately sold module.
Environments & Networking
Sandbox vs Live
Definition:
Which BillDog environment a request targets, determined by your API key prefix (a sandbox key vs a live key). This is separate from the app store's own sandbox — a sandbox BillDog key can still process real store purchases, because whether money moves is decided by the store, not the key.
Self-Hosted Proxy (Edge)
Definition:
An optional edge proxy you host so SDK traffic hits your own domain before reaching BillDog — set with setProxyURL(). Useful for first-party networking and consent/compliance requirements.
Common Confusion Points
❌"Native SDK" vs "WebView SDK"
Problem: This suggests two separate SDKs, which is incorrect.
Correct:
- Each platform has ONE SDK (e.g.
@billdog.io/react-native). - That single SDK supports BOTH render modes — Native Mode and WebView Mode.
- WebView Mode is served over the air by the renderer; there is no
@billdog.io/webviewpackage to install.
❌"Native" meaning "iOS/Android"
Problem: "Native" is used both for the iOS/Android platform and for a UI rendering approach.
Correct:
- Use "native platform" when referring to iOS/Android/etc.
- Use "Native Mode" when referring to native-UI rendering.
- Use "WebView Mode" when referring to HTML/CSS rendering.
❌"Web SDK uses WebView"
Problem: Confuses the Web platform with WebView Mode.
Correct:
@billdog.io/webruns in browsers and renders directly to the DOM — no WebView.- WebView Mode only exists on native mobile, where HTML is embedded in a
WKWebView/WebView.
❌"React Native SDK is a JavaScript reimplementation"
Problem: The RN and Expo SDKs are not JS reimplementations of the paywall renderer.
Correct:
@billdog.io/react-nativeand@billdog.io/expoare thin bridges that delegate to the native iOS/Android SDKs.- They expose a JS/TS API but the actual rendering and purchase logic runs in native code.
❌"Sandbox key means no real money"
Problem: A BillDog sandbox key is not the same as the store's purchase sandbox.
Correct:
- The key prefix only selects the BillDog environment.
- Whether a purchase charges real money is decided by the app store, independently of the key.
Decision Matrix
Which Render Mode Should I Use?
Choose the right rendering approach for your use case
| Scenario | Recommended Mode | Reason |
|---|---|---|
| Standard paywall on mobile | Native Mode | Best performance, native feel |
| Need exact design across all platforms | WebView Mode | Pixel-perfect consistency |
| Complex animations / visual effects | WebView Mode | Better CSS/Canvas support |
| Maximum performance | Native Mode | No WebView overhead |
| Iterate on layout without an app release | WebView Mode | HTML updated over the air |
| Building for web / browser | Native Mode (DOM) | No WebView exists in browsers |
Installation Examples
One SDK per platform supports both render modes — there is no separate WebView package to add. Check each platform guide for the exact current version.
iOS (Swift Package Manager / CocoaPods)
// Swift Package Manager
.package(url: "https://github.com/billdogai/billdog-ios-spm.git", from: "1.2.0-beta.1")
// CocoaPods (the floor must name the pre-release; CocoaPods trunk takes
// no new versions after 2 December 2026, so later releases are SPM-only)
pod 'BillDogFull', '>= 1.2.0-beta.1'Android (Maven)
// build.gradle
implementation 'io.billdog:billdog-compose:1.2.0-beta.1' // paywalls (Jetpack Compose)
implementation 'io.billdog:billdog-analytics:1.2.0-beta.1' // analytics (optional)React Native / Expo
# React Native (native thin-bridge)
npm install @billdog.io/react-native
# Expo (config plugin over the native bridge)
npx expo install @billdog.io/expoWeb / Browser
# Web SDK — renders directly to the DOM (no WebView)
npm install @billdog.io/webRelated Documentation
Questions?
If you're still confused about any terminology, please reach out to our support team.
Was this page helpful?
Or rate this page: