PostHog integration

PostHog shows what people do in your product. Send each landing page lead in as an event with the campaign on it, and you can follow the paid click into signups, activation and revenue.

  • Webhook
  • Landing pages, Quiz funnels, Workflows (beta, by HTTP Request)

Why connect it

Why PostHog and LanderLab

  • Leads and product usage in one place

    The lead event sits in the same project as signups and feature use, so one funnel runs from the form to activation.

  • Person profiles from the first form

    Email, name and the first landing page are set on the person, so the profile starts with how they found you.

  • Funnels broken down by campaign

    UTMs and the A/B variant ride on every lead event, so any insight can be split by ad set or by variant.

  • No secret key needed

    PostHog's capture endpoint takes the project token in the request body, the same public token its browser snippet uses.

  • No connector, no Zap

    The webhook calls PostHog's API directly, from LanderLab's server, with nothing to pay for in between.

PostHog on your landing pages

Most PostHog projects start at signup, which means the ad that brought the user in is a guess. LanderLab's webhook moves the start line back to the ad. Each lead is posted to PostHog's capture endpoint as an event, with the form's answers, the page, the UTMs and the visitor's IP as properties, and the person's email and name set on their profile.

It's for product-led teams that buy traffic: SaaS trials, apps with a waitlist, marketplaces recruiting supply. When the lead and the product usage share a person in PostHog, the funnel from ad to activation is one report, not a spreadsheet.

Landing page leads as PostHog events

Each submit becomes a "Lead submitted" event in PostHog with the form's fields and quiz answers as properties. PostHog's own properties are filled too: the page as $current_url and the visitor's IP as $ip, so location comes from the person, not from LanderLab's server.

PostHog's capture endpoints are public and write-only, and its project token is meant to be shared, so posting from a webhook needs no secret key at all.

Person properties from the form

Inside the event, $set writes the email and the name to the person's profile, and $set_once keeps the first landing page they converted on, even if they submit again later. If your app identifies users by the same email, the lead and everything the user does in the product belong to one person.

Funnels that start at the ad

With utm_source, utm_campaign and the A/B variant on the lead event, a PostHog funnel can begin at the landing page and end at the action that matters to you: first project created, first invoice sent, plan upgraded. Break it down by campaign and you see which ad sets bring users who activate, not just users who sign up.

That's the test LanderLab can't run on its own: its reports judge a variant on leads, and PostHog extends the judgment to what those leads do next.

Only the leads worth tracking, with Workflows

Not every submit belongs in product analytics. A Workflow can sit between the page and PostHog: a Filter that passes only completed quizzes, an If that keeps test leads out, then an HTTP Request node that posts the event. The Runs view shows each lead's path, so a send that failed is visible instead of silently missing from a funnel.

Use cases

Ways to use PostHog on paid traffic

  • 01

    A SaaS free trial on Google Ads

    A trial page sends each signup to PostHog with the campaign and the keyword's ad group. The funnel from lead to first project shows two ad groups bring trials that never activate, and their budget moves.

  • 02

    An app waitlist on TikTok

    A pre-launch quiz collects emails and use cases. Each lead lands in PostHog as a person with their answers, ready to be invited by cohort when the app opens.

  • 03

    A marketplace recruiting suppliers

    Contractor sign-up pages on Meta feed PostHog, where the team tracks how many leads complete a profile and take a first job, by campaign.

FAQ

PostHog integration FAQ

Anything not here, ask us.

PostHog and LanderLab

Does LanderLab integrate with PostHog?

Yes, through the page's Webhook integration: it posts each lead to PostHog's capture API as an event, with person properties set from the form.

Do I need Zapier to send leads to PostHog?

No. The webhook calls PostHog's capture endpoint directly.

Will PostHog see my UTMs?

Yes. Hidden fields capture them from the ad's URL, and they're sent as properties on every lead event.

Can I send quiz answers to PostHog?

Yes, as event properties, or as person properties with $set.

Does it work with PostHog's EU cloud?

Yes. PostHog has US and EU endpoints, and the webhook posts to the one your project lives in.

Should I connect PostHog to my landing pages?

Yes, if your product already runs on PostHog and you buy traffic. It's the way to judge campaigns and variants on activation instead of on leads alone.

Other integrations

Plug in the rest of your stack.

Connect PostHog and launch your next page.

Build the page, switch PostHog on and send your ads to it. Free to start, no card.

From one prompt to qualified leads

Watch one prompt become a live solar quote funnel, every lead routed to your buyer, and the leaks flagged before they eat your budget.

0:00
0:59