Documentation
Onboarding guide
Get from zero to live analytics in minutes: installation, custom events, SaaS metrics, AI observability, and session replay.
Onboarding guide
For SaaS companies: Track product-led growth metrics like Time to First Value (TTFV), activation rate, Product Qualified Leads (PQLs), trial conversion, and churn risk.
Track time from signup to "aha moment"
Auto-score users showing buying intent (above 85 = high intent)
Monitor free-to-paid and trial-to-paid rates
Get early warnings when users show disengagement
Use WysLeap.trackEvent(eventName, eventData) in your app. Event names and payloads below match what the SaaS/PLG dashboard expects for TTFV, activation, PQL, conversion, and Feature Usage.
When a user creates an account.
WysLeap.trackEvent('signup', {
signupSource: 'organic', // or 'direct', 'paid', 'referral' (auto-derived from referrer/UTM if omitted)
signupMethod: 'email' // or 'google', 'github', 'sso'
});Improves activation and TTFV accuracy.
WysLeap.trackEvent('onboarding_start');
// … when user completes onboarding …
WysLeap.trackEvent('onboarding_complete');Fire when the user reaches your product's "activation" (e.g. first report, first project). Use activation or aha_moment.
WysLeap.trackEvent('activation', {
activationMilestone: 'first_report_created'
});
// or
WysLeap.trackEvent('aha_moment', { activationMilestone: 'first_export' });WysLeap.trackEvent('trial_start', {
trialPlanTier: 'pro',
trialDuration: 14
});
WysLeap.trackEvent('trial_converted', {
planTier: 'pro',
billingCycle: 'monthly',
mrr: 99
});Fire when the user uses a product feature (e.g. opens a key screen or completes a key action). Use a stable featureName per feature. Optional featureCategory: core, advanced, analytics, or integration. Powers the Feature Usage table and Power User / Underutilized views.
WysLeap.trackEvent('feature_used', {
featureName: 'advanced_reporting',
featureCategory: 'advanced'
});WysLeap.trackEvent('team_member_invited');
WysLeap.trackEvent('team_member_joined');Fire on successful login to improve engagement and churn risk metrics.
WysLeap.trackEvent('login');For churn risk and cancellation analytics.
WysLeap.trackEvent('cancellation_flow_started');
WysLeap.trackEvent('cancellation_completed');PLG lifecycle:
signup · onboarding_start · onboarding_complete · activation · aha_moment · trial_start · trial_converted · upgrade
Feature & team:
feature_used (eventData: featureName, featureCategory) · team_member_invited · team_member_joined
Engagement & churn:
login · logout · cancellation_flow_started · cancellation_completed
Once you've added these events, navigate to Analytics → SaaS / PLG to see:
feature_used events)Learn how to track AI quality, task completion, and user satisfaction with AI Observability.