Posthog

Send funnel, quiz, and revenue data directly to your PostHog project.

The PostHog integration allows you to track user behavior across your funnels and analyze performance inside PostHog.

Once enabled, Zellify automatically reports funnel interaction, lead capture, and payment events to PostHog, allowing you to:

  • Analyze funnel progression and drop-offs

  • Segment users based on quiz answers

  • Build behavioral cohorts

  • Track revenue and subscription performance

  • Keep all product and funnel analytics in one place

If PostHog is your primary analytics tool, this integration ensures your funnel data stays fully synced.


Enabling the Integration

To enable PostHog:

Dashboard → Settings → Integrations https://dash.zellify.app/settings?tab=integrationsarrow-up-right

  1. Locate PostHog

  2. Toggle the integration on

  3. Enter your PostHog Project API Key

  4. Select your Region (US or EU)


Generating Your PostHog Project API Key

To find your API key in PostHog:

  1. Go to your PostHog Dashboard

  2. Navigate to Project Settings

  3. Locate the Project API Key (starts with phc_)

  4. Copy the key

  5. Paste it into Zellify


Data Sent to PostHog

When the integration is enabled, Zellify automatically sends funnel interaction, lead capture, and payment events to PostHog.

Below is a breakdown of what data you will receive.


Funnel Interaction Events

Zellify sends events as users move through your funnel, including:

  • z:page_completed

  • z:email_captured

These events allow you to:

  • Track user progression between steps

  • Identify drop-off points

  • Analyze performance per funnel


Funnel Answers

User responses are sent to PostHog in two ways.

On z:page_completed

  • All answers from the completed page are included as event properties

  • The same answers are also stored as PostHog person properties

This allows you to:

  • Segment users based on specific answers

  • Build cohorts using quiz responses

  • Analyze behavior by answer combinations

On z:email_captured

  • All collected funnel answers (including metadata) are included in the answers property

This ensures you have the full quiz context once a user becomes identified.


User Identification

When the z:email_captured event fires:

  • The user’s email is set as their PostHog distinct ID

This ties all future events to the identified user, enabling accurate user-level analysis and cohort building.


Revenue & Subscription Events

Zellify sends checkout and subscription lifecycle events, including:

  • z:checkout_presented

  • z:payment_method_added

  • z:payment_succeeded

  • z:payment_failed

  • z:trial_started

  • z:subscription_started

These events provide full visibility into the checkout and subscription journey.


Revenue Events

When z:payment_succeeded fires:

  • A z:revenue event is sent to PostHog

The event includes the following properties:

  • revenue

  • currency

  • product_id

  • price_id

  • quantity

  • revenue_type

  • payment_type

  • product_name

  • category

This allows you to:

  • Analyze conversion rates

  • Break down revenue by product

  • Measure subscription performance

  • Build revenue-based cohorts


Automatic Tracking Features

When connected, the PostHog SDK is automatically loaded on your funnel pages.

PostHog’s default tracking features are enabled according to your project settings. These typically include:

  • Autocapture (clicks, inputs, page views)

  • Session recording

  • Web vitals

  • Page view tracking

To adjust what is captured automatically, configure these options directly in your PostHog project settings.


Settings

When connecting the integration, you can configure:

  • Region (US or EU)

Make sure the selected region matches your PostHog project region.

Last updated