PostHog Handbook Library / Marketing

253 words. Estimated reading time: 2 min.

Campaigns and coupons

We run promotional campaigns with partners (e.g., newsletters, influencers) that offer exclusive benefits to their audiences via coupon codes.

How it works

  1. Campaign setup: Campaigns are created in Billing Admin with a strategy defining what benefits are granted (e.g., free addons, increased limits, credits)
  2. Code distribution: Coupon codes are exported as CSV and shared with the partner for distribution to their audience
  3. Redemption: Users visit /coupons/{campaign-slug} to redeem their code (requires paid PostHog subscription)
  4. Expiration: Benefits can automatically expire after the campaign period (e.g., 12 months)

Onboarding flow integration

When new users sign up via a campaign link (e.g., posthog.com/signup?next=/coupons/lenny), they're shown the coupon redemption page early in onboarding:

  1. User signs up with ?next=/coupons/lenny query param
  2. After signup, they're redirected to /onboarding/coupons/lenny instead of directly to /coupons/lenny
  3. They can claim the coupon or skip and continue to product setup
  4. After claiming/skipping, they proceed to the normal onboarding flow (use-case selection or products page)

This ensures new users see the coupon offer before diving into product configuration.

Note: Existing (already onboarded) users bypass this and go directly to /coupons/:campaign.

Example: Lenny's Newsletter

When launched, our partnership with Lenny's Newsletter offered their annual subscribers:

Redemption page: /coupons/lenny

Creating a new campaign

For technical implementation details, see the internal billing docs.

Canonical URL: https://posthog.com/handbook/marketing/campaigns-and-coupons

GitHub source: contents/handbook/marketing/campaigns-and-coupons.md

Content hash: 941bef8cb62700f9