Skip to main content

Pre-Launch Landing Pages

Documentation for the Juniro pre-launch landing pages at juniro.com.


Overview

The landing pages capture parent waitlist signups and provider registrations before product launch. They integrate with analytics, email marketing, and referral systems.

PageURLPurpose
Parent Waitlistjuniro.comCapture parent interest
Provider Signupjuniro.com/providersCapture provider interest
Contactjuniro.com/contactContact form
Termsjuniro.com/termsTerms & Conditions
Privacyjuniro.com/privacyPrivacy Policy

Tech Stack

  • Repository: juniro-web-launch
  • Framework: Next.js 15, React 18, TypeScript
  • Styling: Tailwind CSS
  • Hosting: Vercel
  • Local Port: 4004

Integrations

ServicePurposeDashboard
PosthogAnalytics, event trackingapp.posthog.com
LoopsEmail marketing, welcome sequencesapp.loops.so
Viral LoopsReferral/waitlist programapp.viral-loops.com
ResendTransactional emails (contact form)resend.com

Workflows

Parent Waitlist Flow

juniro.com → Fill form → POST /api/waitlist

┌──────────────────────────────────────┐
│ │
Loops: Create contact Posthog: Track event
- userGroup: "parent" - event: "waitlist_signup"
- city, isLaunchCity - city, userType, interests
- interests │
│ │
└──────────────────────────────────────┘

Viral Loops: Get referral code

Redirect to /thank-you?ref=xxx

Provider Signup Flow

juniro.com/providers → Fill form → POST /api/waitlist

┌──────────────────────────────────────┐
│ │
Loops: Create contact Posthog: Track event
- userGroup: "provider" - event: "waitlist_signup"
- businessName, activityType - businessName, activityType
- city, isLaunchCity │
│ │
└──────────────────────────────────────┘

Viral Loops: Get referral code

Redirect to /providers/thank-you?ref=xxx

Contact Form Flow

/contact → Fill form → POST /api/contact

┌──────────────────────────────────────┐
│ │
Resend: Send email Posthog: Track event
- to: hello@juniro.com - event: "contact_form_submitted"
- from user's message │
│ │
└──────────────────────────────────────┘

Show success message

Data Tracked

Loops Contact Properties

PropertyDescription
userGroup"parent" or "provider"
citySelected city or custom "other" city
isLaunchCitytrue for Hyderabad/Atlanta, false otherwise
interestsParent's activity interests (comma-separated)
businessNameProvider's business name
activityTypeProvider's activity category

Posthog Events

EventProperties
waitlist_signupemail, userType, city, isLaunchCity, interests/businessName
contact_form_submittedname, email, message_length

Launch Cities

Initial launch markets:

  • Hyderabad, India
  • Atlanta, GA, USA

The "Other city" option captures demand from other locations to inform expansion decisions.


Environment Variables

Set these in Vercel → Settings → Environment Variables:

# Posthog - Analytics
NEXT_PUBLIC_POSTHOG_KEY=phc_xxx # Client-side tracking
POSTHOG_API_KEY=phc_xxx # Server-side events (same key)

# Loops - Email Marketing
LOOPS_API_KEY=xxx

# Viral Loops - Referral Program
VIRAL_LOOPS_API_KEY=xxx
VIRAL_LOOPS_CAMPAIGN_ID=xxx

# Resend - Contact Form Emails
RESEND_API_KEY=re_xxx

Testing Checklist

  • Parent waitlist form submits successfully
  • Provider signup form submits successfully
  • Contact in Loops with correct properties
  • Event in Posthog with correct data
  • Referral code generated by Viral Loops
  • Contact form sends email via Resend
  • "Other city" captures custom city name
  • Thank you pages display correctly

Post-Launch Plan

After product launch:

  • juniro-web-public takes over juniro.com
  • juniro-web-launch is archived or redirects to main site

For development details, see CLAUDE.md in the repository.