: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(coupons): add Every Goodie Bag campaign page (#57151)
Pawel Cebula00ec5687afcf
diff --git a/frontend/src/scenes/coupons/campaigns/every.tsx b/frontend/src/scenes/coupons/campaigns/every.tsxnew file mode 100644index 000000000000..204b7fc2a085--- /dev/null+++ b/frontend/src/scenes/coupons/campaigns/every.tsx@@ -0,0 +1,49 @@+import { IconX } from '@posthog/icons'++import { Logo } from 'lib/brand/Logo'++import { CampaignConfig } from './types'++const EVERY_LOGO_BLACK = 'https://res.cloudinary.com/dmukukwp6/image/upload/every_black_d4ba0c3a4d.svg'+const EVERY_LOGO_WHITE = 'https://res.cloudinary.com/dmukukwp6/image/upload/every_white_438ee9fa45.svg'+// TODO: Keep this date in sync with EveryGoodieBagStrategy.INVOICE_CUTOFF_DATE in billing.+const EVERY_CREDIT_ELIGIBILITY_CUTOFF = 'July 14, 2026'++const EveryHero: React.FC = () => {+ return (+ <div className="flex items-center justify-center gap-3 mb-4">+ <Logo style={{ height: '3rem' }} />+ <IconX className="size-8 opacity-60" />+ <img src={EVERY_LOGO_BLACK} alt="Every" className="h-8 w-auto [filter:brightness(0)] dark:hidden" />+ <img src={EVERY_LOGO_WHITE} alt="Every" className="hidden h-8 w-auto dark:block" />+ </div>+ )+}++export const everyCampaign: CampaignConfig = {+ name: 'Every Goodie Bag',+ heroTitle: '5x your free PostHog AI credits for 12 months',+ heroSubtitle: 'An exclusive PostHog offer for Every Goodie Bag annual subscribers',+ HeroImage: EveryHero,+ benefits: [+ {+ title: '5x PostHog AI credits',+ description: 'Get 5x the standard monthly free allowance for PostHog AI after redeeming your code.',+ },+ {+ title: '$2K credits to spend across PostHog products*',+ description: `Organizations without paid invoices before ${EVERY_CREDIT_ELIGIBILITY_CUTOFF} also receive $2K in PostHog credits.`,+ },+ {+ title: '12-month access',+ description: 'Campaign benefits run for one year from the day you redeem your code.',+ },+ ],+ eligibilityCriteria: [+ 'Active Every Goodie Bag annual subscriber',+ 'Organization admin or owner in PostHog',+ 'Active paid subscription to PostHog',+ `Organizations already paying before ${EVERY_CREDIT_ELIGIBILITY_CUTOFF} receive the PostHog AI benefit only`,+ ],+ footerNote: <span className="text-xs">*Excludes PostHog Code.</span>,+}diff --git a/frontend/src/scenes/coupons/campaigns/index.ts b/frontend/src/scenes/coupons/campaigns/index.tsindex 43610ae1c32c..ccaf486f7d24 100644--- a/frontend/src/scenes/coupons/campaigns/index.ts+++ b/frontend/src/scenes/coupons/campaigns/index.ts@@ -1,6 +1,8 @@+import { everyCampaign } from './every'import { lennyCampaign } from './lenny'import { CampaignConfig } from './types'export const campaignConfigs: Record<string, CampaignConfig> = {+ every: everyCampaign,lenny: lennyCampaign,}