Back to Prompts
iOS App Monetization Strategy Analyzer
iOSMonetizationRevenueCatApp ArchitectureSwift
Added: January 5, 2026•Difficulty: Advanced•Works with: ChatGPT, Claude
Description
Comprehensive analysis framework for iOS app monetization with Mermaid diagrams, feature gating architecture, and implementation mapping.
The Prompt
Task
I want to understand and visualize the monetization strategy for my iOS application. Please analyze my codebase and create comprehensive Mermaid diagrams that show:
1. User Journey Flow
- How users move from onboarding through free trial to paid subscription
- When and where paywalls appear
- Trial expiration and conversion paths
2. Feature Gating Architecture
- Which features are FREE vs PREMIUM
- How feature access is checked in the code
- Which files/components implement the gating logic
3. Paywall Trigger Points
- All locations where the paywall is displayed
- User actions that trigger the paywall
- The logic behind each trigger
4. Purchase & Restore Flow
- Complete purchase flow using my payment SDK
- How subscription state is managed
- Restore purchases flow
5. Feature Implementation Status
- Current monetization coverage across all features
- Features that ARE properly gated
- Features that are NOT YET gated (need implementation)
6. Code Implementation Map
- Table with file paths and line numbers showing where gating logic exists
- Links to relevant code sections
7. State Management
- How subscription state flows through the app
- State transitions (free → trial → paid → expired)
Deliverables
Please create:
- A comprehensive markdown document with all diagrams
- Clear identification of what's working vs what needs implementation
- Specific code examples for implementing missing paywall integrations
- A summary of the monetization architecture
Additional Context About My App
Platform: iOS Payment SDK: [RevenueCat / StoreKit / Other] Free tier includes: [list your free features] Premium tier includes: [list your premium features] Trial period: [e.g., 7 days] Pricing: [e.g., $29.99/year, $4.99/month]
Code Analysis Requirements
Please provide:
Mermaid Diagrams
graph TD
A[User Journey] --> B[Onboarding]
B --> C[Free Trial]
C --> D[Paywall Trigger]
D --> E[Purchase Flow]
E --> F[Premium Access]
Implementation Status Table
| Feature | Status | File Location | Gated By |
|---|---|---|---|
| [Feature 1] | ✅ Implemented | Path/To/File.swift | RevenueCat |
| [Feature 2] | ❌ Missing | Need Implementation | N/A |
Code Examples
Provide Swift code examples for:
- Feature gating implementation
- Paywall presentation
- Subscription state checking
- Purchase flow integration
Please also identify any features that should be gated but currently aren't.
How to Use
1. Copy the prompt
2. Fill in the 'Additional Context' section with your app specifics
3. Provide access to your iOS codebase (paste relevant files or use AI tool's file upload)
4. Run in your AI tool
5. Review the generated diagrams and implementation guide
How to Customize
• Specify your payment SDK (RevenueCat, StoreKit 2, etc.)
• Add your specific feature list and pricing tiers
• Include your app's subscription model details
• Add any custom state management you use
• Specify if you have A/B testing for paywalls
• Include analytics/tracking requirements
Expected Outcome
Comprehensive monetization analysis including:
- Visual Mermaid diagrams of user flows and architecture
- Complete feature gating implementation map
- Code examples for missing integrations
- Clear status of what's implemented vs what needs work
- Actionable implementation roadmap
Pro Tips
For best results, provide access to key files: subscription manager, paywall views, feature flags, and main app flow. Include your RevenueCat/StoreKit configuration. Mention any existing analytics or A/B testing setup. The more context about your app structure, the more accurate the analysis will be.