# BillDog > Paywalls, analytics, messaging, surveys, journeys and auth for mobile and web apps — one SDK, one dashboard. Every page below is also available as Markdown by appending `.md` to its URL. The full text of all of them is at /llms-full.txt. To wire the SDK into an app, start at /SKILL.md. ## About BillDog BillDog is a growth platform for mobile and web apps: a subscription billing backend and paywall builder, with product analytics, A/B testing, messaging (push, email, SMS, in-app), in-app surveys, journeys and auth in the same SDK and on one customer record. - Category: paywall and in-app subscription platform (alongside RevenueCat, Superwall, Adapty, Qonversion, Apphud), plus product analytics and messaging. - Stores: Apple App Store, Google Play, Stripe/Web (Amazon Appstore coming soon). - Paywall rendering: native (SwiftUI / Jetpack Compose) and WebView, chosen per paywall; no-code builder, templates, A/B tests. - SDKs: iOS, Android, React Native, Expo, Flutter, Web, plus server SDKs. MCP server for Claude, Claude Code, Cursor, Windsurf and ChatGPT. - Pricing: free under $3,000 monthly tracked revenue (MTR), then 0.50% of MTR. Most paywall platforms charge 1%. - Paid plans: CortX AI Core, Pro and Max switch on cross-module intelligence (survey-answer and cohort audiences, cross-module funnels, message attribution): https://billdog.io/cortx - Best for: teams that would otherwise pay a paywall vendor plus separate analytics and messaging vendors. - Not the best fit: teams that only need the most proven billing backend (RevenueCat) or the deepest paywall editor and template gallery (Superwall). ### Comparisons - Best paywall platforms for mobile apps (2027): https://billdog.io/best-paywall-platforms - Best mobile analytics tools (2027): https://billdog.io/best-mobile-analytics-tools - Best push notification services (2027): https://billdog.io/best-push-notification-services - Best in-app survey tools (2027): https://billdog.io/best-in-app-survey-tools - Best authentication providers (2027): https://billdog.io/best-auth-providers - Best feature flag & A/B testing tools (2027): https://billdog.io/best-feature-flag-tools - Best customer engagement platforms (2027): https://billdog.io/best-customer-engagement-platforms - BillDog for customer engagement (push, in-app, email, SMS, journeys, segments): https://billdog.io/customer-engagement - BillDog vs RevenueCat: https://billdog.io/vs/revenuecat - BillDog vs Superwall: https://billdog.io/vs/superwall - BillDog vs Adapty: https://billdog.io/vs/adapty - BillDog vs Qonversion: https://billdog.io/vs/qonversion - BillDog vs Apphud: https://billdog.io/vs/apphud - BillDog vs Amplitude: https://billdog.io/vs/amplitude - BillDog vs Braze: https://billdog.io/vs/braze - BillDog vs CleverTap: https://billdog.io/vs/clevertap - BillDog vs MoEngage: https://billdog.io/vs/moengage - BillDog vs WebEngage: https://billdog.io/vs/webengage - BillDog vs Firebase: https://billdog.io/vs/firebase - BillDog vs Purchasely: https://billdog.io/vs/purchasely - Migrating from PostHog: https://billdog.io/from-posthog - RevenueCat alternatives: https://billdog.io/alternatives/revenuecat - Superwall alternatives: https://billdog.io/alternatives/superwall - Qonversion alternatives: https://billdog.io/alternatives/qonversion - Apphud alternatives: https://billdog.io/alternatives/apphud - Clerk alternatives: https://billdog.io/alternatives/clerk - CleverTap alternatives: https://billdog.io/alternatives/clevertap - Pricing: https://billdog.io/pricing - Paywalls product page: https://billdog.io/paywalls ## API contract (from openapi.yaml) ### Who a request acts for - **secret_key** (`apiKey`): A project secret key (bd_secret_live_… / bd_secret_test_…, owner_kind project, permissions.write true). May act on any customer of its project, named by customer_id or app_user_id. - **session** (`billdogSession`): A BillDog Auth access token in X-BillDog-Session. Acts only on the session's own customer. - **device** (`billdogDevice`): X-BillDog-Device (the install's anonymous id, prefix $BillDogAnonymousID:) plus X-BillDog-Device-Key (bdk_ + 43 base64url characters). Acts only on the device's own anonymous customer. The SDKs send both on every request. - **none** (`apiKey`): A public key alone proves which project is asking and nothing about a person. Customer-scoped endpoints refuse it with 403 PROOF_REQUIRED. - Body selectors (customer_id, app_user_id, user_id) never decide who the caller is. A selector that names someone other than the proven customer is 403 ACCESS_DENIED with details.reason target_mismatch, with one exception - under a device proof a body app_user_id is ignored (the device acts on its own anonymous customer), while a body customer_id must still match. - An invalid proof is 401 PROOF_INVALID and is never downgraded to a weaker principal. - The static identity hash is removed. Presenting X-BillDog-Identity-Hash or a body identity_hash is 401 PROOF_INVALID with details.reason unsupported. - Money and account erasure need a session signed in within the last 900 seconds, else 403 REAUTH_REQUIRED. A project secret key is not aged. - A store purchase has one owner per (project, environment, platform, store subscription id). A receipt posted by another customer moves the purchase only when it is paid and the project's receipt_collision_policy is transfer; otherwise 409 PURCHASE_OWNER_CONFLICT. ### Error codes Envelope: `{ success: false, error: { code, message, details }, meta }`. - `PROOF_REQUIRED` (403): 403 `PROOF_REQUIRED`. - `PROOF_INVALID` (401): 401 `PROOF_INVALID`. - `REAUTH_REQUIRED` (403): 403 `REAUTH_REQUIRED`. - `ACCESS_DENIED` (403): 403 `ACCESS_DENIED` with `details.reason: 'target_mismatch'` and `details.selector` (`customer_id`, `app_user_id`, `token`): the body names a customer other than the one the caller proved. - `CUSTOMER_NOT_FOUND` (404): 404 `CUSTOMER_NOT_FOUND`. - `PURCHASE_OWNER_CONFLICT` (409): 409 `PURCHASE_OWNER_CONFLICT`. - `PLACEMENT_NOT_FOUND` (404): 404 `PLACEMENT_NOT_FOUND` (headless mode). ### Headless placement contract (`POST /get-wall-for-placement`) Source: `supabase/functions/get-wall-for-placement/index.ts`. `render_mode: "hosted"` (default): `placement_identifier` is required; `paywall` carries the device-category `configurations`, complete — the same answer `fetch-paywall` builds (`buildHostedWallAnswer`), with `resources` beside it — so a client renders it as returned and never fetches the wall again; an unknown placement is created on first sighting (`source: 'sdk_autocreated'`); a gated placement whose content is withheld for this caller is 403 `PLACEMENT_ACCESS_WITHHELD`. Supports `If-None-Match` / `ETag`. `render_mode: "headless"` (bring your own UI): `placement_identifier` is optional. Omitted → the project's offering for this caller (an offering audience rule that matches, else the `is_default` offering, else the `is_current` one); `placements` is not read. Given → what that placement resolves to (campaign, then the placement's own offering). A headless read never reads or returns a wall (`paywall` is always null) and never writes a placement row. An unknown placement is 404 `PLACEMENT_NOT_FOUND`, never the default. Holdout / gated / withheld outcomes are HTTP 200 with `offering: null` and the reason in `presentation`. `offering` is THE selection: in `offerings`, `is_current` is true on exactly that one. `entitlements` is the project's entitlement catalogue, not the caller's grants. Clients never send the literal placement `default`. Caller identity (`resolveCallerCustomer`): WHO the placement is resolved for comes from the proof. A device key is its own anonymous customer (created here if new; a body `app_user_id` label is ignored, a `customer_id` must be its own). A session is its own customer (a body label must be one of its own labels). A project secret key names a customer with `customer_id` (a customers.id UUID) or `app_user_id` (a label; an unknown label is bucketed as-is without creating anything). A public key alone resolves for nobody: targeting and bucketing run anonymously, and no body field can name another customer. A selector naming someone else is 403 `ACCESS_DENIED` (`target_mismatch`). ### Endpoints Base URL: `https://hbumxgdhjkgunydxftom.supabase.co/functions/v1`. Every endpoint answers the `{ success, data, meta }` envelope. - POST /auth-config — What this project requires before a sign-up is accepted (API key) - POST /auth-sign-up — Begin a sign-up (API key) - POST /auth-prepare — Send a one-time code (API key) - POST /auth-attempt — Submit a factor (API key) - POST /auth-token — Refresh a session (API key) - POST /auth-revoke — Sign out (API key) - POST /auth-sessions — List a user's sessions (API key) - POST /auth-introspect — Is this token live right now? (API key) - GET /auth-jwks — Public keys for offline verification (no key) - POST /auth-set-password — Set a password — by reset code, or as a signed-in change (API key) - POST /auth-account — The signed-in user's own account view (API key) - POST /auth-user-factors — Manage second factors (API key) - POST /auth-passkey — WebAuthn registration and sign-in (API key) - POST /auth-org — Organizations, members, invitations and domains (API key) - POST /auth-oauth-verify — Exchange a provider ID token for a session (API key) - POST /auth-oauth-start — Begin a redirect sign-in (PKCE) (API key) - POST /auth-oauth-callback — Complete a redirect sign-in (API key) - POST /auth-sso-start — Route a work email to its enterprise connection (API key) - POST /auth-sso-callback — Complete an OIDC enterprise sign-in (API key) - POST /auth-sso-acs/{connection_id} — SAML assertion consumer service (no key) - GET /auth-sso-acs/{connection_id}/metadata — SP metadata for the IdP (no key) - POST /manage-auth-settings — Project auth settings, SSO connections, SCIM tokens and signing keys (dashboard session) - POST /manage-jwt-templates — List, upsert, delete or preview the extra claims a session token carries (API key) - POST /auth-provision-keys — Provision or rotate signing keys (dashboard session) - POST /auth-import — Import users from Clerk, Auth0 or Firebase (dashboard session) - POST /auth-impersonate — Act as a user, for support (dashboard session) - GET /scim-v2/Users — List or filter provisioned users (SCIM token) - POST /scim-v2/Users — Provision a user (SCIM token) - PATCH /scim-v2/Users/{id} — Update or deactivate a user (SCIM token) - DELETE /scim-v2/Users/{id} — Deprovision a user (SCIM token) - GET /scim-v2/Groups — List directory groups (SCIM token) - GET /scim-v2/ServiceProviderConfig — Advertised SCIM capabilities (SCIM token) - POST /sdk-config — Get remote project-level configuration for SDKs (API key) - POST /sdk-renderer-version — Fetch renderer version info for SDK updates (no key) - POST /ingest-events — Batch ingest multiple analytics and paywall events (API key) - POST /list-walls — List active paywalls for a project (API key) - POST /fetch-wall — Fetch paywall configuration (API key) - POST /feedback — Submit customer feedback or support ticket (no key) - POST /update-subscription-notification — Update scheduled, sent, or cancelled local subscription notification status (API key | API key + session | API key + device key) - POST /create-stripe-portal-session — Create a Stripe customer billing portal session link (API key) - POST /public-analytics-api — Query project analytics via a public BI connector endpoint (no key) - POST /promote-entitlement — Manually grant or revoke promotional entitlements (API key) - POST /compute-entitlements — Retrieve consolidated entitlement grants and subscription statuses for customer (API key | API key + session | API key + device key) - POST /experiment-config — Assign variant allocations and variables for user (API key | API key + session | API key + device key) - POST /experiment-event — Track exposure or conversion for experiment (API key | API key + session | API key + device key) - POST /feature-flag-definitions — Fetch raw flag criteria for local evaluation (no key) - POST /record-campaign-event — Track conversion funnel metrics for marketing campaigns (API key | API key + session | API key + device key) - POST /redeem-purchase — Redeem the token of a completed web checkout and grant its entitlements (API key | API key + session | API key + device key) - POST /web-checkout-status — How one web checkout of the proven customer stands (API key | API key + session | API key + device key) - POST /generate-offer-signature — Sign an App Store promotional offer for StoreKit (API key) - POST /sdk-create-test-purchase — Record a simulated Test Store purchase for a sandbox test user (API key) - POST /set-customer-attributes — Update core billing database contact details for customer (API key | API key + session | API key + device key) - POST /get-subscriptions — Retrieve active subscriber subscriptions and entitlements (API key | API key + session | API key + device key) - POST /validate-api-key — Validate API key (API key) - POST /list-offerings — List all offerings for a project (API key) - POST /create-offering — Create a new offering (API key) - POST /update-offering — Update an existing offering (API key) - POST /delete-offering — Delete an offering (API key) - POST /list-offering-packages — List packages for an offering (API key) - POST /manage-offering-packages — Add or remove packages from an offering (API key) - POST /fetch-paywall — Fetch one named paywall (API key | API key + session | API key + device key) - POST /fetch-paywall-draft — Fetch a paywall's draft configuration (preview tooling) (API key) - POST /list-paywalls — List the project's active paywalls (metadata only) (API key) - GET /get-preview-paywall — Resolve a paywall preview link (QR code / share link) by its token (no key) - POST /get-preview-paywall — Preview a wall from the dashboard (dashboard session) - POST /check-wall-version — Check if paywall has updates (API key) - POST /check-offering-version — Check if offering has updates (API key) - POST /list-placements — List all placements for a project (API key) - POST /manage-placement — Create, update or delete a placement, or set its offerings (API key) - POST /get-customer-info — The customer's subscriptions, entitlements, contact fields and attribution (API key | API key + session | API key + device key) - POST /check-entitlement — Does this customer hold this entitlement (API key | API key + session | API key + device key) - POST /process-purchase — Record a store purchase (v1; maps onto the store-evidence ledger) (API key | API key + session | API key + device key) - POST /restore-purchases — Re-affirm a customer's grants and return them (API key | API key + session | API key + device key) - GET /health-check — Check API health status (no key) - POST /check-trial-eligibility — Check customer trial eligibility (API key | API key + session | API key + device key) - POST /check-trial-eligibility-batch — Check trial eligibility for multiple products (API key | API key + session | API key + device key) - POST /check-upgrade-eligibility — Check upgrade eligibility and preview proration (API key | API key + session | API key + device key) - POST /create-web-checkout — Start a Stripe web checkout (API key | API key + session | API key + device key) - POST /get-customer-subscriptions — Retrieve a web buyer's purchases from a management link or checkout session (no key) - POST /register-device-token — Bind an APNs / FCM push token to the proven customer (API key | API key + session | API key + device key) - POST /unregister-device-token — Deactivate a push token in the key's project (API key) - POST /check-pending-actions — Claim the journey actions queued for the caller (API key | API key + session | API key + device key) - POST /complete-pending-action — Report the outcome of a queued journey action (API key | API key + session | API key + device key) - POST /revoke-device-key — Kill a copied device key (project secret key only) (API key) - POST /set-customer-attribution — Set attribution and campaign mapping details for a customer (API key | API key + session | API key + device key) - POST /set-device-identifiers — Store advertising identifiers and tracking consent status (API key | API key + session | API key + device key) - POST /upgrade-subscription — Change plan or upgrade a user subscription (API key) - POST /user-properties — Apply atomic modifications to user profile properties (API key | API key + session | API key + device key) - POST /virtual-currency — Virtual currency balances, transactions and adjustments (path-routed) (API key | API key + session | API key + device key) - POST /redeem-with-currency — Spend virtual currency to grant a package's entitlements (API key | API key + session | API key + device key) - POST /bdsurvey-fetch — Fetch survey config with eligibility targeting (API key | API key + session | API key + device key) - POST /bdsurvey-submit — Record user survey response state (API key | API key + session | API key + device key) - POST /bdsurvey-list — Retrieve active surveys mapping targeted users (API key | API key + session | API key + device key) - POST /bdsurvey-manifest — Retrieve eligible survey IDs for client disk caching (API key | API key + session | API key + device key) - POST /get-wall-for-placement — The one placement / offering delivery endpoint (hosted and headless) (API key | API key + session | API key + device key) - POST /auth-account-delete — Erase the signed-in user's account (Apple 5.1.1(v) & GDPR) (API key + session) - POST /check-user-access — Assess user access restriction status (API key | API key + session | API key + device key) - POST /sync-subscriber — Set a customer's messaging channel preferences (and, server-side, contact profile) (API key | API key + session | API key + device key) - POST /restrict-user-access — Restrict a customer's access (dashboard admin action) (dashboard session) - POST /execute-paywall-action — Securely execute server-side tap actions (API key | API key + session | API key + device key) - POST /feature-flags/evaluate — Evaluate active feature flags for a user (API key | API key + session | API key + device key) - POST /record-external-event — Record non-revenue custom subscription state changes (API key) - POST /record-external-purchase — Record a purchase from the merchant's server (API key) - POST /record-session-replay — Ingest session replay events/attachments from clients (API key | API key + session | API key + device key) - POST /track-paywall-action — Ingest status logs for paywall user interactions (API key | API key + session | API key + device key) - POST /trigger-inapp-message — Check and track trigger states for in-app messaging (API key | API key + session | API key + device key) ### Removed endpoints (do not call) - `fetch-offering` — use get-wall-for-placement with render_mode "headless" - `fetch-offerings-for-placement` — use get-wall-for-placement with render_mode "headless" - `get-placement-config` — use get-wall-for-placement - `get-placement-offering` — use get-wall-for-placement with render_mode "headless" - `get-placement-gates` — use get-wall-for-placement with render_mode "headless" (presentation.gated + presentation.required_entitlement) - `create-app-to-web-checkout` — use create-web-checkout with source "app_to_web" - `track` — use ingest-events ## Codelabs - [App Event Tracking and Funnels Codelab](https://billdog.io/codelabs/analytics-funnel.md): Codelab: track custom events with properties in iOS, Android, web and React Native apps with BillDog, check they arrive, then build a paywall conversion funnel. - [Android Paywall Codelab: Kotlin + Play Billing](https://billdog.io/codelabs/android-first-paywall.md): Step-by-step codelab: add the BillDog Android SDK from Maven Central, show a paywall from a placement, check an entitlement and restore Google Play purchases. - [Test Google Play Purchases with License Testers](https://billdog.io/codelabs/android-sandbox-testing.md): Codelab: test Google Play subscriptions with license testers, an internal testing build and test cards, then see the sandbox purchase and renewals in BillDog. - [Connect App Store Connect to BillDog](https://billdog.io/codelabs/app-store-setup.md): Connect App Store Connect to BillDog: create subscriptions, add your In-App Purchase key (.p8), set Server Notifications V2 and map products to entitlements. - [Add Sign-In to a Web App with BillDog Auth](https://billdog.io/codelabs/auth-sign-in.md): Codelab: turn on BillDog Auth, sign users up and in with @billdog.io/auth, link the session to their purchases, then verify the token on a Node backend. - [Recover Failed Subscription Payments](https://billdog.io/codelabs/failed-payment-recovery.md): Codelab: recover failed renewals with BillDog. Turn on store grace periods, read isInGracePeriod, prompt users to fix payment, react to billing_issue webhooks. - [Feature Flags Codelab: Rollout and Kill Switch](https://billdog.io/codelabs/feature-flags.md): Codelab: create a BillDog feature flag, read it on iOS, Android, web, React Native or Flutter, roll out by percentage, target by attribute and check exposure. - [Paywall Not Showing? Fix It Step by Step](https://billdog.io/codelabs/fix-paywall-not-showing.md): Codelab: find why a BillDog paywall doesn't show or has no products. Read the SDK logs and register result, then check placement, offering, paywall and store. - [Flutter Paywall & In-App Purchase Codelab](https://billdog.io/codelabs/flutter-first-paywall.md): Step-by-step codelab: install billdog_flutter, show a paywall from a placement on iOS and Android, check an entitlement and restore purchases with Dart 3. - [Free Trial Paywall Codelab: iOS and Android](https://billdog.io/codelabs/free-trial-paywall.md): Codelab: add a free trial in App Store Connect and Play Console, show trial terms only to eligible users on a BillDog paywall, and detect users in a trial. - [iOS Paywall Codelab: SwiftUI + StoreKit](https://billdog.io/codelabs/ios-first-paywall.md): Codelab: add the BillDog iOS SDK with Swift Package Manager, show a paywall from a placement, check an entitlement and restore purchases in SwiftUI. - [iOS Sandbox Testing for In-App Purchases](https://billdog.io/codelabs/ios-sandbox-testing.md): Test iOS subscriptions in Apple's sandbox with BillDog: create a sandbox tester, buy with a test key, watch fast renewals, then test restore and cancellation. - [Migrate from RevenueCat to BillDog](https://billdog.io/codelabs/migrate-from-revenuecat.md): Codelab: move an app from RevenueCat to BillDog. Import subscribers, recreate products and entitlements, map the SDK calls per platform and cut over safely. - [Migrate from StoreKit 2 or Play Billing](https://billdog.io/codelabs/migrate-from-storekit-play-billing.md): Codelab: move an app built on raw StoreKit 2 or Google Play Billing to BillDog. Keep every subscriber, repoint store notifications and switch purchase calls. - [Headless Paywall Codelab: SwiftUI & Compose](https://billdog.io/codelabs/native-headless-paywall.md): Codelab: fetch a placement's offering with the BillDog SDK, draw your own SwiftUI, Compose, Flutter or React Native paywall, buy a package, log impressions. - [Paywall A/B Test Codelab: Setup to Winner](https://billdog.io/codelabs/paywall-ab-test.md): Codelab: A/B test two paywalls with BillDog. Create variants, split traffic, start the experiment, read conversion significance and revenue, and ship the… - [Paywall Builder Codelab: Build From Scratch](https://billdog.io/codelabs/paywall-builder-deep-dive.md): Codelab: build a BillDog paywall from scratch. Add product pickers, price and trial variables, tap actions, translations, device layouts and dark mode. - [Build a Paywall with Claude or Cursor via MCP](https://billdog.io/codelabs/paywall-with-ai-agent.md): Codelab: connect Claude, Cursor or another MCP client to BillDog, then have the agent design a paywall draft, preview it, publish it and attach it to a… - [Connect Google Play to BillDog: Setup Guide](https://billdog.io/codelabs/play-store-setup.md): Codelab: connect Google Play to BillDog with a service account JSON key, set up real-time developer notifications over Pub/Sub, and map base plans to products. - [Customer Info Listeners and Purchase Sync](https://billdog.io/codelabs/purchase-listeners-and-sync.md): Codelab: react to renewals, refunds and purchases with BillDog customer info streams on iOS, Android, Flutter and React Native, and know when to sync or restore - [Push Notifications & In-App Messages Codelab](https://billdog.io/codelabs/push-and-in-app-messages.md): Codelab: upload APNs and FCM credentials, register device tokens in iOS and Android apps, add in-app messaging, then send and test a message from BillDog. - [React Native & Expo Paywall Codelab](https://billdog.io/codelabs/react-native-expo-paywall.md): Step-by-step codelab: install the BillDog React Native SDK or Expo config plugin, show a paywall from a placement, check entitlements and restore purchases. - [Read MRR, ARR, Churn and LTV in BillDog](https://billdog.io/codelabs/revenue-metrics-dashboard.md): Codelab: find MRR, ARR, net revenue, active subscriptions, trials, churn, refunds and LTV in the BillDog dashboard, learn how each is computed, and export it. - [Scheduled Sale and Promo Codes Codelab](https://billdog.io/codelabs/scheduled-sale-and-promo-codes.md): Codelab: run a time-boxed sale with BillDog. Schedule a sale paywall with a campaign, add a countdown, create Stripe promo codes and open App Store offer codes. - [Test In-App Purchases Without a Store Account](https://billdog.io/codelabs/test-store-purchases.md): Codelab: use the BillDog Test Store to create sandbox purchases, trials, renewals and refunds that unlock entitlements, without App Store or Google Play setup. - [Sell In-App Coins and Credits with BillDog](https://billdog.io/codelabs/virtual-currency.md): Codelab: create a BillDog virtual currency, grant coins when a consumable sells, read the balance in your app and spend it from your server with a secret key. - [Headless Web Paywall Codelab with Stripe](https://billdog.io/codelabs/web-headless-paywall.md): Codelab: connect Stripe, fetch a placement's offering with the BillDog web SDK, render your own pricing UI, start checkout and check the entitlement. - [Web Redemption Links Codelab: Web to App](https://billdog.io/codelabs/web-redemption-links.md): Codelab: sell with Stripe web checkout from your iOS or Android app, return through a redemption deep link, and let the BillDog SDK grant the entitlement. - [Receive BillDog Webhooks on Your Server](https://billdog.io/codelabs/webhooks-to-your-server.md): Codelab: receive BillDog webhooks. Add an endpoint, verify the X-BillDog-Signature HMAC in Node or Python, dedupe retries by event ID, send a test event. - [Win-Back Offers Codelab: iOS and Android](https://billdog.io/codelabs/win-back-offers.md): Codelab: win back lapsed subscribers with BillDog. Create an App Store promotional offer and a Play offer, show a win-back paywall, and test it in sandbox. ## Customer engagement - [Customer Engagement Platform for Apps](https://billdog.io/customer-engagement.md): BillDog is a customer engagement platform for subscription apps: push, in-app, email and SMS, journeys and segments, triggered by store-verified revenue events. - [AI Agents for Customer Engagement (MCP)](https://billdog.io/customer-engagement/ai.md): Run customer engagement from Claude, ChatGPT or your IDE: BillDog's MCP server drafts journeys and campaigns, runs analytics and waits for your approval. - [Push, In-App, Email and SMS Messaging Channels](https://billdog.io/customer-engagement/channels.md): BillDog's engagement channels: iOS and Android push, in-app messages, email through Resend, SMS through Twilio and webhooks, with caps, quiet hours and consent. - [Customer Segmentation for Subscription Apps](https://billdog.io/customer-engagement/segmentation.md): How BillDog segments app users: rule-based segments updated hourly, behavioural cohorts, suggested segments and predicted LTV for messages and journeys. - [Engagement Use Cases for Subscription Apps](https://billdog.io/customer-engagement/use-cases.md): Twelve lifecycle plays for subscription apps: onboarding, trial and paywall conversion, annual upgrades, cancellation saves, failed payments and win-back. - [Monthly to Annual Upgrade Journeys](https://billdog.io/customer-engagement/use-cases/annual-upgrade.md): Move loyal monthly subscribers to an annual plan: a journey starts on a store-verified monthly renewal, waits two months, and offers the annual plan in the app. - [Failed Payment Recovery for Subscription Apps](https://billdog.io/customer-engagement/use-cases/billing-recovery.md): Recover failed App Store and Google Play payments: journeys triggered by store-verified billing issues ask users to update payment details before access ends. - [Cancellation Save Journeys for Subscriptions](https://billdog.io/customer-engagement/use-cases/cancellation-save.md): Save subscribers who turned off auto-renew while they still have access: ask why, answer the reason, and show a better-fit plan before the period ends. - [In-App NPS and Feedback Journeys for Apps](https://billdog.io/customer-engagement/use-cases/feedback-and-reviews.md): Ask subscribers for feedback at the right moment: an NPS survey after a renewal, a thank-you for promoters and the other answers sent to your team. - [Freemium to Paid Conversion Journeys](https://billdog.io/customer-engagement/use-cases/freemium-conversion.md): Upgrade engaged free users of a freemium app: a journey starts when a user joins a segment of active non-subscribers and shows the right paywall in the app. - [User Onboarding Journeys for Mobile Apps](https://billdog.io/customer-engagement/use-cases/onboarding.md): Build user onboarding journeys in BillDog: welcome messages, then help only for users who haven't reached their first key action, triggered by real app events. - [Paywall Abandonment Journeys for Apps](https://billdog.io/customer-engagement/use-cases/paywall-abandonment.md): Follow up when users close your paywall without buying: journeys that start on a dismissed paywall, skip anyone who bought, and show a different offer later. - [Re-Engagement Journeys for Inactive App Users](https://billdog.io/customer-engagement/use-cases/re-engagement.md): Re-engage inactive app users with journeys that start after 1 to 365 days with no activity: reminders by push or email and a welcome-back message in the app. - [New Subscriber Welcome Journeys for Apps](https://billdog.io/customer-engagement/use-cases/subscriber-welcome.md): Welcome new subscribers and cut early cancellations: a journey on the store-verified purchase shows each subscriber the paid features they haven't tried yet. - [Team Activation Journeys for B2B Apps](https://billdog.io/customer-engagement/use-cases/team-activation.md): Activate new teams in B2B and collaboration apps: journeys start when an organization is created and nudge the owner to invite teammates until someone joins. - [Free Trial Conversion Journeys for Apps](https://billdog.io/customer-engagement/use-cases/trial-conversion.md): Convert more free trials with journeys triggered by store-verified trial dates: reminders before the trial ends, an in-app offer on next open, and A/B tests. - [Win-Back Journeys for Churned Subscribers](https://billdog.io/customer-engagement/use-cases/win-back.md): Win back churned subscribers with journeys that start when a subscription is cancelled or expires: timed messages and a returning-user offer on next app open. ## Fixes - [App Review Can't Find In-App Purchase (2.1): Fix](https://billdog.io/fixes/app-review/iap-not-found-in-review.md): Why an in-app purchase that works in TestFlight is missing or broken for App Review, how to tell which cause it is, and what to change before you resubmit. - [iOS Products Array Empty (StoreKit): Fix](https://billdog.io/fixes/app-store/products-array-empty.md): Why StoreKit returns an empty products array on iOS, how to confirm which cause it is in a few minutes, and the fix for each one, from agreements to bundle IDs. - [In-App Purchase Sheet Not Showing or Hanging: Fix](https://billdog.io/fixes/app-store/purchase-sheet-never-appears.md): Why tapping Buy shows no App Store or Google Play sheet, or the purchase call hangs, how to find the cause in the logs, and the fix on iOS and Android. - [StoreKit 2 Missing Renewals (Transaction.updates): Fix](https://billdog.io/fixes/app-store/renewals-missed-while-app-closed.md): Why renewals that happen while your app is closed seem missed, what Transaction.updates does and doesn't promise, and how to read subscription state. - [iOS Sandbox Sign-In Loop / No Sandbox Account: Fix](https://billdog.io/fixes/app-store/sandbox-sign-in-loop.md): Why iOS keeps asking a sandbox tester to sign in, or doesn't show a Sandbox Apple Account in Settings, and how to set up sandbox testing that sticks. - [SKErrorDomain Code=0 Unknown Error: Fix](https://billdog.io/fixes/app-store/skerror-unknown-error.md): What SKErrorDomain Code=0 and StoreKitError.unknown mean, how to read the underlying error to find the cause in a minute, and the fix for each cause. - [StoreKit Configuration File Not Working: Fix](https://billdog.io/fixes/app-store/storekit-configuration-file-ignored.md): Why Xcode ignores your .storekit file and the Simulator returns no products, how to check the scheme in a minute, and when the file is the wrong tool. - [StoreKit Purchase Delivered Every Launch: Fix](https://billdog.io/fixes/app-store/unfinished-transactions-redelivered.md): Why StoreKit hands your app the same purchase at every launch or delivers it twice, how to list unfinished transactions, and how to finish them safely. - [Flutter iOS Symbols Not Found for x86_64: Fix](https://billdog.io/fixes/flutter/ld-symbols-not-found-x86-64.md): Why a Flutter iOS Simulator build fails to link for x86_64, how to find the framework missing a slice in a minute, and how to get back to arm64. - [Consumable Already Owned on Google Play: Fix](https://billdog.io/fixes/google-play/consumable-already-owned.md): Why a coin pack or credit pack fails with ITEM_ALREADY_OWNED on its second purchase, how to confirm the cause, and how to free stuck users. - [Fix ITEM_UNAVAILABLE on Google Play Billing](https://billdog.io/fixes/google-play/item-unavailable.md): Why Google Play says the item isn't available for purchase, how to tell whether it's the build, the account or the product, and the fix for each. - [Products Load on iOS but Not Android: Fix](https://billdog.io/fixes/google-play/products-load-on-one-platform.md): Why a cross-platform app shows products on one store and an empty paywall on the other, and how to fix product IDs and setup on the failing store. - [Android: No Products, Purchases Disabled: Fix](https://billdog.io/fixes/google-play/purchases-disabled-no-products.md): Why an Android app shows an empty paywall and purchase taps do nothing, what the 'Purchases are disabled' log line means, and how to fix it. - [RECEIVER_EXPORTED Crash on Android 14: Fix](https://billdog.io/fixes/google-play/receiver-exported-crash-android-14.md): Why apps targeting Android 14 crash with a RECEIVER_EXPORTED SecurityException, how to find the library behind it, and which versions fix it. - [Google Play Refunds After 3 Days: Fix](https://billdog.io/fixes/google-play/refunded-after-three-days.md): Why Google Play refunds and revokes purchases about three days after they're made, how to find unacknowledged ones, and how to acknowledge them in time. - [Anonymous Purchase Lost After Login: Fix](https://billdog.io/fixes/identity/anonymous-user-not-merged.md): Why a subscription bought before signing in vanishes at login, how anonymous and signed-in identities relate, and the call order that keeps it. - [Restore Purchases Not Working: Fix](https://billdog.io/fixes/identity/restore-does-nothing.md): Why Restore unlocks nothing or gives the purchase to another account, how to tell which case you're in, and how to restore to the right user. - [iOS Subscription Not Active on Android or Web: Fix](https://billdog.io/fixes/identity/subscription-not-active-other-platform.md): Why a subscription bought on one platform doesn't unlock the app on another, what platforms must share, and how to check each piece in minutes. - [AppTransaction Has No Member appTransactionID: Fix](https://billdog.io/fixes/react-native-expo/apptransaction-no-member-apptransactionid.md): Why an EAS or Xcode build fails on appTransactionID or originalPlatform, how to check your Xcode and SDK version in a minute, and the two ways to fix it. - [react-native-iap compilePlayDebugKotlin Failed: Fix](https://billdog.io/fixes/react-native-expo/compile-play-debug-kotlin-failed.md): Why react-native-iap stops compiling after a React Native or Expo upgrade, how to read the real Gradle error, and which version fixes each case. - [Expo Go NativeEventEmitter Non-Null Argument: Fix](https://billdog.io/fixes/react-native-expo/expo-go-native-module-missing.md): Why in-app purchase and other native packages fail in Expo Go, how to confirm Expo Go or a stale build is the cause, and how to make a development build. - [App Store Server Notifications Not Received: Fix](https://billdog.io/fixes/store-server/app-store-notifications-not-arriving.md): Why your server receives no App Store Server Notifications, how to check URLs, version and TLS in minutes, and how to make Apple send a test. - [App Store Server API 401 Unauthenticated: Fix](https://billdog.io/fixes/store-server/app-store-server-api-401.md): Why the App Store Server API answers 401, the JWT header and claims Apple checks, and how to find the wrong one in a minute by decoding your token. - [Google Play RTDN Not Received (Pub/Sub): Fix](https://billdog.io/fixes/store-server/google-rtdn-not-arriving.md): Why Google Play's real-time notifications never reach your server, how to test the topic, permission and push subscription, and the fix for each. - [Play Developer API Insufficient Permissions: Fix](https://billdog.io/fixes/store-server/play-api-insufficient-permissions.md): Why the Google Play Developer API rejects your service account with a permissions error, and which Play Console and Google Cloud settings to check. ## Free tools - [App Store Price Points & Proceeds Calculator](https://billdog.io/tools/app-store-price-points.md): Find the nearest valid App Store price point, browse all of Apple's USD price points, and see proceeds after the 30% or 15% commission and VAT. Google Play too. - [Regional Pricing Calculator for Apps (PPP)](https://billdog.io/tools/regional-pricing-calculator.md): Localize subscription prices by country with World Bank PPP data: set a base price, a dampening factor and a floor, and get store-ready local prices to export. - [Subscription LTV Calculator for Apps (Free)](https://billdog.io/tools/subscription-ltv-calculator.md): Free subscription LTV calculator for apps: fit a retention curve, mix weekly, monthly and annual plans, and net out App Store and Play fees, VAT and refunds. ## Getting started - [Code Examples](https://billdog.io/docs/code-examples.md): Tested BillDog snippets in several languages: initialise the SDK, fetch a paywall, handle purchase callbacks, check entitlements, track events, set user… - [BillDog Glossary](https://billdog.io/docs/glossary.md): Definitions for the terms used across BillDog docs — paywalls and rendering, analytics, experimentation, engagement, environments and networking. - [Quick Start Guide](https://billdog.io/docs/quickstart.md): Go from an empty project to a live BillDog paywall in about 15 minutes — create a project, install the SDK, define an offering and present your first paywall. - [What SDK do I need?](https://billdog.io/docs/sdk-selection.md): Decide which BillDog SDK you need — the Full SDK for monetization plus engagement, or the Engagement SDK alone — based on your platform and what you're… - [Troubleshooting Guide](https://billdog.io/docs/troubleshooting.md): Common BillDog issues by category, each with the symptom, likely cause and a step-by-step fix — including canonical PurchaseResult mapping and searchable… ## Guides - [API Reference](https://billdog.io/docs/api-reference.md): BillDog REST API reference: authentication, customers, subscriptions, entitlements, paywalls, events and webhooks, with request and response examples. Auth… - [App Review Request](https://billdog.io/docs/app-review-request.md): Trigger native in-app review prompts through BillDog on iOS and Android, including platform quotas, eligibility rules and how to avoid wasting a request. - [Apple App Store Privacy Details](https://billdog.io/docs/apple-privacy.md): What to declare in App Store Connect privacy labels when using BillDog — disclosures by data type, optional IDFA and ad tracking, and in-code privacy controls. - [Attribution Integrations](https://billdog.io/docs/attribution.md): Store identifiers from 20 attribution and analytics providers (Adjust, AppsFlyer, Branch, Firebase, Mixpanel, OneSignal, Airship, CleverTap, Iterable, Tenjin… - [Audience Segmentation](https://billdog.io/docs/audience-segmentation.md): Build BillDog audiences from behaviour, properties and revenue state, then reuse the same segment across paywalls, messaging, surveys and experiments. - [BillDog Auth](https://billdog.io/docs/auth.md): Sign-in, sessions and entitlements in one token. What BillDog Auth is, the two nouns you need, which platforms have it, and where to start. - [Auth API Reference](https://billdog.io/docs/auth/api-reference.md): Every BillDog Auth endpoint: the base URL, how requests are authenticated, the response envelope, and the full operation table. - [Auth Card Reference](https://billdog.io/docs/auth/auth-card-reference.md): Every property on the Auth Card, the five steps it moves through, what happens on each surface, and the localisation and error behaviour. - [Building a Sign-In Wall](https://billdog.io/docs/auth/auth-walls.md): Author a hosted sign-in screen in the Paywall Builder: the four starting recipes, what the Auth Card owns, branding, where the wall is served and how a… - [Auth Errors](https://billdog.io/docs/auth/errors.md): What each status and error code means, why every credential failure looks the same, and how to debug the ones that are genuinely ambiguous. - [Hosted or SDK?](https://billdog.io/docs/auth/hosted-vs-native.md): Which way to sign people in on each platform, why a wall must not sign someone in inside a native app, and what to use instead. - [Identities & Identifiers](https://billdog.io/docs/auth/identities.md): Email, phone and username sign-in, the identifier_kind parameter, verification, and how a signed-in user is linked to a BillDog customer. - [JWT Templates](https://billdog.io/docs/auth/jwt-templates.md): Add your own claims to BillDog session tokens: creating a template, applying it, reserved claims, custom lifetimes, and the two ways to manage them. - [Limits & Lifetimes](https://billdog.io/docs/auth/limits.md): Every number in BillDog Auth in one place: token and code lifetimes, rate-limit buckets, lockout, caps and payload ceilings — and which are configurable. - [Multi-Factor Authentication](https://billdog.io/docs/auth/mfa.md): TOTP enrolment, backup codes, the project-wide MFA mandate, and the one rule that decides whether a wrong code is a retry or a lockout. - [Migrating from Another Provider](https://billdog.io/docs/auth/migrating.md): Import users from Clerk, Auth0 or Firebase — how password hashes are carried over, who cannot sign in afterwards, and how to reach them. - [Organizations](https://billdog.io/docs/auth/organizations.md): Teams, roles, invitations and verified domains — and how a member inherits the organization's entitlements through the active-organization claim. - [Passkeys](https://billdog.io/docs/auth/passkeys.md): WebAuthn sign-in with Face ID, Touch ID or a security key: registering a passkey, signing in with one, and what each platform needs. - [Passwordless — Email & SMS Codes](https://billdog.io/docs/auth/passwordless.md): One-time codes over email and SMS: requesting one, completing it, delivery, the dialling-code allowlist and the monthly spend cap. - [Passwords](https://billdog.io/docs/auth/passwords.md): Password sign-in, the configurable policy, the breach check, how passwords are stored, and how a password is reset or changed from every SDK and from a hosted… - [Auth Quickstart](https://billdog.io/docs/auth/quickstart.md): Sign a user in, hold the session across page loads, reset a password, and verify the token on your own backend — end to end, in about fifteen minutes. - [SCIM Provisioning](https://billdog.io/docs/auth/scim.md): Sync users and groups from Okta or Entra ID: minting a provisioning token, the endpoints, deprovisioning semantics, and mapping directory groups to… - [Security & Compliance](https://billdog.io/docs/auth/security.md): What BillDog Auth defends against and how — enumeration and timing equality, rate limits, reuse detection, credential storage, data residency and erasure. - [Sessions & Tokens](https://billdog.io/docs/auth/sessions.md): The two tokens BillDog Auth issues, how long each lives, where to keep them, rotation with reuse detection, and how to end a session. - [Google, Apple & Facebook Sign-In](https://billdog.io/docs/auth/social.md): Social sign-in two ways — the provider's own SDK, or a server-side PKCE redirect — plus provider setup, the Apple signing key, redirect allowlisting, second… - [OIDC Single Sign-On](https://billdog.io/docs/auth/sso-oidc.md): Connect a custom OpenID Connect provider: discovery, the write-only client secret, domain routing, and how the callback is verified. - [SAML Single Sign-On](https://billdog.io/docs/auth/sso-saml.md): Connect Okta, Entra ID or any SAML 2.0 IdP: the three strings your IdP needs, domain routing, SP- and IdP-initiated sign-in, and the one setting that must be… - [Verifying Tokens on Your Server](https://billdog.io/docs/auth/verify-tokens.md): Offline signature verification against a cached JWKS, the environment check that is a security control, entitlement truncation, and when to reach for… - [Auth Webhooks](https://billdog.io/docs/auth/webhooks.md): The thirteen user, session and organization events, what their payloads carry, how deliveries are signed, and how retries and auto-disable work. - [Plans, Usage & Billing](https://billdog.io/docs/billing.md): How BillDog meters your account, what the free ceiling does to your SDK, and where the controls that actually change your bill live. - [BillDog CLI](https://billdog.io/docs/cli.md): Reference for the BillDog CLI (@billdog.io/cli): detects your framework and installs the right SDK, plus commands, flags, diagnostic checks, code generators… - [Retention Cohorts & Cohort Analysis](https://billdog.io/docs/cohorts.md): Build reusable saved audiences from event frequency and property predicates, then scope any analytics report — or a campaign — to them. - [Monthly Subscriptions with a 12-Month Commitment](https://billdog.io/docs/commitment-plans.md): Sell Apple's monthly-with-12-month-commitment billing plan (and Google Play installment plans) with BillDog: App Store Connect setup, the :monthly product… - [Compliance & Guidelines](https://billdog.io/docs/compliance.md): Compliance requirements for BillDog web checkout: Apple App Store and Google Play rules, GDPR obligations and payment regulations, with the next step for each. - [Component Reference](https://billdog.io/docs/component-reference.md): Every BillDog paywall component by category — layout, text, media, buttons and inputs — with the properties, defaults and platform support for each one. - [Creating Surveys](https://billdog.io/docs/creating-surveys.md): Build a survey in the BillDog builder: question types, branching conditions and the operators used to compare answers, from first draft through to publish. - [Custom Purchases & Non-Store Products](https://billdog.io/docs/custom-purchases.md): Route purchases through your own billing stack (RevenueCat, Qonversion, raw StoreKit/Play Billing, Stripe, Paddle) using BillDog's PurchaseController and… - [Subscription Management & Retention Flows](https://billdog.io/docs/customer-center.md): Build an in-app 'Manage subscription' screen with the Paywall Builder: open the store's subscription settings, restore purchases, request refunds on iOS… - [Data Exports to S3, GCS and BigQuery](https://billdog.io/docs/data-exports.md): Export BillDog data to S3, Google Cloud Storage, Azure Blob or BigQuery on a schedule: the credential each destination needs, least-privilege IAM, file format. - [Device Layouts](https://billdog.io/docs/device-layouts.md): Give one paywall a different layout for phones, large phones, tablets and desktop, in portrait and landscape — so the buy button stays on screen when the… - [Engage SDK Guide](https://billdog.io/docs/engage-sdk-guide.md): Overview of the BillDog Engagement SDKs — analytics, surveys, messaging and feature flags — and which platform package to install for your stack. - [Experiments & A/B Testing](https://billdog.io/docs/experiments.md): Run A/B tests on BillDog: flag and experiment types, reading a variant in-app, local vs server evaluation, targeting rules, and how assignments reach Analytics. - [Feature Flags](https://billdog.io/docs/feature-flags.md): Ship code dark, target by audience, roll out by percentage, and deliver remote JSON config — with every verdict computed server-side. - [Full SDK Guide](https://billdog.io/docs/full-sdk-guide.md): What the BillDog Full SDK includes — the monetization engine plus event tracking, messaging and surveys — and which platforms it supports in a single install. - [Conversion Funnels & Drop-off Analysis](https://billdog.io/docs/funnels.md): Measure step-by-step conversion across 2 to 8 events, find exactly where users drop out, and build the funnel in the BillDog analytics dashboard. - [Group Analytics](https://billdog.io/docs/group-analytics.md): Analyse B2B usage by company, workspace or team instead of by individual user — five custom group slots, plus a subscription cohort BillDog maintains for you. - [Headless Paywalls (BYO-UI)](https://billdog.io/docs/headless-paywalls.md): Build your own paywall UI in SwiftUI, Jetpack Compose, React Native, Expo, Flutter, Web React, or any custom engine via REST API while BillDog resolves the… - [Identifier Best Practices](https://billdog.io/docs/identifier-best-practices.md): Naming conventions and project scoping for BillDog: app user IDs, aliases, anonymous identity, environment separation, and identifiers you should never reuse. - [Insights, Boards & Alerts](https://billdog.io/docs/insights-boards-alerts.md): Saving a report, assembling boards, alerting on a metric, and annotating a timeline — what carries across each step and what gets dropped. - [Adjust attribution](https://billdog.io/docs/integrations/adjust.md): Store the Adjust identifier on the BillDog customer with setAdjustId (key adjustId). BillDog's Adjust connector sends it with the events it forwards. - [Airship ID](https://billdog.io/docs/integrations/airship.md): Store the Airship identifier on the BillDog customer with setAirshipChannelID (key airshipChannelId). BillDog keeps it on the customer and doesn't send it to… - [AppsFlyer attribution](https://billdog.io/docs/integrations/appsflyer.md): Store the AppsFlyer identifier on the BillDog customer with setAppsflyerId (key appsflyerId). BillDog's AppsFlyer connector sends it with the events it… - [Branch attribution](https://billdog.io/docs/integrations/branch.md): Store the Branch identifier on the BillDog customer with setBranchId (key branchId). BillDog keeps it on the customer and doesn't send it to Branch. - [CleverTap ID](https://billdog.io/docs/integrations/clevertap.md): Store the CleverTap identifier on the BillDog customer with setCleverTapID (key cleverTapId). BillDog keeps it on the customer and doesn't send it to CleverTap. - [Iterable ID](https://billdog.io/docs/integrations/iterable.md): Store the Iterable identifier on the BillDog customer with setIterableUserID (key iterableId). BillDog keeps it on the customer and doesn't send it to Iterable. - [Kochava attribution](https://billdog.io/docs/integrations/kochava.md): Store the Kochava identifier on the BillDog customer with setKochavaDeviceID (key kochavaId). BillDog keeps it on the customer and doesn't send it to Kochava. - [MoEngage ID](https://billdog.io/docs/integrations/moengage.md): Store the MoEngage identifier on the BillDog customer with setMoEngageAnonymousID (key moEngageAnonymousId). BillDog keeps it on the customer and doesn't send… - [mParticle ID](https://billdog.io/docs/integrations/mparticle.md): Store the mParticle identifier on the BillDog customer with setMparticleID (key mparticleId). BillDog keeps it on the customer and doesn't send it to mParticle. - [OneSignal ID](https://billdog.io/docs/integrations/onesignal.md): Store the OneSignal identifier on the BillDog customer with setOnesignalID (key onesignalId). BillDog keeps it on the customer and doesn't send it to OneSignal. - [Singular attribution](https://billdog.io/docs/integrations/singular.md): Store the Singular identifier on the BillDog customer with setSingularInstallID (key singularId). BillDog keeps it on the customer and doesn't send it to… - [Tenjin attribution](https://billdog.io/docs/integrations/tenjin.md): Store the Tenjin identifier on the BillDog customer with setTenjinAnalyticsInstallationID (key tenjinId). BillDog keeps it on the customer and doesn't send it… - [The Lexicon](https://billdog.io/docs/lexicon.md): Your event and property catalog: which parts of it govern what you can query, which parts are a private notebook, and why Data Drop and Permissions do not do… - [LLM Observability](https://billdog.io/docs/llm-observability.md): Trace your model calls with a server SDK or one HTTP POST per call, manage prompt versions, and read the cost and latency numbers correctly. - [MCP Server](https://billdog.io/docs/mcp-server.md): Connect your AI coding assistant (Claude Code, Cursor, Windsurf, Claude Desktop) to BillDog — diagnostic setup checklists, catalog and paywall inspection, and… - [Messaging Channels](https://billdog.io/docs/messaging.md): Push, email, SMS, in-app and Live Activities: what each one needs, what its health badge and metrics actually mean, and which providers cannot send. - [Messaging & Survey Analytics](https://billdog.io/docs/messaging-survey-analytics.md): The nine messaging reports and the six survey reports: one shared definition behind most of them, which rates only email can produce, and the three reports… - [Trial Reminder Notifications](https://billdog.io/docs/notifications.md): Schedule trial reminder notifications in BillDog — delivery methods, configuration, platform-specific setup for iOS and Android, and the notification lifecycle. - [Paywall Builder Guide](https://billdog.io/docs/paywall-builder.md): Use the BillDog paywall builder: the canvas and device preview, adding and arranging components, styling and theming, content and data binding, and media. - [Paywall Display Settings](https://billdog.io/docs/paywall-display-settings.md): Choose how a paywall is presented in your app — full screen, sheet, popup, drawer or push — whether users can dismiss it, and game controller input. - [Multi-Screen Funnels](https://billdog.io/docs/paywall-funnels.md): Build a paywall with several screens — onboarding, questions, offer — connect them in the Flow Graph, and route users with conditions and splits. - [Paywall Localization](https://billdog.io/docs/paywall-localization.md): Translate paywalls into any locale from the builder — AI-assisted, with dynamic variables protected from the translator and rejected if mangled. - [Preview & Publishing](https://billdog.io/docs/paywall-preview-publishing.md): Save drafts, fix validation issues, preview and share a paywall, publish and unpublish it, and restore earlier versions. - [Paywall Settings, Products & Audience](https://billdog.io/docs/paywall-settings.md): The builder's Settings, Products, Audience and Notifications panels: the paywall identifier, intro and promotional offers, the offering it sells, and who is… - [Using BillDog Paywalls alongside RevenueCat & Adapty](https://billdog.io/docs/paywalls-with-revenuecat-adapty.md): Show BillDog paywalls while RevenueCat or Adapty keeps making the purchase: a custom purchase controller in React Native, a purchase adapter on the web, and… - [Placements Guide](https://billdog.io/docs/placements.md): Control which BillDog offering appears where using placements — named app locations you can retarget remotely without shipping a new build. - [Predicted LTV](https://billdog.io/docs/predictions.md): Forecast subscription-cohort lifetime value at 3, 6, 12 and 24 months from renewal curves, with an 80% band — plus the older 30/90/365-day Prediction Explorer. - [Product Analytics (Client SDKs)](https://billdog.io/docs/product-analytics.md): Capture product analytics from BillDog client SDKs: manual events, automatic tracking, error tracking, autocapture, and identifying users across devices. - [Render Mode Guide](https://billdog.io/docs/render-modes.md): Choose the right render mode for your BillDog paywalls: native, WebView, or intelligent mode, and when each one is the right fit for your app. - [Retention & Stickiness](https://billdog.io/docs/retention.md): See how many users come back after their first visit, and how often your monthly users show up on any given day. - [Revenue & Subscription Metrics](https://billdog.io/docs/revenue-metrics.md): What each revenue report actually counts, what it leaves out, and why two reports of the same thing disagree. - [Review Analytics](https://billdog.io/docs/review-analytics.md): Measure in-app review request performance in BillDog: prompt volume, acceptance rate, and which triggers and timings produce the most completed reviews. - [Smart Review Timing](https://billdog.io/docs/review-timing.md): Time in-app review prompts using BillDog behaviour signals — after a success moment rather than at random — with rules, cooldowns and platform quota limits. - [Self-Hosted Proxy](https://billdog.io/docs/self-hosted-proxy.md): Route BillDog SDK traffic through your own infrastructure for compliance, observability or regional failover using setProxyURL on iOS and Android. - [Session Replay](https://billdog.io/docs/session-replay.md): Record and replay real user sessions on web, iOS and Android — with masking on by default and sampling that actually controls what you are billed. - [Smart Paywall Caching](https://billdog.io/docs/smart-caching.md): How BillDog caches paywall configuration for instant display and offline rendering: cache layers, staleness limits, invalidation, and the telemetry it emits. - [Survey Results & Analytics](https://billdog.io/docs/survey-results.md): Read BillDog survey results: the live KPI cards, per-question breakdowns, response filtering, and how answers flow back into analytics and audience targeting. - [Survey Targeting & Display Conditions](https://billdog.io/docs/survey-targeting.md): Target BillDog surveys precisely: how eligibility is evaluated, URL and route rules, audience and property targeting, feature flags, sampling and show-once… - [Surveys API & Presentation Guide](https://billdog.io/docs/surveys.md): Control BillDog surveys from code — presentation APIs, targeting variables, lifecycle callbacks, event trigger maps, native vs WebView rendering, offline… - [Variable System Reference](https://billdog.io/docs/variable-system.md): BillDog's variable system — both interpolation syntaxes, the resolution priority chain, built-in variables, localizable text properties and key format rules. - [Virtual Currencies Guide](https://billdog.io/docs/virtual-currencies.md): Build in-app economies with BillDog virtual currencies: setup, SDK integration, API reference, manual balance management, expiration rules and reporting. - [Web Checkout Setup Guide](https://billdog.io/docs/web-checkout.md): Deep-link from iOS or Android into BillDog web checkout for reader apps and external purchase entitlement: enable it, wire Stripe webhooks, redeem purchases. - [Web Analytics, Errors & Heatmaps](https://billdog.io/docs/web-errors-heatmaps.md): Three reports that only work once you turn capture on, what each number means, and how to tell sample data from your own. - [Web Redemption Links](https://billdog.io/docs/web-redemption-links.md): Hand a web (Stripe) purchase over to your iOS or Android app with a single-use redemption token, delivered as a deep link, a QR code, or a copyable code. - [Webhooks Reference](https://billdog.io/docs/webhooks.md): BillDog webhooks in both directions: incoming store notifications from Apple, Google and Stripe, and outgoing event dispatch to your endpoints — subscription… - [WebView Preload Strategies](https://billdog.io/docs/webview-preload-strategies.md): Preload strategies for BillDog WebView paywalls — when each strategy warms up the WebView, and where to set it in the Paywall Builder. - [xFlow Templating Reference](https://billdog.io/docs/xflow-reference.md): xFlow templating reference for BillDog: control-flow tags, operators and truthiness, the filter library, filter chaining and ms-string shorthand, with examples. ## Integrations - [Adapty Integration](https://billdog.io/docs/adapty-integration.md): Adapty and BillDog today: import your Adapty data, or keep Adapty making purchases behind a BillDog paywall. A ready-made Adapty bridge is coming soon. - [Airbridge Attribution Integration](https://billdog.io/docs/airbridge-integration.md): Store the Airbridge device UUID on the BillDog customer. BillDog doesn't send anything to Airbridge. - [Amplitude Integration for Mobile Revenue](https://billdog.io/docs/amplitude-integration.md): Forward BillDog subscription events into Amplitude through its HTTP API with the server-side connector, keyed on your app user ID. - [Analytics & Attribution Pipeline](https://billdog.io/docs/analytics-integration.md): How subscription and attribution data leaves BillDog today: server-side connectors, outgoing webhooks, and attribution identifiers stored on the customer. - [Apple Search Ads](https://billdog.io/docs/apple-search-ads-integration.md): Record the Apple Search Ads campaign, ad group and keyword behind an install, using AdServices on iOS 14.3+. - [Braze Integration for Lifecycle Messaging](https://billdog.io/docs/braze-integration.md): Send BillDog subscription lifecycle events to Braze server-to-server, matched to the Braze user whose external ID is your app user ID. - [Meta Ads (Facebook)](https://billdog.io/docs/meta-ads-integration.md): Store the Facebook anonymous ID on the BillDog customer and record fbclid from Meta ad click-throughs. Sending conversions to Meta is coming soon. - [Mixpanel Integration for Subscriptions](https://billdog.io/docs/mixpanel-integration.md): Forward BillDog subscription events into Mixpanel with the server-side connector, keyed on your app user ID, with USD revenue and EU data residency. - [PostHog Integration for Subscriptions](https://billdog.io/docs/posthog-integration.md): Send BillDog subscription events and revenue to PostHog from BillDog's servers, and store the PostHog distinct ID on the customer so they land on the right… - [Import RevenueCat subscribers](https://billdog.io/docs/revenuecat-integration.md): Import your App Store and Google Play subscribers from a RevenueCat export, verified with Apple and Google, or keep RevenueCat for purchases with the bridge. - [Segment Integration & Event Forwarding](https://billdog.io/docs/segment-integration.md): Forward BillDog subscription events into Segment from the server-side connector, as track calls keyed on your app user ID, with revenue in USD. - [SendGrid Integration for Email](https://billdog.io/docs/send-grid-integration.md): BillDog emails your customers through your SendGrid account when subscriptions start, trials are ending and payments fail. - [Slack Integration & Revenue Alerts](https://billdog.io/docs/slack-integration.md): Post subscription events straight into a Slack channel — new subscriptions, renewals, churn and failed payments — with no code. - [Stripe Integration Guide](https://billdog.io/docs/stripe-integration.md): Connect Stripe to BillDog for web checkout and subscriptions: API keys, webhook configuration, creating products, linking prices, and test vs live mode. - [Superwall Integration](https://billdog.io/docs/superwall-integration.md): Keep presenting your Superwall paywalls while BillDog buys, restores, validates receipts and owns entitlements. How to set up the integration. ## Plans - [CortX: Cross-Module Intelligence for Apps](https://billdog.io/cortx.md): CortX links BillDog's paywalls, surveys, analytics, messaging and journeys on one customer record, so a survey answer picks a paywall and revenue ends journeys. ## SDK guides - [Android SDK Integration Guide](https://billdog.io/docs/android.md): Integrate the BillDog Android SDK in Kotlin — configure repositories and dependencies, initialise, manage customer identity, check entitlements and show… - [Android Engagement SDK (BillDogEng)](https://billdog.io/docs/android-eng.md): Install and initialise the BillDog Android Engagement SDK in Kotlin: automatic event tracking, screen views, identity, in-app surveys and remote feature flags. - [Capacitor SDK (Coming Soon)](https://billdog.io/docs/capacitor.md): The BillDog Capacitor SDK is in our pipeline and not yet supported. What is planned, what an Ionic Capacitor app can use today, and how to join the waitlist. - [Capacitor Engagement SDK (Coming Soon)](https://billdog.io/docs/capacitor-eng.md): A BillDog engagement plugin for Capacitor is not available yet. What an Ionic Capacitor app can use today for analytics and surveys, and how to join the… - [Cordova SDK (Coming Soon)](https://billdog.io/docs/cordova.md): The BillDog Cordova plugin is in our pipeline and not yet published. What is planned, what a Cordova or PhoneGap app can use today, and how to join the… - [Expo SDK Guide](https://billdog.io/docs/expo.md): Integrate BillDog in an Expo app: install the config plugin, configure the SDK, identify customers, present paywalls and check entitlements. - [Flutter SDK Guide](https://billdog.io/docs/flutter.md): Integrate the BillDog Flutter SDK: install, raise the iOS deployment target and Android minSdk, configure, identify customers, present paywalls and check… - [iOS SDK Integration Guide](https://billdog.io/docs/ios.md): Integrate the BillDog iOS SDK in Swift: installation, initialisation, customer identity, entitlement checks, presenting paywalls and restoring purchases. - [iOS Engagement SDK (BillDogEng)](https://billdog.io/docs/ios-eng.md): Install and initialise the BillDog iOS Engagement SDK in Swift: behaviour capture, deep links, auto-tracking, session replay, identity, surveys and feature… - [Kotlin Multiplatform SDK (Coming Soon)](https://billdog.io/docs/kotlin-multiplatform.md): The BillDog Kotlin Multiplatform SDK is in our pipeline and not yet published. What a KMP project can use today, and how to join the waitlist. - [React Native SDK Guide](https://billdog.io/docs/react-native.md): Integrate the BillDog React Native SDK: install and configure, identify customers, present paywalls and check entitlements. - [Roku SDK (Coming Soon)](https://billdog.io/docs/roku.md): The BillDog Roku SDK and Roku Pay support are in our pipeline and not yet available. What is planned, what a Roku channel can use today, and how to join the… - [Server-Side SDKs (BillDogEng)](https://billdog.io/docs/server-sdk.md): BillDog server SDKs across nine languages: event capture, super properties, group and alias mapping, local feature-flag evaluation and the survey data API. - [Unity SDK (Coming Soon)](https://billdog.io/docs/unity.md): The BillDog Unity SDK is in our pipeline and not yet published. What is planned, what Unity games can use today through the REST API, and how to join the… - [Unity Engagement SDK (Coming Soon)](https://billdog.io/docs/unity-eng.md): The BillDog Unity Engagement SDK is in our pipeline and not yet published. What is planned, what Unity games can use today for analytics, and how to join the… - [Web SDK Guide](https://billdog.io/docs/web.md): Integrate BillDog into a web app with TypeScript or JavaScript: install, configure, present paywalls via placements, and restore purchases. ## Store setup - [Amazon Appstore Setup (Coming Soon)](https://billdog.io/docs/amazon-appstore-setup.md): Amazon Appstore purchase tracking is not supported in BillDog yet. There is nothing to configure today; this page explains what that means for your app. - [Apple App Store Setup](https://billdog.io/docs/app-store-setup.md): Connect App Store Connect to BillDog: In-App Purchase key, app identifiers, product sync, App Store Server Notifications and sandbox testing for iOS… - [Google Play Store Setup](https://billdog.io/docs/play-store-setup.md): Connect Google Play Console to BillDog: service account credentials, real-time developer notifications, product setup and testing Play Billing subscriptions. - [Roku Channel Store Setup (Coming Soon)](https://billdog.io/docs/roku-setup.md): Planned Roku Channel Store setup for BillDog. Roku Pay purchases are not supported yet; this page describes the setup that is coming. - [Virtual Currencies Setup Guide](https://billdog.io/docs/virtual-currencies-setup.md): Set up BillDog virtual currencies — prerequisites, the two scheduled edge functions, configuring cron jobs and expiration settings, and how balances are…