Waitlist Feature Overview
PreLaunch includes a powerful waitlist collection feature that helps you gather email addresses from potential users before your product officially launches, allowing you to build an initial user base. This feature offers:- Clean, conversion-optimized form design
- Email confirmation notifications through Resend
- Prevention of duplicate submissions
- Integration with Supabase database
- Analytics tracking
- Customizable styles and messaging
Implementation Methods
PreLaunch’s waitlist functionality is implemented using the TypeformWaitlist component:Configuring the Waitlist
Basic Configuration
- Ensure the necessary environment variables are set in your
.env.localfile:
Customizing the Waitlist Form
You can customize the waitlist form by editing thecomponents/landing/TypeformWaitlist.tsx component:
Data Storage
User-submitted email addresses are stored in your Supabase database:Supabase Schema
The waitlist data is stored in awaitlist table with the following structure:
Backend Implementation
The waitlist feature uses a dedicated API endpoint for handling submissions:User Confirmation Emails
PreLaunch sends confirmation emails after users register for the waitlist using Resend:components/emails/WaitlistConfirmationEmail.tsx and can be customized as needed.
Frequently Asked Questions
How do I export waitlist user data?
How do I export waitlist user data?
You can export user data through the Supabase Console, or use the
getWaitlistUsers function provided in libs/supabase/waitlist.ts to create an admin API for data retrieval.How do I modify the waitlist styling?
How do I modify the waitlist styling?
You can customize the styling by editing the
TypeformWaitlist.tsx component, or by using Tailwind CSS classes to adjust the appearance.Can I add additional fields to the waitlist form?
Can I add additional fields to the waitlist form?
Yes, you can customize the
TypeformWaitlist component to include additional fields. You would also need to update the Supabase table schema and the API endpoint to handle the additional fields.