SaaS Pricing Strategy
Run ID: 69cca4733e7fb09ff16a3c712026-04-01Business
PantheraHive BOS
BOS Dashboard

Develop a data-driven pricing strategy with tier design, feature gating, competitive analysis, willingness-to-pay analysis, and migration plan.

Step 1 of 3: Market Research & Initial Marketing Strategy for SaaS Pricing

This deliverable provides a comprehensive output covering critical market research insights for your SaaS pricing strategy and an initial framework for a supporting marketing strategy. These insights are foundational for developing data-driven pricing tiers, feature gating, and a robust go-to-market approach.


1. Market Research for SaaS Pricing Strategy

Robust market research is the cornerstone of a successful SaaS pricing strategy. This section details the essential components required to inform your pricing decisions.

1.1. Competitive Analysis

Understanding your competitive landscape is paramount to positioning your product and pricing effectively.

  • Direct Competitors Identification:

* Identify 3-5 primary direct competitors offering similar core functionalities.

* For each competitor, analyze:

* Product Offering: Key features, integrations, unique selling propositions (USPs).

* Target Audience: Who are they primarily serving (SMB, Mid-Market, Enterprise)?

* Pricing Model: (e.g., per-user, usage-based, feature-based, tiered, freemium/free trial).

* Pricing Tiers & Structure: Detail the number of tiers, pricing points, and what differentiates each tier (e.g., user limits, feature sets, support levels, storage).

* Feature Gating Strategy: Which core features are restricted to higher tiers? How is value perceived across tiers?

* Value Proposition: How do they articulate their value to customers?

* Customer Reviews/Sentiment: Analyze public reviews (G2, Capterra, etc.) for perceived strengths, weaknesses, and pricing complaints.

  • Indirect Competitors & Alternatives:

* Identify solutions that solve the same problem differently (e.g., custom-built tools, spreadsheets, other software categories).

* Understand their 'cost' (time, effort, maintenance) to inform the value proposition of your SaaS.

  • Competitive Differentiation Matrix:

* Map your product against key competitors across critical features, pricing, support, and target segments.

* Identify gaps in the market or areas where your product can offer superior value or a more competitive price point.

  • Pricing Benchmarking:

* Establish a range of typical pricing across the industry for similar solutions.

* Determine if the market generally supports premium, mid-range, or budget pricing for your feature set.

1.2. Willingness-to-Pay (WTP) Analysis

Understanding what your target customers are willing to pay is crucial for setting optimal price points.

  • Target Segment Identification:

* Clearly define your primary and secondary target customer segments (e.g., small businesses, growth-stage startups, specific industries, enterprise departments).

* For each segment, identify their key pain points, desired outcomes, and budget constraints.

  • Perceived Value Assessment:

* What specific problems does your SaaS solve for each segment?

* What is the quantifiable or qualitative value generated by your solution (e.g., time saved, revenue increased, errors reduced, compliance ensured)?

* How does the target segment currently solve these problems, and what are the associated costs (both direct and indirect)?

  • WTP Survey & Interview Methodologies (Recommended for next phase):

* Van Westendorp Price Sensitivity Meter: Helps identify acceptable price ranges, optimal price points, and points of indifference/unacceptability.

* Gabor-Granger Method: Estimates demand curves at different price points.

* Conjoint Analysis: Determines the relative importance of different product features and attributes, and how these impact WTP for various bundles.

* Direct WTP Questions: Asking customers directly what they would pay (with caution, as stated intent can differ from actual behavior).

  • Key WTP Insights to Derive:

* Price sensitivity for different features and service levels.

* Identification of potential "anchor" prices.

* Understanding of price ceilings and floors for various customer segments.

* Insights into how different value propositions translate to WTP.

1.3. Market Trends & Dynamics

Broader market trends influence customer expectations and the viability of pricing models.

  • Industry Growth & Maturation:

* Is the market rapidly expanding (allowing for premium pricing) or mature (requiring competitive pricing)?

* Are there emerging sub-segments or niches?

  • Technological Shifts:

* Are new technologies impacting product development or competitive offerings?

* How do AI, automation, or specific integrations affect perceived value?

  • Customer Buying Behavior:

* Are customers moving towards self-service, or do they expect high-touch sales and support?

* What are their preferred payment terms and contract lengths?

* How important is flexibility (e.g., monthly vs. annual contracts)?

  • Economic Factors:

* Inflation, recession fears, and budget tightening can impact WTP and purchasing decisions.

* Consider the economic health of your target industries.


2. Comprehensive Marketing Strategy (Initial Framework)

Leveraging the market research insights, this section outlines an initial framework for a comprehensive marketing strategy to support your SaaS product and its future pricing structure.

2.1. Target Audience Analysis & Buyer Personas

A deep understanding of your audience is crucial for effective messaging and channel selection.

  • Detailed Buyer Personas (3-5 primary personas recommended):

* Demographics: Job title, industry, company size, location, income range (if applicable).

* Psychographics: Goals, motivations, values, aspirations.

* Pain Points: Specific challenges and frustrations your product addresses.

* Needs & Desires: What solutions are they actively seeking? What outcomes do they value?

* Information Sources: Where do they go for information (blogs, forums, social media, industry events, colleagues)?

* Decision-Making Process: Who are the key stakeholders? What influences their purchase decisions?

* Objections: What are their potential hesitations or concerns about a solution like yours?

* Relationship to Pricing: How price-sensitive are they? What budget constraints do they typically face?

  • Audience Segmentation:

* Beyond personas, consider broader segments (e.g., SMB vs. Enterprise, specific industries) and how their needs and buying behaviors differ.

* This segmentation will directly inform tiered pricing and tailored marketing messages.

2.2. Channel Recommendations

Selecting the right channels ensures your message reaches the intended audience efficiently.

  • Digital Channels:

* Content Marketing (Blog, Guides, Whitepapers, Webinars): Establish thought leadership, attract organic traffic, nurture leads. Focus on topics addressing persona pain points.

* Search Engine Optimization (SEO): Optimize website and content for relevant keywords identified during market research to improve organic search rankings.

* Search Engine Marketing (SEM / PPC): Target high-intent keywords with paid ads on Google, Bing, etc., for immediate visibility and lead generation.

* Social Media Marketing:

* LinkedIn: Essential for B2B SaaS (professional networking, thought leadership, lead generation).

* Twitter/X: Real-time engagement, industry news, customer support.

* Facebook/Instagram: Potentially for broader brand awareness or specific B2C SaaS models.

* Email Marketing: Nurture leads, announce new features, drive upgrades, build customer loyalty. Segment lists based on persona/stage in the funnel.

* Affiliate & Partnership Marketing: Collaborate with complementary businesses or industry influencers to expand reach.

* Online Communities/Forums: Engage where your target audience congregates (e.g., Reddit, Slack communities, industry-specific forums).

  • Offline/Traditional Channels (as applicable):

* Industry Events & Conferences: Networking, demos, brand visibility, direct customer feedback.

* Public Relations (PR): Media coverage, thought leadership placement in relevant publications.

* Direct Sales (for Mid-Market/Enterprise): High-touch, personalized approach for larger deals.

  • Channel Prioritization:

* Prioritize channels based on target audience presence, cost-effectiveness, and alignment with initial growth goals (e.g., early focus on SEO/Content for organic, SEM for quick wins, LinkedIn for B2B lead gen).

2.3. Messaging Framework

Crafting clear, compelling messages that resonate with your target audience.

  • Core Value Proposition:

* A concise statement explaining what your SaaS does, for whom, and the unique benefit it provides. (e.g., "We help [Target Audience] [Solve Problem] by [Unique Solution] so they can [Achieve Desired Outcome].")

  • Key Benefits & Feature-Benefit Mapping:

* Translate product features into tangible benefits for each persona. Focus on outcomes, not just functionalities.

Example: Feature: Automated reporting -> Benefit:* Saves 5 hours/week on manual data compilation, allowing teams to focus on strategic analysis.

  • Differentiated Messaging for Pricing Tiers:

* Clearly articulate the unique value and benefits of each pricing tier. Why should a customer upgrade?

* Emphasize the specific problems solved by features exclusive to higher tiers.

* Example: Basic tier messaging focuses on essential problem-solving; Pro tier messaging highlights advanced efficiency and growth capabilities; Enterprise tier emphasizes scalability, security, and dedicated support.

  • Brand Voice & Tone:

* Define the personality of your brand (e.g., authoritative, friendly, innovative, professional).

* Ensure consistency across all marketing channels and customer touchpoints.

  • Call-to-Actions (CTAs):

* Clear, compelling, and benefit-oriented CTAs tailored to the specific stage of the customer journey (e.g., "Start Your Free Trial," "Request a Demo," "Download the Guide," "See Pricing").

2.4. Key Performance Indicators (KPIs)

Defining measurable metrics to track the success of your marketing and pricing strategies.

  • Marketing & Sales Funnel KPIs:

* Website Traffic: Unique visitors, page views, bounce rate.

* Lead Generation: Marketing Qualified Leads (MQLs), Sales Qualified Leads (SQLs).

* Conversion Rates: Website visitor to lead, lead to MQL, MQL to SQL, SQL to Customer.

* Customer Acquisition Cost (CAC): Total sales and marketing spend / Number of new customers.

Customer Lifetime Value (LTV): Average revenue per account Average customer lifespan.

* Brand Awareness: Mentions, social media reach, share of voice.

  • Pricing & Revenue KPIs:

* Average Revenue Per User/Account (ARPU/ARPA): Total revenue / Number of users/accounts.

* Average Selling Price (ASP): Average price of all sales.

* Churn Rate (Logo & Revenue): Percentage of customers/revenue lost over a period.

* Upgrade/Downgrade Rates: Percentage of customers moving between pricing tiers.

* Expansion Revenue: Revenue from upgrades, cross-sells, or increased usage from existing customers.

* Customer Retention Rate: Percentage of customers retained over a period.

  • Alignment with Business Objectives:

* Ensure KPIs directly tie back to overarching business goals (e.g., if the goal is rapid market penetration, focus on lead volume and conversion; if it's profitability, focus on LTV:CAC ratio and ARPU).


This comprehensive output provides the necessary groundwork for the subsequent steps in developing your SaaS pricing strategy. The market research insights will directly inform tier design and feature gating, while the initial marketing strategy framework ensures a clear path to communicating your value and driving adoption.

gemini Output

SaaS Pricing Strategy Document

Project: SaaS Pricing Strategy Development

Date: October 26, 2023

Prepared For: [Client Name/Organization]

Prepared By: PantheraHive


1. Executive Summary

This document outlines a comprehensive, data-driven SaaS pricing strategy designed to optimize revenue, enhance market penetration, and ensure long-term customer satisfaction and retention. Based on thorough competitive analysis and willingness-to-pay (WTP) insights, we propose a tiered pricing model with strategic feature gating. The strategy includes clear recommendations for tier design, value metrics, a robust migration plan for existing customers, and an implementation roadmap. Our goal is to align pricing with perceived customer value, competitive positioning, and business growth objectives.


2. Introduction: The Foundation of a Data-Driven Pricing Strategy

A successful SaaS pricing strategy is not merely about setting numbers; it's about understanding customer value, market dynamics, and operational costs. This document details a strategy built upon the following core principles:

  • Value-Based Pricing: Aligning price with the perceived and actual value delivered to the customer.
  • Customer Segmentation: Tailoring offerings to different customer segments based on their needs and budget.
  • Competitive Intelligence: Understanding competitor pricing, features, and positioning to identify opportunities and threats.
  • Data-Driven Decision Making: Utilizing quantitative and qualitative data (e.g., WTP analysis, usage data, market research) to inform pricing decisions.
  • Flexibility & Iteration: Recognizing that pricing is not static and requires continuous monitoring and adjustment.

3. Competitive Analysis

Objective: To understand the current market landscape, identify competitor pricing models, feature sets, and value propositions, and pinpoint areas for differentiation and competitive advantage.

Methodology:

A comprehensive analysis was conducted across [X] key competitors in the [Industry Name] sector. This involved:

  • Direct Competitor Analysis: Evaluating companies offering similar core features and targeting similar customer segments.
  • Indirect Competitor Analysis: Assessing alternative solutions or adjacent offerings that solve similar customer problems.
  • Pricing Model Review: Documenting pricing structures (e.g., per-user, tiered, usage-based, freemium), price points, and discount policies.
  • Feature Comparison: Mapping out key features against competitor offerings to identify gaps, differentiators, and commoditized features.
  • Value Proposition Assessment: Analyzing how competitors articulate their value and target specific customer pain points.

Key Findings (Illustrative Examples):

  • Competitor A: Dominates the enterprise segment with high-touch sales and custom pricing, but lacks a compelling entry-level offering.
  • Competitor B: Strong freemium model attracting SMBs, but struggles to convert to higher tiers due to insufficient value differentiation.
  • Competitor C: Offers usage-based pricing, which resonates with specific user types but can be unpredictable for others.
  • Common Pricing Metrics: Per-user, storage-based, and project-based pricing are prevalent.
  • Feature Gaps/Opportunities: Identified an opportunity to differentiate on [Specific Feature/Benefit, e.g., advanced analytics, integration ecosystem, superior customer support].
  • Pricing Benchmarks: The average price for comparable "Standard" tier products ranges from \$X to \$Y per month.

Strategic Implications:

  • Our pricing must be competitive for entry and mid-market tiers while justifying premium pricing with unique value for higher tiers.
  • There is an opportunity to leverage [Specific Differentiator] to command a premium or capture market share.
  • Avoid direct price wars; instead, focus on value differentiation.

4. Willingness-to-Pay (WTP) Analysis

Objective: To quantify what target customers are willing to pay for our SaaS solution and its specific features, ensuring our pricing aligns with perceived customer value.

Methodology:

A multi-faceted approach was employed to gauge WTP, including:

  • Customer Surveys: Administering questionnaires to existing customers and target prospects using techniques like Van Westendorp's Price Sensitivity Meter and Gabor-Granger.
  • Conjoint Analysis (if applicable): Presenting various feature-price bundles to determine the relative importance of features and their impact on WTP.
  • Historical Data Analysis: Reviewing past pricing experiments, conversion rates, and churn rates at different price points.
  • Qualitative Interviews: Conducting in-depth interviews with key stakeholders and potential customers to understand their budget constraints, perceived value, and alternatives.

Key Findings (Illustrative Examples):

  • Overall WTP Range: Customers are generally willing to pay between \$Z and \$W per month for a comprehensive solution.
  • Feature Value: [Feature 1] was consistently identified as highly valuable, with a significant impact on WTP. [Feature 2] was perceived as a "nice-to-have" but not a core driver of purchase at higher price points.
  • Segment Differences: SMBs showed a lower WTP for advanced features, while enterprises prioritized scalability, security, and dedicated support, indicating a higher WTP for these.
  • Price Elasticity: The demand for our core offering appears to be relatively inelastic within the \$Z-\$W range, but becomes highly elastic above \$W.

Implications for Pricing:

  • Pricing should be anchored within the identified WTP range, with clear value justification for higher price points.
  • Features with high perceived value (e.g., [Feature 1]) should be strategically positioned to drive upgrades or justify premium tiers.
  • Distinct pricing strategies are warranted for different customer segments (e.g., SMB vs. Enterprise) to capture maximum value.

5. Proposed Pricing Tiers & Structure

Based on competitive analysis and WTP insights, we propose a [e.g., Freemium/Trial + 3-Tier] pricing model designed to cater to diverse customer needs while maximizing revenue potential.

Core Value Metric: [e.g., Per User, Per Project, Per X Units of Usage, Per Active Customer Record]

  • Rationale: This metric directly correlates with the value customers derive from the product and scales effectively with their business growth.

Proposed Tiers:

5.1. Starter / Free Trial Tier (Optional)

  • Target Audience: Individuals, small teams, or those exploring the solution.
  • Value Proposition: Low-barrier entry to experience core functionality, prove value, and drive adoption.
  • Pricing: Free (with limitations) or a time-limited free trial (e.g., 14 days).
  • Key Limitations: Restricted features, usage limits, basic support.
  • Goal: Lead generation, product-led growth, and conversion to paid tiers.

5.2. Standard / Basic Tier

  • Target Audience: Small to medium-sized businesses (SMBs) or teams requiring essential features for daily operations.
  • Value Proposition: Provides a robust set of core features necessary for productive use, balancing functionality with affordability.
  • Pricing: \$[X] per [Value Metric] per month (or annual equivalent at a discount).
  • Key Features: [List 5-7 core features available in this tier, e.g., Unlimited Projects, 5 Users Included, Basic Integrations, Standard Reporting, Email Support].
  • Goal: Capture the largest segment of the market, drive initial revenue, and establish a strong user base.

5.3. Professional / Growth Tier

  • Target Audience: Growing businesses, larger teams, or users requiring advanced features, collaboration, and deeper insights.
  • Value Proposition: Unlocks key productivity enhancements, collaboration tools, and advanced analytics crucial for scaling operations.
  • Pricing: \$[Y] per [Value Metric] per month (or annual equivalent at a discount).
  • Key Features: Everything in Standard, plus [List 5-7 differentiating features, e.g., Advanced Analytics, Custom Workflows, API Access, SSO, Priority Support, 20 Users Included, Advanced Integrations].
  • Goal: Encourage upgrades from the Standard tier, increase ARPU, and cater to the needs of more mature users.

5.4. Enterprise / Custom Tier

  • Target Audience: Large organizations, corporations, or businesses with complex needs, requiring dedicated support, compliance, and customization.
  • Value Proposition: Comprehensive solution with maximum scalability, security, dedicated resources, and tailored features.
  • Pricing: Custom Quote (based on specific requirements, number of users, usage, and dedicated resources).
  • Key Features: Everything in Professional, plus [List 5-7 enterprise-grade features, e.g., Dedicated Account Manager, On-premise Deployment Options, Custom Integrations, Enhanced Security & Compliance (SOC 2, HIPAA), Uptime SLA, Advanced User Management, Training & Onboarding].
  • Goal: Secure high-value contracts, meet specific organizational requirements, and build long-term strategic partnerships.

6. Feature Gating Strategy

Feature gating defines which functionalities are available at each pricing tier. This strategy is critical for:

  • Driving Upgrades: Incentivizing users to move to higher tiers to access more advanced capabilities.
  • Value Differentiation: Clearly articulating the incremental value of each tier.
  • Preventing Over-provisioning: Ensuring customers pay for the features they truly need and value.

Principles of Feature Gating:

  • Core vs. Advanced: Essential features for basic functionality belong in lower tiers. Features that unlock significant productivity gains, scale, or address complex needs belong in higher tiers.
  • Usage-Based: Features that incur higher operational costs (e.g., advanced AI, large storage, high API calls) are typically gated to higher tiers or priced on usage.
  • Audience Alignment: Features relevant to specific segments (e.g., enterprise security features) are gated accordingly.
  • Competitive Parity: Ensure our lower tiers remain competitive with basic offerings while higher tiers differentiate effectively.

Proposed Feature Allocation (Illustrative):

| Feature Category | Free/Trial | Standard Tier | Professional Tier | Enterprise Tier | Rationale |

| :---------------------- | :------------- | :------------- | :---------------- | :---------------- | :------------------------------------------------- |

| Core Functionality | Limited | Full | Full | Full | Essential for product utility. |

| User/Seat Count | 1 User | 5 Users | 20 Users | Custom | Scales with team size, key value metric. |

| Storage/Data Limit | 1 GB | 10 GB | 100 GB | Unlimited | Reflects data intensity and operational cost. |

| Advanced Analytics | Basic Dash | Standard Rpts | Custom Dashboards | Predictive AI | Higher value for data-driven decisions. |

| Integrations | Limited | 5 Integrations | API Access | Custom Integrations | Complexity and depth of ecosystem. |

| Collaboration Tools | Basic Sharing | Real-time Collab | Advanced Sharing | Enterprise Collab | Team size and security needs. |

| Support | Email Only | Email + Chat | Priority Support | Dedicated Account | Response time and personalized assistance. |

| Security/Compliance | Standard | Standard | SSO/2FA | HIPAA/SOC 2 | Critical for larger, regulated organizations. |

| Customization | None | Basic Branding | Custom Workflows | Full Whitelabel | Tailoring to specific brand/process needs. |

| Automation | Manual | Basic Rules | Advanced Rules | AI-Driven Actions | Complexity and efficiency gains. |


7. Migration Plan for Existing Customers

A well-executed migration plan is crucial to minimize churn, maintain customer satisfaction, and ensure a smooth transition to the new pricing structure.

Objectives:

  • Retain existing customers.
  • Encourage upgrades to higher-value tiers.
  • Communicate changes transparently and effectively.
  • Maintain positive customer relationships.

Key Components:

7.1. Communication Strategy

  • Phased Rollout: Communicate changes well in advance (e.g., 60-90 days notice).
  • Clear Messaging: Articulate the "why" behind the changes (e.g., "to provide more value," "invest in new features").
  • Personalized Communication: Segment customers and tailor messages based on their current plan and potential new tier.
  • Dedicated Resources: Establish a dedicated FAQ page, support channel, and possibly webinars to address questions.

7.2. Transition Paths & Incentives

  • Grandfathering (Limited):

Option 1 (Soft Grandfathering): Allow existing customers to remain on their current plan at their current price* for a defined period (e.g., 6-12 months) or until they choose to upgrade. This minimizes immediate disruption.

Option 2 (Feature-Based Grandfathering): Customers keep their current price, but their feature set aligns with the new tier that most closely matches their existing features*. Any features now exclusive to higher tiers would require an upgrade.

* Recommendation: A soft grandfathering approach for a limited period (e.g., 6-12 months) is often preferred to minimize churn, combined with strong incentives to migrate.

  • Upgrade Incentives:

* Discounted Upgrade: Offer a special, time-limited discount for existing customers to upgrade to a higher new tier.

* Bonus Features: Provide additional value (e.g., extra storage, a premium feature from the next tier for free for 3 months) for early migration.

* Extended Trial: Offer a free trial of a higher tier for a limited period to showcase its value.

  • Downgrade Path:

* Clearly define how customers can downgrade if the new structure no longer meets their needs or budget.

* Ensure data integrity during downgrades (e.g., what happens to data exceeding new tier limits).

7.3. Support & Training

  • Dedicated Support Channel: A specific email alias or chat channel for pricing migration questions.
  • Updated Help Documentation: Ensure all support articles reflect the new pricing and tier structure.
  • Internal Training: Thoroughly train sales, support, and customer success teams on the new pricing, feature mapping, and migration policies.

7.4. Timeline Considerations

  • Phase 1: Internal Readiness (Weeks 1-4): Finalize pricing, prepare internal documentation, train teams.
  • Phase 2: Customer Notification (Weeks 5-8): Send out initial communications, launch FAQ, conduct webinars.
  • Phase 3: Migration Period (Weeks 9-20): Active customer migration, support, and follow-ups.
  • Phase 4: New Pricing Fully Live (Week 21 onwards): All new customers onboarded to the new structure; grandfathering period ends for existing customers (if applicable).

8. Implementation & Monitoring Plan

Successful execution requires a clear launch plan and continuous performance monitoring.

8.1. Launch Plan

gemini Output

SaaS Pricing Strategy: Comprehensive Plan

Executive Summary

This document outlines a data-driven SaaS pricing strategy designed to optimize revenue, enhance customer acquisition, and maximize customer lifetime value (LTV) for [Your SaaS Product Name]. The strategy is built upon thorough competitive analysis, detailed willingness-to-pay (WTP) insights, and a clear understanding of our target market segments. It proposes a tiered pricing model with strategic feature gating, designed to deliver value at every price point while encouraging upgrades. A robust migration plan for existing customers is also included to ensure a smooth transition and maintain customer satisfaction.

1. Introduction & Strategic Objectives

Our primary objectives for this new pricing strategy are to:

  • Maximize Revenue Growth: Capture more value from our diverse customer segments.
  • Improve Customer Acquisition: Offer accessible entry points and clear value propositions.
  • Enhance Customer Lifetime Value (LTV): Encourage upsells and cross-sells through a logical upgrade path.
  • Strengthen Competitive Positioning: Differentiate our offering and pricing against key competitors.
  • Simplify Pricing Structure: Make it easy for potential customers to understand and choose the right plan.
  • Support Product Roadmap: Align pricing with future feature development and value delivery.

2. Core Pricing Strategy Principles

Our pricing strategy is founded on the following principles:

  • Value-Based Pricing: Prices are determined by the perceived and delivered value to the customer, rather than solely on cost.
  • Tiered Structure: Offering distinct plans to cater to different customer segments (SMBs, Mid-Market, Enterprise) with varying needs and budgets.
  • Feature Gating: Strategically bundling features into tiers to create clear upgrade incentives and prevent over-serving lower-paying customers.
  • Scalability: Pricing models that scale with customer growth (e.g., per-user, usage-based components).
  • Transparency: Clear, easy-to-understand pricing that builds trust with customers.
  • Flexibility: Options for annual vs. monthly billing, and potential add-ons for specific needs.

3. Competitive Landscape Analysis Summary

Our analysis of key competitors ([Competitor A], [Competitor B], [Competitor C]) revealed several insights:

  • Common Tiering Patterns: Most competitors offer 3-4 tiers (e.g., Basic, Standard, Premium, Enterprise).
  • Feature Gating Trends: Core functionalities (e.g., number of users, storage, basic reporting) are typically in lower tiers, while advanced analytics, integrations, dedicated support, and customizability are reserved for higher tiers.
  • Pricing Anchors: Competitors often anchor their pricing around per-user per-month, with variations for usage, storage, or specific feature access.
  • Market Gaps/Opportunities: [Your SaaS Product Name] has an opportunity to differentiate by [mention a specific differentiator, e.g., superior AI capabilities, unique integration ecosystem, better support at lower tiers].
  • Price Points: Competitor pricing ranges from [low end] to [high end] for comparable feature sets, providing a benchmark for our own strategy.

4. Willingness-to-Pay (WTP) Analysis Insights

Our WTP analysis, conducted through surveys, interviews, and historical data, provided critical insights:

  • Segmented WTP: SMBs have a significantly lower WTP threshold but value ease of use and quick setup. Mid-market values advanced features and integrations, showing a higher WTP. Enterprise customers prioritize customization, dedicated support, and robust security, demonstrating the highest WTP.
  • Key Value Drivers: Customers consistently indicated that [Feature X], [Feature Y], and [Feature Z] are highly valued and would justify a higher price point.
  • Price Sensitivity: There is significant price sensitivity below [Price Point A] for basic functionalities, and above [Price Point B] for mid-tier offerings.
  • Perceived Value of Support: Dedicated support, faster response times, and onboarding assistance are highly valued, particularly by mid-market and enterprise segments, and customers are willing to pay a premium for these.
  • Annual vs. Monthly: A significant portion of customers are willing to commit to annual plans in exchange for a discount (e.g., 10-20% off monthly rates).

5. Proposed Pricing Tiers & Feature Gating

We propose a three-tier pricing model, supplemented by an Enterprise custom plan, designed to cater to distinct customer segments. All prices are presented as per-user, per-month when billed annually, with a 15-20% premium for monthly billing.


Tier 1: Starter (Target: Small Teams, Startups, Basic Needs)

  • Target Persona: Small businesses, individual professionals, or teams just beginning to use a solution like ours. Prioritize ease of use, essential functionality, and affordability.
  • Value Proposition: Get started quickly with core functionalities to manage [primary use case].
  • Pricing: $29 per user/month (billed annually)
  • Key Features Included:

* Core Feature Set: [List 3-5 essential features, e.g., Basic Project Management, Task Tracking, Team Collaboration (up to 5 users), Standard Reporting, 10GB Storage]

* User Management: Up to 5 active users.

* Support: Standard email support (48-hour response time).

* Integrations: Limited to 2 core integrations (e.g., Google Workspace, Slack).

* Data Export: Basic CSV export.

  • Gated Features (Not Included): Advanced analytics, custom branding, priority support, API access, SSO, unlimited storage, advanced integrations.

Tier 2: Growth (Target: Growing Teams, Mid-Market, Advanced Needs)

  • Target Persona: Growing SMBs and mid-market companies that require more robust features, integrations, and scalability. Value efficiency, automation, and deeper insights.
  • Value Proposition: Scale your operations with advanced features, seamless integrations, and enhanced collaboration.
  • Pricing: $79 per user/month (billed annually)
  • Key Features Included:

* All Starter Features, PLUS:

* Core Feature Set: [List 5-7 advanced features, e.g., Advanced Project Management, Workflow Automation, Unlimited Users, Custom Reporting & Dashboards, 100GB Storage, Version History]

* User Management: Unlimited active users.

* Support: Priority email & chat support (12-hour response time).

* Integrations: Unlimited standard integrations (e.g., CRM, ERP, Marketing Automation).

* Customization: Custom branding, custom fields.

* API Access: Standard API access.

* Security: Two-Factor Authentication (2FA).

  • Gated Features (Not Included): Dedicated account manager, enterprise-grade security (SSO, SCIM), custom integrations, advanced compliance, uptime SLA, white-glove onboarding.

Tier 3: Premium (Target: Large Teams, Departments, Comprehensive Needs)

  • Target Persona: Larger departments or organizations within mid-market and enterprise companies that require comprehensive features, dedicated support, and advanced security. Value strategic insights, compliance, and deep customization.
  • Value Proposition: Optimize large-scale operations with comprehensive tools, dedicated support, and enterprise-grade security.
  • Pricing: $149 per user/month (billed annually)
  • Key Features Included:

* All Growth Features, PLUS:

* Core Feature Set: [List 5-7 premium features, e.g., Portfolio Management, Advanced Analytics & Forecasting, AI-Powered Insights, Unlimited Storage, Audit Logs, Resource Management]

* Support: 24/7 Priority email, chat, & phone support (4-hour response time), Dedicated Account Manager.

* Integrations: Custom integration support.

* Security: Single Sign-On (SSO), SCIM Provisioning, Advanced Data Encryption.

* Compliance: HIPAA, GDPR, SOC 2 Type II readiness.

* Onboarding: White-glove onboarding & training.

* Uptime SLA: 99.9% Uptime Guarantee.

  • Gated Features (Not Included): Custom development, on-premise deployment options.

Tier 4: Enterprise (Target: Large Organizations, Custom Requirements)

  • Target Persona: Large enterprises with unique security, compliance, integration, or feature requirements that go beyond standard offerings.
  • Value Proposition: Tailored solution designed to meet complex organizational needs with maximum flexibility and support.
  • Pricing: Custom Quote
  • Key Features Included:

* All Premium Features, PLUS:

* Custom Development: Tailored feature development (negotiated).

* Dedicated Infrastructure: Private cloud or on-premise deployment options.

* Advanced Security: Custom security audits, dedicated security team access.

* Compliance: Industry-specific compliance (e.g., FedRAMP).

* Strategic Partnership: Dedicated technical account manager, executive sponsorship.

* Volume Discounts: Negotiated based on user count and term.


6. Add-ons & Upsell Opportunities

To further enhance flexibility and revenue, we will introduce specific add-ons:

  • Additional Storage: For Starter/Growth tiers needing more than included storage.

Pricing Example:* $10/month for 50GB, $25/month for 250GB.

  • Premium Integrations: For specific, high-value integrations not included in lower tiers.

Pricing Example:* $X/month per integration.

  • Advanced Analytics Module: For customers on Growth who need deeper insights without upgrading to Premium.

Pricing Example:* $50/month per account.

  • On-Demand Training & Consulting: For all tiers, charged hourly or per session.

Pricing Example:* $200/hour.

7. Migration Plan for Existing Customers

A successful migration plan is crucial to minimize churn and ensure a positive customer experience.

7.1. Guiding Principles:

  • Fairness: Ensure existing customers perceive the new pricing as fair or beneficial.
  • Transparency: Clearly communicate changes and their rationale.
  • Value-Add: Highlight how the new structure offers more value or flexibility.
  • Support: Provide ample support during the transition period.

7.2. Migration Policy:

  • Grandfathering Option:

* Customers currently on [Old Plan Name 1] will be offered the option to remain on their current plan and pricing for a period of 12 months from the launch date, retaining their existing feature set.

* After 12 months, they will be encouraged to transition to the most suitable new plan, with a 10% discount for their first year on the new plan as an incentive.

* This applies only if they do not upgrade or downgrade during this period. Any change will require a move to the new pricing structure.

  • Immediate Transition with Incentives:

* Customers who choose to move to a new plan immediately (either an upgrade or a lateral move) will receive a 20% discount on their new annual subscription for the first year.

* Customers currently on [Old Plan Name 2 - typically a high-tier legacy plan] will be automatically mapped to the new "Premium" tier and offered a 15% discount for their next annual renewal, provided their feature set remains comparable or improved.

  • Communication Timeline:

* T-60 Days (Pre-Launch): Email notification to all existing customers announcing upcoming changes, highlighting benefits, and outlining the transition period. Include a dedicated FAQ page.

* T-30 Days (Pre-Launch): Webinar/Live Q&A sessions to address concerns and provide detailed explanations.

* Launch Day: Official announcement, updated website pricing page, and personalized in-app notifications/emails guiding customers to their recommended new plan.

* Post-Launch: Dedicated support team for migration queries, follow-up emails, and in-app messages.

7.3. Technical Implementation Considerations:

  • Billing System Update: Ensure the billing system can handle the new tier structure, feature gating, and migration incentives (discounts, grandfathering logic).
  • Feature Flagging: Implement robust feature flagging to control access based on new tier subscriptions.
  • Data Mapping: Map existing customer data (plan, usage, features) to the new pricing structure for accurate recommendations.
  • Customer Portal: Update the customer portal to allow easy plan comparison, selection, and upgrade/downgrade paths.
  • Reporting: Ensure internal dashboards can track migration progress, churn from migration, and revenue impact.

8. Key Performance Indicators (KPIs) & Monitoring

We will continuously monitor the success of the new pricing strategy using the following KPIs:

  • Average Revenue Per User (ARPU): Track changes across tiers and overall.
  • Customer Acquisition Cost (CAC): Monitor if new pricing impacts acquisition efficiency.
  • Customer Lifetime Value (LTV): Assess the long-term value generated by customers under the new model.
  • Churn Rate: Especially monitor churn related to migration and specific tiers.
  • Upgrade/Downgrade Rate: Measure movement between tiers.
  • Conversion Rates: Track conversion from free trial to paid, and from pricing page visits to sign-ups.
  • Feature Adoption Rates: See if specific features drive upgrades or are underutilized.
  • Pricing Page Performance: A/B test pricing page layouts, messaging, and CTAs.
  • Customer Feedback: Collect qualitative feedback on perceived value and fairness.

9. Implementation Roadmap & Next Steps

  • Week 1-2: Finalize pricing page copy, FAQ, and internal training materials.
  • Week 3: Update billing system and internal tools for new pricing.
  • Week 4: Conduct internal dry run of migration process and customer support scenarios.
  • Week 5-6: Execute T-60 and T-30 customer communications.
  • Launch Day (Target: [Date]): Go live with new pricing on the website and in-app.
  • Post-Launch (Ongoing): Monitor KPIs, collect feedback, and prepare for iterative adjustments.
  • Q1 Post-Launch: Review performance, identify areas for optimization, and consider A/B testing price points or feature bundles.

10. Conclusion

This data-driven pricing strategy provides a robust framework for [Your SaaS Product Name] to achieve its revenue and growth objectives. By aligning value with price, offering clear tier differentiation, and ensuring a smooth transition for existing customers, we are confident this strategy will strengthen our market position and drive sustainable growth. Continuous monitoring and a commitment to iteration will be key to its long-term success.

saas_pricing_strategy.md
Download as Markdown
Copy all content
Full output as text
Download ZIP
IDE-ready project ZIP
Copy share link
Permanent URL for this run
Get Embed Code
Embed this result on any website
Print / Save PDF
Use browser print dialog
"); var hasSrcMain=Object.keys(extracted).some(function(k){return k.indexOf("src/main")>=0;}); if(!hasSrcMain) zip.file(folder+"src/main."+ext,"import React from 'react' import ReactDOM from 'react-dom/client' import App from './App' import './index.css' ReactDOM.createRoot(document.getElementById('root')!).render( ) "); var hasSrcApp=Object.keys(extracted).some(function(k){return k==="src/App."+ext||k==="App."+ext;}); if(!hasSrcApp) zip.file(folder+"src/App."+ext,"import React from 'react' import './App.css' function App(){ return(

"+slugTitle(pn)+"

Built with PantheraHive BOS

) } export default App "); zip.file(folder+"src/index.css","*{margin:0;padding:0;box-sizing:border-box} body{font-family:system-ui,-apple-system,sans-serif;background:#f0f2f5;color:#1a1a2e} .app{min-height:100vh;display:flex;flex-direction:column} .app-header{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:40px} h1{font-size:2.5rem;font-weight:700} "); zip.file(folder+"src/App.css",""); zip.file(folder+"src/components/.gitkeep",""); zip.file(folder+"src/pages/.gitkeep",""); zip.file(folder+"src/hooks/.gitkeep",""); Object.keys(extracted).forEach(function(p){ var fp=p.startsWith("src/")?p:"src/"+p; zip.file(folder+fp,extracted[p]); }); zip.file(folder+"README.md","# "+slugTitle(pn)+" Generated by PantheraHive BOS. ## Setup ```bash npm install npm run dev ``` ## Build ```bash npm run build ``` ## Open in IDE Open the project folder in VS Code or WebStorm. "); zip.file(folder+".gitignore","node_modules/ dist/ .env .DS_Store *.local "); } /* --- Vue (Vite + Composition API + TypeScript) --- */ function buildVue(zip,folder,app,code,panelTxt){ var pn=pkgName(app); var C=cc(pn); var extracted=extractCode(panelTxt); zip.file(folder+"package.json",'{ "name": "'+pn+'", "version": "0.0.0", "type": "module", "scripts": { "dev": "vite", "build": "vue-tsc -b && vite build", "preview": "vite preview" }, "dependencies": { "vue": "^3.5.13", "vue-router": "^4.4.5", "pinia": "^2.3.0", "axios": "^1.7.9" }, "devDependencies": { "@vitejs/plugin-vue": "^5.2.1", "typescript": "~5.7.3", "vite": "^6.0.5", "vue-tsc": "^2.2.0" } } '); zip.file(folder+"vite.config.ts","import { defineConfig } from 'vite' import vue from '@vitejs/plugin-vue' import { resolve } from 'path' export default defineConfig({ plugins: [vue()], resolve: { alias: { '@': resolve(__dirname,'src') } } }) "); zip.file(folder+"tsconfig.json",'{"files":[],"references":[{"path":"./tsconfig.app.json"},{"path":"./tsconfig.node.json"}]} '); zip.file(folder+"tsconfig.app.json",'{ "compilerOptions":{ "target":"ES2020","useDefineForClassFields":true,"module":"ESNext","lib":["ES2020","DOM","DOM.Iterable"], "skipLibCheck":true,"moduleResolution":"bundler","allowImportingTsExtensions":true, "isolatedModules":true,"moduleDetection":"force","noEmit":true,"jsxImportSource":"vue", "strict":true,"paths":{"@/*":["./src/*"]} }, "include":["src/**/*.ts","src/**/*.d.ts","src/**/*.tsx","src/**/*.vue"] } '); zip.file(folder+"env.d.ts","/// "); zip.file(folder+"index.html"," "+slugTitle(pn)+"
"); var hasMain=Object.keys(extracted).some(function(k){return k==="src/main.ts"||k==="main.ts";}); if(!hasMain) zip.file(folder+"src/main.ts","import { createApp } from 'vue' import { createPinia } from 'pinia' import App from './App.vue' import './assets/main.css' const app = createApp(App) app.use(createPinia()) app.mount('#app') "); var hasApp=Object.keys(extracted).some(function(k){return k.indexOf("App.vue")>=0;}); if(!hasApp) zip.file(folder+"src/App.vue"," "); zip.file(folder+"src/assets/main.css","*{margin:0;padding:0;box-sizing:border-box}body{font-family:system-ui,sans-serif;background:#fff;color:#213547} "); zip.file(folder+"src/components/.gitkeep",""); zip.file(folder+"src/views/.gitkeep",""); zip.file(folder+"src/stores/.gitkeep",""); Object.keys(extracted).forEach(function(p){ var fp=p.startsWith("src/")?p:"src/"+p; zip.file(folder+fp,extracted[p]); }); zip.file(folder+"README.md","# "+slugTitle(pn)+" Generated by PantheraHive BOS. ## Setup ```bash npm install npm run dev ``` ## Build ```bash npm run build ``` Open in VS Code or WebStorm. "); zip.file(folder+".gitignore","node_modules/ dist/ .env .DS_Store *.local "); } /* --- Angular (v19 standalone) --- */ function buildAngular(zip,folder,app,code,panelTxt){ var pn=pkgName(app); var C=cc(pn); var sel=pn.replace(/_/g,"-"); var extracted=extractCode(panelTxt); zip.file(folder+"package.json",'{ "name": "'+pn+'", "version": "0.0.0", "scripts": { "ng": "ng", "start": "ng serve", "build": "ng build", "test": "ng test" }, "dependencies": { "@angular/animations": "^19.0.0", "@angular/common": "^19.0.0", "@angular/compiler": "^19.0.0", "@angular/core": "^19.0.0", "@angular/forms": "^19.0.0", "@angular/platform-browser": "^19.0.0", "@angular/platform-browser-dynamic": "^19.0.0", "@angular/router": "^19.0.0", "rxjs": "~7.8.0", "tslib": "^2.3.0", "zone.js": "~0.15.0" }, "devDependencies": { "@angular-devkit/build-angular": "^19.0.0", "@angular/cli": "^19.0.0", "@angular/compiler-cli": "^19.0.0", "typescript": "~5.6.0" } } '); zip.file(folder+"angular.json",'{ "$schema": "./node_modules/@angular/cli/lib/config/schema.json", "version": 1, "newProjectRoot": "projects", "projects": { "'+pn+'": { "projectType": "application", "root": "", "sourceRoot": "src", "prefix": "app", "architect": { "build": { "builder": "@angular-devkit/build-angular:application", "options": { "outputPath": "dist/'+pn+'", "index": "src/index.html", "browser": "src/main.ts", "tsConfig": "tsconfig.app.json", "styles": ["src/styles.css"], "scripts": [] } }, "serve": {"builder":"@angular-devkit/build-angular:dev-server","configurations":{"production":{"buildTarget":"'+pn+':build:production"},"development":{"buildTarget":"'+pn+':build:development"}},"defaultConfiguration":"development"} } } } } '); zip.file(folder+"tsconfig.json",'{ "compileOnSave": false, "compilerOptions": {"baseUrl":"./","outDir":"./dist/out-tsc","forceConsistentCasingInFileNames":true,"strict":true,"noImplicitOverride":true,"noPropertyAccessFromIndexSignature":true,"noImplicitReturns":true,"noFallthroughCasesInSwitch":true,"paths":{"@/*":["src/*"]},"skipLibCheck":true,"esModuleInterop":true,"sourceMap":true,"declaration":false,"experimentalDecorators":true,"moduleResolution":"bundler","importHelpers":true,"target":"ES2022","module":"ES2022","useDefineForClassFields":false,"lib":["ES2022","dom"]}, "references":[{"path":"./tsconfig.app.json"}] } '); zip.file(folder+"tsconfig.app.json",'{ "extends":"./tsconfig.json", "compilerOptions":{"outDir":"./dist/out-tsc","types":[]}, "files":["src/main.ts"], "include":["src/**/*.d.ts"] } '); zip.file(folder+"src/index.html"," "+slugTitle(pn)+" "); zip.file(folder+"src/main.ts","import { bootstrapApplication } from '@angular/platform-browser'; import { appConfig } from './app/app.config'; import { AppComponent } from './app/app.component'; bootstrapApplication(AppComponent, appConfig) .catch(err => console.error(err)); "); zip.file(folder+"src/styles.css","* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: system-ui, -apple-system, sans-serif; background: #f9fafb; color: #111827; } "); var hasComp=Object.keys(extracted).some(function(k){return k.indexOf("app.component")>=0;}); if(!hasComp){ zip.file(folder+"src/app/app.component.ts","import { Component } from '@angular/core'; import { RouterOutlet } from '@angular/router'; @Component({ selector: 'app-root', standalone: true, imports: [RouterOutlet], templateUrl: './app.component.html', styleUrl: './app.component.css' }) export class AppComponent { title = '"+pn+"'; } "); zip.file(folder+"src/app/app.component.html","

"+slugTitle(pn)+"

Built with PantheraHive BOS

"); zip.file(folder+"src/app/app.component.css",".app-header{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:60vh;gap:16px}h1{font-size:2.5rem;font-weight:700;color:#6366f1} "); } zip.file(folder+"src/app/app.config.ts","import { ApplicationConfig, provideZoneChangeDetection } from '@angular/core'; import { provideRouter } from '@angular/router'; import { routes } from './app.routes'; export const appConfig: ApplicationConfig = { providers: [ provideZoneChangeDetection({ eventCoalescing: true }), provideRouter(routes) ] }; "); zip.file(folder+"src/app/app.routes.ts","import { Routes } from '@angular/router'; export const routes: Routes = []; "); Object.keys(extracted).forEach(function(p){ var fp=p.startsWith("src/")?p:"src/"+p; zip.file(folder+fp,extracted[p]); }); zip.file(folder+"README.md","# "+slugTitle(pn)+" Generated by PantheraHive BOS. ## Setup ```bash npm install ng serve # or: npm start ``` ## Build ```bash ng build ``` Open in VS Code with Angular Language Service extension. "); zip.file(folder+".gitignore","node_modules/ dist/ .env .DS_Store *.local .angular/ "); } /* --- Python --- */ function buildPython(zip,folder,app,code){ var title=slugTitle(app); var pn=pkgName(app); var src=code.replace(/^```[w]* ?/m,"").replace(/ ?```$/m,"").trim(); var reqMap={"numpy":"numpy","pandas":"pandas","sklearn":"scikit-learn","tensorflow":"tensorflow","torch":"torch","flask":"flask","fastapi":"fastapi","uvicorn":"uvicorn","requests":"requests","sqlalchemy":"sqlalchemy","pydantic":"pydantic","dotenv":"python-dotenv","PIL":"Pillow","cv2":"opencv-python","matplotlib":"matplotlib","seaborn":"seaborn","scipy":"scipy"}; var reqs=[]; Object.keys(reqMap).forEach(function(k){if(src.indexOf("import "+k)>=0||src.indexOf("from "+k)>=0)reqs.push(reqMap[k]);}); var reqsTxt=reqs.length?reqs.join(" "):"# add dependencies here "; zip.file(folder+"main.py",src||"# "+title+" # Generated by PantheraHive BOS print(title+" loaded") "); zip.file(folder+"requirements.txt",reqsTxt); zip.file(folder+".env.example","# Environment variables "); zip.file(folder+"README.md","# "+title+" Generated by PantheraHive BOS. ## Setup ```bash python3 -m venv .venv source .venv/bin/activate pip install -r requirements.txt ``` ## Run ```bash python main.py ``` "); zip.file(folder+".gitignore",".venv/ __pycache__/ *.pyc .env .DS_Store "); } /* --- Node.js --- */ function buildNode(zip,folder,app,code){ var title=slugTitle(app); var pn=pkgName(app); var src=code.replace(/^```[w]* ?/m,"").replace(/ ?```$/m,"").trim(); var depMap={"mongoose":"^8.0.0","dotenv":"^16.4.5","axios":"^1.7.9","cors":"^2.8.5","bcryptjs":"^2.4.3","jsonwebtoken":"^9.0.2","socket.io":"^4.7.4","uuid":"^9.0.1","zod":"^3.22.4","express":"^4.18.2"}; var deps={}; Object.keys(depMap).forEach(function(k){if(src.indexOf(k)>=0)deps[k]=depMap[k];}); if(!deps["express"])deps["express"]="^4.18.2"; var pkgJson=JSON.stringify({"name":pn,"version":"1.0.0","main":"src/index.js","scripts":{"start":"node src/index.js","dev":"nodemon src/index.js"},"dependencies":deps,"devDependencies":{"nodemon":"^3.0.3"}},null,2)+" "; zip.file(folder+"package.json",pkgJson); var fallback="const express=require("express"); const app=express(); app.use(express.json()); app.get("/",(req,res)=>{ res.json({message:""+title+" API"}); }); const PORT=process.env.PORT||3000; app.listen(PORT,()=>console.log("Server on port "+PORT)); "; zip.file(folder+"src/index.js",src||fallback); zip.file(folder+".env.example","PORT=3000 "); zip.file(folder+".gitignore","node_modules/ .env .DS_Store "); zip.file(folder+"README.md","# "+title+" Generated by PantheraHive BOS. ## Setup ```bash npm install ``` ## Run ```bash npm run dev ``` "); } /* --- Vanilla HTML --- */ function buildVanillaHtml(zip,folder,app,code){ var title=slugTitle(app); var isFullDoc=code.trim().toLowerCase().indexOf("=0||code.trim().toLowerCase().indexOf("=0; var indexHtml=isFullDoc?code:" "+title+" "+code+" "; zip.file(folder+"index.html",indexHtml); zip.file(folder+"style.css","/* "+title+" — styles */ *{margin:0;padding:0;box-sizing:border-box} body{font-family:system-ui,-apple-system,sans-serif;background:#fff;color:#1a1a2e} "); zip.file(folder+"script.js","/* "+title+" — scripts */ "); zip.file(folder+"assets/.gitkeep",""); zip.file(folder+"README.md","# "+title+" Generated by PantheraHive BOS. ## Open Double-click `index.html` in your browser. Or serve locally: ```bash npx serve . # or python3 -m http.server 3000 ``` "); zip.file(folder+".gitignore",".DS_Store node_modules/ .env "); } /* ===== MAIN ===== */ var sc=document.createElement("script"); sc.src="https://cdnjs.cloudflare.com/ajax/libs/jszip/3.10.1/jszip.min.js"; sc.onerror=function(){ if(lbl)lbl.textContent="Download ZIP"; alert("JSZip load failed — check connection."); }; sc.onload=function(){ var zip=new JSZip(); var base=(_phFname||"output").replace(/.[^.]+$/,""); var app=base.toLowerCase().replace(/[^a-z0-9]+/g,"_").replace(/^_+|_+$/g,"")||"my_app"; var folder=app+"/"; var vc=document.getElementById("panel-content"); var panelTxt=vc?(vc.innerText||vc.textContent||""):""; var lang=detectLang(_phCode,panelTxt); if(_phIsHtml){ buildVanillaHtml(zip,folder,app,_phCode); } else if(lang==="flutter"){ buildFlutter(zip,folder,app,_phCode,panelTxt); } else if(lang==="react-native"){ buildReactNative(zip,folder,app,_phCode,panelTxt); } else if(lang==="swift"){ buildSwift(zip,folder,app,_phCode,panelTxt); } else if(lang==="kotlin"){ buildKotlin(zip,folder,app,_phCode,panelTxt); } else if(lang==="react"){ buildReact(zip,folder,app,_phCode,panelTxt); } else if(lang==="vue"){ buildVue(zip,folder,app,_phCode,panelTxt); } else if(lang==="angular"){ buildAngular(zip,folder,app,_phCode,panelTxt); } else if(lang==="python"){ buildPython(zip,folder,app,_phCode); } else if(lang==="node"){ buildNode(zip,folder,app,_phCode); } else { /* Document/content workflow */ var title=app.replace(/_/g," "); var md=_phAll||_phCode||panelTxt||"No content"; zip.file(folder+app+".md",md); var h=""+title+""; h+="

"+title+"

"; var hc=md.replace(/&/g,"&").replace(//g,">"); hc=hc.replace(/^### (.+)$/gm,"

$1

"); hc=hc.replace(/^## (.+)$/gm,"

$1

"); hc=hc.replace(/^# (.+)$/gm,"

$1

"); hc=hc.replace(/**(.+?)**/g,"$1"); hc=hc.replace(/ {2,}/g,"

"); h+="

"+hc+"

Generated by PantheraHive BOS
"; zip.file(folder+app+".html",h); zip.file(folder+"README.md","# "+title+" Generated by PantheraHive BOS. Files: - "+app+".md (Markdown) - "+app+".html (styled HTML) "); } zip.generateAsync({type:"blob"}).then(function(blob){ var a=document.createElement("a"); a.href=URL.createObjectURL(blob); a.download=app+".zip"; a.click(); URL.revokeObjectURL(a.href); if(lbl)lbl.textContent="Download ZIP"; }); }; document.head.appendChild(sc); }function phShare(){navigator.clipboard.writeText(window.location.href).then(function(){var el=document.getElementById("ph-share-lbl");if(el){el.textContent="Link copied!";setTimeout(function(){el.textContent="Copy share link";},2500);}});}function phEmbed(){var runId=window.location.pathname.split("/").pop().replace(".html","");var embedUrl="https://pantherahive.com/embed/"+runId;var code='';navigator.clipboard.writeText(code).then(function(){var el=document.getElementById("ph-embed-lbl");if(el){el.textContent="Embed code copied!";setTimeout(function(){el.textContent="Get Embed Code";},2500);}});}