Getting StartedSolveBuildIntelligenceLearnHelpWhat's New
RECIPES

Lead Gen

Recipe for building a lead generation landing page in Rocket.new with capture forms, email nurture sequences, CRM tracking, and conversion analytics.

A high-converting lead generation site with a polished landing page, embedded lead capture forms, automated email nurture sequences, CRM tracking in Airtable, and analytics to measure every step of the funnel. Visitors land on the page, fill out a form, enter an email drip campaign, and get tracked as leads through your pipeline.

By the end of this recipe you will have a production-ready lead generation system that you can customize for any product, service, or offer.

Tech stack

You do not need to understand these technologies. Rocket handles them automatically. This table is for reference.
ServiceRole
Next.js + TypeScriptFrontend framework and API routes
Typeform or TallyLead capture forms with conditional logic
Mailchimp or BrevoEmail marketing, drip campaigns, and subscriber management
AirtableLightweight CRM for tracking leads through your pipeline
Google AnalyticsTraffic analytics, conversion tracking, and campaign attribution
NetlifyProduction deployment, hosting, and A/B testing with split branches

Architecture overview

Here is how the pieces connect:

  1. A visitor arrives on the landing page from an ad, social post, or search result.
  2. The visitor fills out a lead capture form (powered by Typeform or Tally) embedded on the page.
  3. When the form is submitted, a webhook sends the lead data to an API route in Next.js.
  4. The API route creates a new record in Airtable (your CRM) with the lead's name, email, source, and status.
  5. The same API route adds the lead to a Mailchimp or Brevo audience and enrolls them in an automated email nurture sequence.
  6. Google Analytics tracks the form submission as a conversion event, along with the traffic source and UTM parameters.
  7. The entire site is deployed to Netlify with support for A/B testing different landing page variants.

How long does it take?

PhaseWhat you are buildingEstimated time
SetupProject, landing page5 minutes
CaptureForms, email marketing5-10 minutes
TrackingCRM, analytics5-10 minutes
OptimizationA/B testing5 minutes
LaunchDeployUnder 5 minutes
TotalComplete lead gen site25-35 minutes

Step-by-step build

Open rocket.new and create a new project. Give Rocket a detailed description of the landing page so it scaffolds a high-converting layout from the start.

Build a lead generation landing page called "GrowthKit" using Next.js and TypeScript. The page should have: a hero section with a bold headline, subheadline, and a call-to-action button that scrolls to the form, a social proof section with logos of companies or testimonials, a benefits section with 3-4 feature cards explaining the value proposition, a detailed "How it works" section with 3 steps, a testimonials carousel, a lead capture section with a form and a compelling offer (like a free guide or consultation), and a FAQ accordion. Use a modern, conversion-focused design with a bold color scheme (dark background hero, white content sections, bright CTA buttons). Make it fully responsive.

Landing pages live or die by their first impression. Be specific about the hero section, social proof, and CTA placement in your first prompt so Rocket nails the layout.

Refine each section of the landing page to maximize conversions. Focus on clear messaging, strong visuals, and a single call to action.

Improve the landing page sections:
- Hero: Add a gradient background, a large headline like "Grow your business with proven strategies", a subheadline explaining the offer, and a bright CTA button ("Get Your Free Guide"). Add a small trust badge below the button like "Join 5,000+ marketers".
- Social proof: Show a row of 5-6 grayscale company logos with the text "Trusted by teams at" above them.
- Benefits: Create 4 feature cards with icons, each explaining a key benefit. Use clear, outcome-focused copy.
- How it works: Show 3 numbered steps with icons explaining the process (1. Sign up, 2. Get the guide, 3. Implement and grow).
- Testimonials: Add a carousel with 3 testimonial cards, each with a quote, name, title, company, and headshot.
- FAQ: Add 5-6 common questions in an accordion component.
- Sticky CTA: Add a floating call-to-action button that appears when the user scrolls past the hero section.

Embed a lead capture form that collects visitor information and triggers your automation pipeline.

Add a lead capture form to the landing page:
- Embed a Typeform or Tally form in the lead capture section. The form should collect: first name, email address, company name (optional), and "What is your biggest challenge?" (dropdown with 4-5 options).
- Style the form to match the landing page design. If using Tally, use the embedded mode for a seamless look.
- Add a Typeform/Tally webhook that fires on form submission and sends the data to a Next.js API route at /api/leads.
- On successful submission, show a thank-you message with a link to download the free guide (or redirect to a thank-you page).
- Add a secondary form in the hero section that collects just the email address for quick signups, then redirects to the full form or thank-you page.

Tally offers unlimited forms on its free tier and supports webhooks. Typeform has a more polished form experience with conditional logic but limits submissions on the free plan.

Set up automated email sequences to nurture leads after they submit the form.

Connect Mailchimp (or Brevo) for email marketing:
- In the /api/leads API route, add the new lead to a Mailchimp audience (or Brevo contact list) using the API. Tag the lead with the source page and their selected challenge.
- Set up a 5-email welcome/nurture sequence in Mailchimp:
Email 1 (immediate): Welcome and deliver the free guide download link
Email 2 (day 2): Share a relevant case study or success story
Email 3 (day 4): Provide an actionable tip related to their challenge
Email 4 (day 7): Introduce your product or service with social proof
Email 5 (day 10): Final call to action with a limited-time offer or consultation booking link
- Add an unsubscribe link in every email to comply with email regulations.

Write all five emails before activating the sequence. Test the full flow with your own email address to check formatting, links, and timing between emails.

Use Airtable as a lightweight CRM to track leads through your sales pipeline.

Connect Airtable and set up lead tracking:
- Create an Airtable base called "Lead Pipeline" with a table called "Leads" containing these fields: Name (text), Email (email), Company (text), Challenge (single select), Source (text, from UTM parameters), Status (single select: New, Contacted, Qualified, Converted, Lost), Submitted At (date), Notes (long text), Email Sequence Status (single select: Not Started, In Progress, Completed)
- In the /api/leads API route, create a new Airtable record for every form submission with the lead's data and UTM source.
- Set the initial status to "New" for all incoming leads.
- Create Airtable views for each pipeline stage so you can quickly see which leads need follow-up.

Airtable's free tier supports up to 1,000 records per base, which is enough for early-stage lead generation. Upgrade when your volume grows.

Connect Google Analytics to measure traffic sources, form submissions, and overall conversion rates.

Connect Google Analytics (GA4) and add conversion tracking:
- Add the GA4 measurement script to the landing page
- Track these events:
page_view: automatic on page load
cta_click: when the user clicks any call-to-action button
form_start: when the user begins filling out the form
form_submit: when the form is successfully submitted (this is your primary conversion event)
thank_you_page_view: when the user reaches the thank-you page
- Set up the form_submit event as a conversion in the GA4 dashboard
- Add UTM parameter capture: read utm_source, utm_medium, and utm_campaign from the URL and pass them to the API route so they are stored in Airtable
- Create a funnel report in GA4: page_view > cta_click > form_start > form_submit to measure drop-off at each stage

Test different versions of the landing page to find the highest-converting variant.

Add A/B testing support:
- Create two variants of the hero section: Variant A with the current headline, and Variant B with an alternative headline and different CTA button color
- Use Netlify's split testing feature (branch-based A/B testing) to route 50% of traffic to each variant
- Track which variant each visitor sees by adding a custom dimension in Google Analytics (variant_id: "A" or "B")
- Include the variant ID in the form submission data so you can measure conversion rate per variant in Airtable
- After collecting enough data (at least 100 conversions per variant), pick the winner and make it the default

Only test one element at a time (headline, CTA color, form length) so you can attribute conversion differences to a specific change. Testing too many things at once makes it hard to draw conclusions.

Go to Integrations and connect Netlify, then deploy your landing page to the web.

Use the Launch button in your Rocket project to deploy to the web. Rocket handles the Netlify build configuration automatically. Make sure all required environment variables are set in your project's integration settings before launching.

After deploying, test the entire funnel end to end: visit the page from a link with UTM parameters, submit the form, verify the lead appears in Airtable, confirm the welcome email arrives, and check that the conversion event shows up in Google Analytics.

Customization ideas

Once the base lead generation site is running, here are ways to extend it.

Troubleshooting

On this page