Skip to content

Update Superwall Events table to match current SDKs - #264

Merged
DreamingInBinary merged 1 commit into
mainfrom
claude/update-events-table
Aug 13, 2026
Merged

Update Superwall Events table to match current SDKs#264
DreamingInBinary merged 1 commit into
mainfrom
claude/update-events-table

Conversation

@claude

@claude claude Bot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Requested by Jordan Morgan · Slack thread

Before / After

Before: The "Superwall Events" page (shared across the iOS, Android, Flutter, Expo, and React Native docs) was missing about two dozen events the current SDKs actually track — most notably paywall_page_view, which fires when a user views a page in a multi-page paywall. A customer asking "which event tells me a paywall screen was presented?" couldn't find the answer on this page. Several rows also listed event names that don't match what the SDKs emit (e.g. the docs said configRefresh, restoreStart, and surveyClose, while the SDKs send config_refresh, restore_start, and survey_close), so searching an analytics destination for the documented name would come up empty.

After: The table lists every event tracked by the current iOS (4.16.2) and Android (2.8.1) SDKs under the exact raw name each SDK emits, including paywall_page_view with its page-navigation parameters, and the newer paywall event parameters (presentation_id, close_reason, cache_key, build_id, and friends) on the paywall_close family of events.

How

Compared the table in content/shared/3rd-party-analytics/tracking-analytics.mdx (hand-maintained, included into all five per-SDK "Superwall Events" pages) against the event definitions in the SDK source: SuperwallEvent.swift / SuperwallEventObjc.swift / TrackableSuperwallEvent.swift / PaywallInfo.swift in Superwall-iOS, and SuperwallEvents.kt / TrackableSuperwallEvent.kt / PaywallInfo.kt in Superwall-Android. Added the missing rows (attribution_match, customerInfo_didChange, enrichment_*, integration_attributes, networkDecoding_fail, paywall_page_view, paywallPreload_*, paywallProductsLoad_missingProducts, paywallResourceLoad_fail, paywallWebviewLoad_timeout, permission_*, redemption_*, review_requested, stripeCheckout_*, testModeModal_*), corrected the mis-named rows to the raw event strings, updated parameter lists where the source showed different keys (e.g. error_message instead of error), and re-alphabetized the table. Events declared in an SDK but never tracked (Android's review_granted/review_denied) were deliberately left out. Prose outside the table is untouched. Verified with bun install, bun run build, and bun test (64 pass, 0 fail).


Generated by Claude Code

Add paywall_page_view and other events tracked by the current iOS and
Android SDKs (attribution_match, stripeCheckout_*, redemption_*,
enrichment_*, permission_*, paywallPreload_*, testModeModal_*,
paywallWebviewLoad_timeout, paywallProductsLoad_missingProducts,
paywallResourceLoad_fail, review_requested, customerInfo_didChange,
integration_attributes, networkDecoding_fail).

Correct event names to the raw values the SDKs emit (e.g. config_refresh,
restore_start, shimmerView_start, survey_close, identity_alias,
adServicesTokenRequest_*) and add the newer paywall event parameters
(presentation_id, close_reason, cache_key, build_id, and friends).
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
superwall-docs 165c612 Commit Preview URL

Branch Preview URL
Aug 13 2026, 06:26 PM

@DreamingInBinary
DreamingInBinary marked this pull request as ready for review August 13, 2026 18:34
@DreamingInBinary
DreamingInBinary merged commit 9b40da2 into main Aug 13, 2026
2 checks passed
@DreamingInBinary
DreamingInBinary deleted the claude/update-events-table branch August 13, 2026 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants