:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
feat(billing): add Product Academy coupon page (#74542)
Marce Collc651f87905ff
diff --git a/frontend/src/scenes/coupons/campaigns/index.ts b/frontend/src/scenes/coupons/campaigns/index.tsindex ccaf486f7d24..82adf56f29cc 100644--- a/frontend/src/scenes/coupons/campaigns/index.ts+++ b/frontend/src/scenes/coupons/campaigns/index.ts@@ -1,8 +1,10 @@import { everyCampaign } from './every'import { lennyCampaign } from './lenny'+import { productAcademyCampaign } from './productAcademy'import { CampaignConfig } from './types'export const campaignConfigs: Record<string, CampaignConfig> = {every: everyCampaign,lenny: lennyCampaign,+ 'product-academy': productAcademyCampaign,}diff --git a/frontend/src/scenes/coupons/campaigns/productAcademy.tsx b/frontend/src/scenes/coupons/campaigns/productAcademy.tsxnew file mode 100644index 000000000000..42c22bd6ecb6--- /dev/null+++ b/frontend/src/scenes/coupons/campaigns/productAcademy.tsx@@ -0,0 +1,22 @@+import { CampaignConfig } from './types'++export const productAcademyCampaign: CampaignConfig = {+ name: 'Product Academy giveaway',+ heroTitle: 'Get $100 in PostHog credit',+ heroSubtitle: 'A Product Academy birthday giveaway',+ benefits: [+ {+ title: '$100 in PostHog credit',+ description: 'Use the credit toward future PostHog invoices after you activate billing.',+ },+ {+ title: 'No expiration date',+ description: 'Redeem your code whenever you are ready to move beyond the free tier.',+ },+ ],+ eligibilityCriteria: [+ 'A valid code from the Product Academy giveaway',+ 'Organization admin or owner in PostHog',+ 'An active PostHog subscription with a payment method',+ ],+}