← View All Guides
Mixpanel logo
Integration Guide

How to Build Referral Cohorts in Mixpanel with GrowSurf

Use GrowSurf referral events in Mixpanel cohorts to separate new participants, active sharers, and converted referrals.

Want the full setup walkthrough?

Use these docs for exact setup steps, supported fields, and troubleshooting.

GrowSurf's Mixpanel integration sends referral events into Mixpanel and identifies both referrers and referred friends by email. If Mixpanel is already installed on your site, GrowSurf avoids loading the library twice.

Once that event stream is live, Mixpanel cohorts give you a clean way to group people by referral behavior, compare those groups in later reports, and keep your analysis tied to real GrowSurf activity instead of guessed campaign tags.

Integration Steps

Connect Mixpanel in GrowSurf before you start analyzing

GrowSurf Mixpanel integration settings with project token field
Connect the Mixpanel integration in GrowSurf first so the referral event stream has a stable source of truth.

In GrowSurf, open Campaign Editor > 4. Options > Integrations, open the Mixpanel card, and enter your Mixpanel project token if needed. If you already run Mixpanel everywhere the referral flow happens, the token is optional, but GrowSurf still recommends adding it so URLs without Mixpanel installed do not get missed.

Confirm the GrowSurf event family is reaching Mixpanel

Mixpanel Events view showing GrowSurf referral events
Validate the incoming GrowSurf events in Mixpanel before you turn them into cohorts.

GrowSurf emits five core Mixpanel events: growsurf_signup, growsurf_share, growsurf_invite, growsurf_referral, and growsurf_referral_trigger. Whitelist the referral portal URL and the referred-friend landing page in Mixpanel, then allow up to 15 minutes for new events to appear.

Turn the event stream into useful referral cohorts

  • Create a cohort of participants who joined the program but never shared by starting from growsurf_signup and excluding people with growsurf_share.
  • Create a cohort of active advocates based on repeated growsurf_share or growsurf_invite activity.
  • Create a cohort of converted referrals by focusing on referred friends who reached growsurf_referral_trigger instead of only signing up.

Those cohorts become the reusable audience layer you can compare inside Mixpanel analysis later.

Inspect one participant before saving your cohort logic

Mixpanel user profile showing GrowSurf event details
Check one real participant profile in Mixpanel so you know the cohort rules match the actual referral history.

Open a known participant in Mixpanel and verify the email identity, event order, and event names against the same person in GrowSurf. That is the fastest way to catch bad assumptions before a cohort powers dashboards or alerts.

Use those cohorts in downstream Mixpanel reports

Once the cohort definitions are correct, compare them in Mixpanel reports such as funnels, retention views, or other saved analyses. This is where you can separate first-time sharers from proven referrers and see whether converted referrals behave differently from the rest of your users.

Tips

Keep the cohort logic event-based first

Build the first version of each cohort from the GrowSurf event names that you can verify in Mixpanel. Add extra Mixpanel properties only after the core referral grouping is correct.

Check both sides of the referral journey

Mixpanel can show referrer-side events and referred-friend events in the same project, so build cohorts for both roles instead of only tracking shares from existing users.

FAQ

Which GrowSurf events matter most for Mixpanel cohorts?

The main events are growsurf_signup, growsurf_share, growsurf_invite, growsurf_referral, and growsurf_referral_trigger. Those events let you separate people who joined, shared, referred friends, and completed a qualifying referral.

Do I need a separate data sync to build Mixpanel cohorts?

No. This guide is based on GrowSurf's native Mixpanel integration. Once the integration is connected and the events are visible in Mixpanel, you can build cohorts directly from that event stream.

Why should I inspect an individual user before publishing a cohort?

Because one user profile confirms that the email identity and event order in Mixpanel match the participant record in GrowSurf. That check catches the most common setup errors before they spread into saved analysis.

Set up your refer a friend program with customer referral and affiliate program software that lowers your acquisition costs, increases customer loyalty, and saves you gobs of time.

Trusted by marketing and product teams at fast-growing B2C, fintech, and SaaS companies