Trials

Set up and manage trial periods for your customers.

Trial Overview

Trials allow customers to try your service before committing to a paid plan.

Trial Types

Free Trial

Full access for a limited time:

javascript
{ type: 'free', duration: 14, // days features: 'all' }

Limited Trial

Access to specific features:

javascript
{ type: 'limited', duration: 30, features: ['basic', 'standard'] }

Trial Configuration

Setting Up Trials

javascript
const trial = { name: '14-day-free-trial', duration: 14, startDate: 'immediate', // or specific date autoConvert: true, conversionPlan: 'pro' };

Trial Limits

Set limits during trial:

javascript
{ limits: { apiCalls: 1000, storage: '1GB', users: 5 } }

Trial Management

Starting a Trial

javascript
await startTrial({ customerId: 'customer123', trialPlan: 'free-trial' });

Converting Trials

Automatically convert to paid:

javascript
{ autoConvert: true, conversionDate: 'trial-end', notificationDays: [7, 3, 1] }

Trial Analytics

Track trial performance:

  • Trial sign-ups
  • Conversion rates
  • Trial completion rates
  • Feature usage during trials

Best Practices

  • Set appropriate trial durations
  • Provide value during trials
  • Send conversion reminders
  • Track trial metrics
  • Optimize conversion flow

Is this page helpful?