Skip to content

: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.

chore(ci): prune redundant playwright e2e specs (#71342)

Georges-Antoine Assi63dec86dcae1
diff --git a/frontend/src/lib/components/TaxonomicFilter/taxonomicFilterLogic.test.ts b/frontend/src/lib/components/TaxonomicFilter/taxonomicFilterLogic.test.ts
index b92eca325093..50ba7b6be1f0 100644
--- a/frontend/src/lib/components/TaxonomicFilter/taxonomicFilterLogic.test.ts
+++ b/frontend/src/lib/components/TaxonomicFilter/taxonomicFilterLogic.test.ts
@@ -1469,6 +1469,36 @@ describe('taxonomicFilterLogic', () => {
expect(onChange).toHaveBeenCalledWith(group, 'properties.$current_url', item)
})
})
+
+ describe('event feature flag properties are a separate group from event properties', () => {
+ let splitLogic: ReturnType<typeof taxonomicFilterLogic.build>
+
+ beforeEach(() => {
+ splitLogic = taxonomicFilterLogic({
+ taxonomicFilterLogicKey: 'eventFeatureFlagsSplit',
+ taxonomicGroupTypes: [
+ TaxonomicFilterGroupType.EventProperties,
+ TaxonomicFilterGroupType.EventFeatureFlags,
+ ],
+ })
+ splitLogic.mount()
+ })
+
+ afterEach(() => {
+ splitLogic.unmount()
+ })
+
+ const isFeatureFlagParam = (endpoint: string | undefined): string | null =>
+ new URLSearchParams((endpoint ?? '').split('?')[1] ?? '').get('is_feature_flag')
+
+ it.each([
+ { groupType: TaxonomicFilterGroupType.EventFeatureFlags, expected: 'true' },
+ { groupType: TaxonomicFilterGroupType.EventProperties, expected: 'false' },
+ ])('$groupType endpoint filters is_feature_flag=$expected', ({ groupType, expected }) => {
+ const group = splitLogic.values.taxonomicGroups.find((g) => g.type === groupType)
+ expect(isFeatureFlagParam(group?.endpoint)).toBe(expected)
+ })
+ })
})
describe('redistributeTopMatches', () => {
diff --git a/frontend/src/scenes/billing/BillingLimit.test.tsx b/frontend/src/scenes/billing/BillingLimit.test.tsx
new file mode 100644
index 000000000000..d50f69a9833f
--- /dev/null
+++ b/frontend/src/scenes/billing/BillingLimit.test.tsx
@@ -0,0 +1,108 @@
+/* oxlint-disable react-hooks/rules-of-hooks -- useMocks is a test helper, not a React hook */
+import '@testing-library/jest-dom'
+
+import { act, cleanup, render, screen } from '@testing-library/react'
+import userEvent from '@testing-library/user-event'
+import { Provider } from 'kea'
+import { expectLogic } from 'kea-test-utils'
+
+import { billingJson } from '~/mocks/fixtures/_billing'
+import { useMocks } from '~/mocks/jest'
+import { initKeaTests } from '~/test/init'
+import { BillingProductV2Type, BillingType } from '~/types'
+
+import { BillingLimit } from './BillingLimit'
+import { billingLogic } from './billingLogic'
+
+// Zero out current/projected usage so submitting never triggers the below-usage warning
+// dialog — this test is about the Save/Remove button wiring, not that branch.
+const makeProduct = (): BillingProductV2Type => ({
+ ...(billingJson.products.find((p) => p.type === 'product_analytics') as BillingProductV2Type),
+ subscribed: true,
+ inclusion_only: false,
+ current_amount_usd: null,
+ projected_amount_usd: null,
+})
+
+describe('BillingLimit', () => {
+ let patchedBody: any = null
+ let billingState: BillingType
+
+ const seedBilling = async (customLimits: BillingType['custom_limits_usd']): Promise<void> => {
+ billingState = { ...billingJson, custom_limits_usd: customLimits }
+ useMocks({
+ get: { '/api/billing': () => [200, billingState] },
+ patch: {
+ '/api/billing': async ({ request }) => {
+ patchedBody = await request.json()
+ // Persist the change like the backend does so the reload after save renders the new limit.
+ billingState = {
+ ...billingState,
+ custom_limits_usd: { ...billingState.custom_limits_usd, ...patchedBody.custom_limits_usd },
+ }
+ return [200, billingState]
+ },
+ },
+ })
+ billingLogic.mount()
+ await expectLogic(billingLogic, () => billingLogic.actions.loadBilling()).toFinishAllListeners()
+ }
+
+ beforeEach(() => {
+ initKeaTests()
+ patchedBody = null
+ })
+
+ afterEach(async () => {
+ cleanup()
+ await act(async () => {
+ await new Promise((r) => setTimeout(r, 0))
+ })
+ document.querySelectorAll('body > div:not(#root)').forEach((el) => el.remove())
+ })
+
+ // $0 is a real limit (drop all usage), not "no limit" — it must survive the save/reload
+ // round-trip and render, which the billingProductLogic selector test alone can't prove.
+ it.each([
+ { entered: '2000', savedLimit: 2000, renderedAmount: '$2,000' },
+ { entered: '0', savedLimit: 0, renderedAmount: '$0' },
+ ])(
+ 'saving a limit ($entered) PATCHes it under custom_limits_usd and renders the saved value',
+ async ({ entered, savedLimit, renderedAmount }) => {
+ await seedBilling({})
+ render(
+ <Provider>
+ <BillingLimit product={makeProduct()} />
+ </Provider>
+ )
+
+ await userEvent.click(await screen.findByText('Set a billing limit'))
+ const input = screen.getByTestId('billing-limit-input-product_analytics')
+ await userEvent.clear(input)
+ await userEvent.type(input, entered)
+ await userEvent.click(screen.getByTestId('save-billing-limit-product_analytics'))
+
+ expect(await screen.findByTestId('billing-limit-set-product_analytics')).toHaveTextContent(
+ `You have a ${renderedAmount} billing limit set`
+ )
+ expect(patchedBody).toEqual({ custom_limits_usd: { product_analytics: savedLimit } })
+ }
+ )
+
+ it('removing an existing limit PATCHes a null limit and re-renders as unset', async () => {
+ await seedBilling({ product_analytics: 500 })
+ render(
+ <Provider>
+ <BillingLimit product={makeProduct()} />
+ </Provider>
+ )
+
+ await userEvent.click(await screen.findByText('Edit limit'))
+ await userEvent.click(screen.getByTestId('remove-billing-limit-product_analytics'))
+
+ expect(await screen.findByTestId('billing-limit-not-set-product_analytics')).toHaveTextContent(
+ 'You do not have a billing limit set'
+ )
+ expect(patchedBody).toEqual({ custom_limits_usd: { product_analytics: null } })
+ })
+})
diff --git a/frontend/src/scenes/billing/billingProductLogic.test.ts b/frontend/src/scenes/billing/billingProductLogic.test.ts
index 530abf7ea16f..7bbcb02440e1 100644
--- a/frontend/src/scenes/billing/billingProductLogic.test.ts
+++ b/frontend/src/scenes/billing/billingProductLogic.test.ts
@@ -1,5 +1,6 @@
/* oxlint-disable react-hooks/rules-of-hooks -- useMocks is a test helper, not a React hook */
import { expectLogic } from 'kea-test-utils'
+import posthog from 'posthog-js'
import { dayjs } from 'lib/dayjs'
// Imported from the source module rather than the `@posthog/lemon-ui` barrel so the spy below
@@ -9,24 +10,142 @@ import { lemonToast } from 'lib/lemon-ui/LemonToast/LemonToast'
import { billingLogic } from 'scenes/billing/billingLogic'
import { billingProductLogic } from 'scenes/billing/billingProductLogic'
+import { billingJson } from '~/mocks/fixtures/_billing'
import { defaultPlatformAddons } from '~/mocks/fixtures/_billing_platform_addons'
import { useMocks } from '~/mocks/jest'
import { initKeaTests } from '~/test/init'
-import { BillingPlan, BillingProductV2AddonType, BillingType } from '~/types'
+import { BillingPlan, BillingProductV2AddonType, BillingProductV2Type, BillingType, SurveyEventName } from '~/types'
+
+const productByType = (type: string): BillingProductV2Type =>
+ billingJson.products.find((p) => p.type === type) as BillingProductV2Type
+
+describe('billingProductLogic', () => {
+ const mounted: ReturnType<typeof billingProductLogic.build>[] = []
+
+ const seedBilling = async (customLimits: BillingType['custom_limits_usd']): Promise<void> => {
+ useMocks({ get: { '/api/billing': () => [200, { ...billingJson, custom_limits_usd: customLimits }] } })
+ billingLogic.mount()
+ await expectLogic(billingLogic, () => billingLogic.actions.loadBilling()).toFinishAllListeners()
+ }
+
+ beforeEach(() => {
+ initKeaTests()
+ })
+
+ afterEach(() => {
+ mounted.forEach((logic) => logic.unmount())
+ mounted.length = 0
+ })
+
+ const mountProduct = (type: string): ReturnType<typeof billingProductLogic.build> => {
+ const logic = billingProductLogic({ product: productByType(type) })
+ logic.mount()
+ mounted.push(logic)
+ return logic
+ }
+
+ describe('custom billing limit resolution', () => {
+ // $0 is a real, meaningful limit (drop all usage) — it must not be conflated with
+ // "no limit set" (unbounded spend). This guards the `=== 0` handling in the
+ // customLimitUsd / hasCustomLimitSet selectors.
+ it.each([
+ ['no custom limit set', {}, null, false],
+ ['a positive dollar limit', { product_analytics: 500 }, 500, true],
+ ['a $0 limit', { product_analytics: 0 }, 0, true],
+ ['a limit set under the usage key', { events: 200 }, 200, true],
+ ] as const)('resolves %s', async (_name, customLimits, expectedLimit, expectedHasSet) => {
+ await seedBilling(customLimits)
+ const logic = mountProduct('product_analytics')
+
+ expect(logic.values.customLimitUsd).toBe(expectedLimit)
+ expect(logic.values.hasCustomLimitSet).toBe(expectedHasSet)
+ })
+ })
+
+ describe('unsubscribe survey state', () => {
+ it('keeps survey responses isolated per product type', async () => {
+ await seedBilling({})
+ const analytics = mountProduct('product_analytics')
+ const replay = mountProduct('session_replay')
+
+ analytics.actions.setSurveyResponse('$survey_response', 'analytics feedback')
+ analytics.actions.toggleSurveyReason('Too expensive')
+ replay.actions.setSurveyResponse('$survey_response', 'replay feedback')
+
+ expect(analytics.values.surveyResponse.$survey_response).toBe('analytics feedback')
+ expect(analytics.values.surveyResponse.$survey_response_2).toEqual(['Too expensive'])
+ expect(replay.values.surveyResponse.$survey_response).toBe('replay feedback')
+ expect(replay.values.surveyResponse.$survey_response_2).toEqual([])
+ })
+
+ // Guards the unsubscribe submit path the deleted Playwright spec covered: confirming
+ // deactivation must POST the product to /api/billing/deactivate, submit the collected
+ // survey on success (deactivateProductSuccess -> reportSurveySent), and clear surveyID so
+ // the modal closes. Fake timers step over the loader's real 2s reload breakpoint.
+ it('deactivates the product, submits the survey, and clears the modal on confirm', async () => {
+ let deactivateBody: any = null
+ useMocks({
+ get: { '/api/billing': () => [200, billingJson] },
+ post: {
+ '/api/billing/deactivate': async ({ request }) => {
+ deactivateBody = await request.json()
+ return [200, billingJson]
+ },
+ },
+ })
+ billingLogic.mount()
+ await expectLogic(billingLogic, () => billingLogic.actions.loadBilling()).toFinishAllListeners()
+
+ const captureSpy = jest.spyOn(posthog, 'capture').mockReturnValue(undefined as any)
+ const logic = mountProduct('product_analytics')
+ logic.actions.setSurveyID('billing-unsubscribe-survey')
+ logic.actions.toggleSurveyReason('Too expensive')
+ logic.actions.setSurveyResponse('$survey_response', 'Product analytics')
+
+ jest.useFakeTimers()
+ try {
+ const expectation = expectLogic(logic, () => {
+ logic.actions.deactivateProduct('product_analytics')
+ }).toDispatchActions([
+ 'deactivateProduct',
+ 'loadBilling',
+ 'deactivateProductSuccess',
+ 'reportSurveySent',
+ 'setSurveyID',
+ ])
+ // Enough to fire the loader's breakpoint(2000) but not the post-report
+ // breakpoint(400), so the jsdom-unsupported scrollIntoView is never reached.
+ await jest.advanceTimersByTimeAsync(2100)
+ await expectation
+
+ expect(deactivateBody).toEqual({ products: 'product_analytics' })
+ expect(captureSpy).toHaveBeenCalledWith(SurveyEventName.SENT, {
+ $survey_id: 'billing-unsubscribe-survey',
+ $survey_response: 'Product analytics',
+ $survey_response_2: ['Too expensive'],
+ })
+ expect(logic.values.surveyID).toBe('')
+ } finally {
+ jest.useRealTimers()
+ captureSpy.mockRestore()
+ }
+ })
+ })
+})
// Scale is a flat-rate platform add-on ($750/mo) — the exact shape that used to charge immediately.
const scaleAddon = defaultPlatformAddons.find((addon) => addon.type === BillingPlan.Scale) as BillingProductV2AddonType
-const seedBilling = async (billing: Partial<BillingType>): Promise<void> => {
- useMocks({ get: { '/api/billing': () => [200, billing] } })
- billingLogic.mount()
- await expectLogic(billingLogic, () => billingLogic.actions.loadBilling()).toFinishAllListeners()
-}
-
describe('billingProductLogic — confirm purchase modal', () => {
let logic: ReturnType<typeof billingProductLogic.build>
let toastErrorSpy: jest.SpyInstance
+ const seedBilling = async (billing: Partial<BillingType>): Promise<void> => {
+ useMocks({ get: { '/api/billing': () => [200, billing] } })
+ billingLogic.mount()
+ await expectLogic(billingLogic, () => billingLogic.actions.loadBilling()).toFinishAllListeners()
+ }
+
beforeEach(async () => {
initKeaTests()
toastErrorSpy = jest.spyOn(lemonToast, 'error').mockImplementation(() => ({ id: 'x' }) as any)
diff --git a/frontend/src/scenes/data-pipelines/batch-exports/batchExportBackfillModalLogic.test.ts b/frontend/src/scenes/data-pipelines/batch-exports/batchExportBackfillModalLogic.test.ts
new file mode 100644
index 000000000000..1e3bc5d5ab20
--- /dev/null
+++ b/frontend/src/scenes/data-pipelines/batch-exports/batchExportBackfillModalLogic.test.ts
@@ -0,0 +1,217 @@
+import { expectLogic } from 'kea-test-utils'
+
+import { lemonToast } from '@posthog/lemon-ui'
+
+import api from 'lib/api'
+import { dayjs } from 'lib/dayjs'
+import { teamLogic } from 'scenes/teamLogic'
+
+import { useMocks } from '~/mocks/jest'
+import { initKeaTests } from '~/test/init'
+import { BatchExportConfiguration, BatchExportInterval } from '~/types'
+
+import { batchExportBackfillModalLogic } from './batchExportBackfillModalLogic'
+import { batchExportDataLogic } from './batchExportDataLogic'
+
+jest.mock('lib/utils/product-intents', () => ({
+ addProductIntent: jest.fn().mockResolvedValue(null),
+}))
+
+const MOCK_BATCH_EXPORT_ID = 'test-export-id'
+const MOCK_BACKFILL_ID = 'backfill-uuid-123'
+
+const MOCK_BATCH_EXPORT_CONFIG: BatchExportConfiguration = {
+ id: MOCK_BATCH_EXPORT_ID,
+ team_id: 997,
+ name: 'Test Export',
+ destination: {
+ type: 'S3',
+ config: {
+ bucket_name: 'test-bucket',
+ region: 'us-east-1',
+ prefix: 'events/',
+ aws_access_key_id: 'AKIAIOSFODNN7EXAMPLE',
+ aws_secret_access_key: 'secret',
+ exclude_events: [],
+ include_events: [],
+ compression: 'gzip',
+ encryption: null,
+ kms_key_id: null,
+ endpoint_url: null,
+ file_format: 'Parquet',
+ max_file_size_mb: null,
+ use_virtual_style_addressing: false,
+ },
+ },
+ interval: 'hour',
+ timezone: null,
+ offset_day: null,
+ offset_hour: null,
+ created_at: '2024-01-01T00:00:00Z',
+ start_at: null,
+ end_at: null,
+ paused: false,
+ model: 'events',
+ filters: [],
+}
+
+describe('batchExportBackfillModalLogic', () => {
+ let logic: ReturnType<typeof batchExportBackfillModalLogic.build>
+
+ async function setupLogic(configOverrides: Partial<BatchExportConfiguration> = {}): Promise<void> {
+ // eslint-disable-next-line react-hooks/rules-of-hooks -- useMocks is an MSW test helper, not a React hook
+ useMocks({
+ get: {
+ [`/api/environments/:team_id/batch_exports/${MOCK_BATCH_EXPORT_ID}/`]: {
+ ...MOCK_BATCH_EXPORT_CONFIG,
+ ...configOverrides,
+ },
+ },
+ post: {
+ [`/api/environments/:team_id/batch_exports/${MOCK_BATCH_EXPORT_ID}/backfills/`]: {
+ backfill_id: MOCK_BACKFILL_ID,
+ },
+ },
+ })
+ initKeaTests()
+ await expectLogic(teamLogic).toFinishAllListeners()
+ const configLogic = batchExportDataLogic({ id: MOCK_BATCH_EXPORT_ID })
+ configLogic.mount()
+ await expectLogic(configLogic).toFinishAllListeners()
+ logic = batchExportBackfillModalLogic({ id: MOCK_BATCH_EXPORT_ID })
+ logic.mount()
+ await expectLogic(logic).toFinishAllListeners()
+ }
+
+ beforeEach(() => {
+ jest.spyOn(lemonToast, 'success').mockReturnValue('toast-id')
+ jest.spyOn(lemonToast, 'error').mockReturnValue('toast-id')
+ })
+
+ afterEach(() => {
+ jest.restoreAllMocks()
+ })
+
+ describe('submitBackfillForm', () => {
+ const submitCases: {
+ name: string
+ interval: BatchExportInterval
+ timezone: string | null
+ values: {
+ earliest_backfill: boolean
+ start_at?: ReturnType<typeof dayjs>
+ end_at?: ReturnType<typeof dayjs>
+ }
+ expectedPayload: { start_at: string | null; end_at: string | null }
+ }[] = [
+ {
+ name: 'hourly export sends ISO datetime strings',
+ interval: 'hour',
+ timezone: null,
+ values: {
+ earliest_backfill: false,
+ start_at: dayjs('2024-01-10T08:00:00Z'),
+ end_at: dayjs('2024-01-15T08:00:00Z'),
+ },
+ expectedPayload: { start_at: '2024-01-10T08:00:00.000Z', end_at: '2024-01-15T08:00:00.000Z' },
+ },
+ {
+ name: 'earliest_backfill sends a null start date',
+ interval: 'hour',
+ timezone: null,
+ values: {
+ earliest_backfill: true,
+ start_at: undefined,
+ end_at: dayjs('2024-01-15T08:00:00Z'),
+ },
+ expectedPayload: { start_at: null, end_at: '2024-01-15T08:00:00.000Z' },
+ },
+ {
+ name: 'daily export sends date-only strings',
+ interval: 'day',
+ timezone: 'UTC',
+ values: {
+ earliest_backfill: false,
+ start_at: dayjs.utc('2024-01-10T00:00:00Z'),
+ end_at: dayjs.utc('2024-01-15T00:00:00Z'),
+ },
+ expectedPayload: { start_at: '2024-01-10', end_at: '2024-01-15' },
+ },
+ ]
+
+ it.each(submitCases)(
+ 'creates a backfill with the correct payload: $name',
+ async ({ interval, timezone, values, expectedPayload }) => {
+ await setupLogic({ interval, timezone })
+ const createBackfillSpy = jest
+ .spyOn(api.batchExports, 'createBackfill')
+ .mockResolvedValue({ backfill_id: MOCK_BACKFILL_ID })
+
+ logic.actions.openBackfillModal()
+ logic.actions.setBackfillFormValues(values)
+ await expectLogic(logic, () => {
+ logic.actions.submitBackfillForm()
+ }).toDispatchActions(['closeBackfillModal', 'backfillCreated'])
+
+ expect(createBackfillSpy).toHaveBeenCalledWith(MOCK_BATCH_EXPORT_ID, expectedPayload)
+ expect(lemonToast.success).toHaveBeenCalledWith('Backfill created')
+ await expectLogic(logic).toMatchValues({ isBackfillModalOpen: false })
+ }
+ )
+
+ it('does not call the API when required fields are missing', async () => {
+ await setupLogic()
+ const createBackfillSpy = jest
+ .spyOn(api.batchExports, 'createBackfill')
+ .mockResolvedValue({ backfill_id: MOCK_BACKFILL_ID })
+
+ logic.actions.setBackfillFormValues({ earliest_backfill: false, start_at: undefined, end_at: undefined })
+ logic.actions.submitBackfillForm()
+ await expectLogic(logic).toFinishAllListeners()
+
+ expect(createBackfillSpy).not.toHaveBeenCalled()
+ expect(lemonToast.success).not.toHaveBeenCalled()
+ })
+ })
+
+ describe('validation errors', () => {
+ const errorCases: {
+ name: string
+ values: {
+ earliest_backfill: boolean
+ start_at?: ReturnType<typeof dayjs>
+ end_at?: ReturnType<typeof dayjs>
+ }
+ expectedErrors: { start_at?: string; end_at?: string }
+ }[] = [
+ {
+ name: 'missing start date',
+ values: { earliest_backfill: false, start_at: undefined, end_at: dayjs('2024-01-15T08:00:00Z') },
+ expectedErrors: { start_at: 'Start date is required' },
+ },
+ {
+ name: 'missing end date',
+ values: { earliest_backfill: false, start_at: dayjs('2024-01-10T08:00:00Z'), end_at: undefined },
+ expectedErrors: { end_at: 'End date is required' },
+ },
+ {
+ name: 'both dates missing',
+ values: { earliest_backfill: false, start_at: undefined, end_at: undefined },
+ expectedErrors: { start_at: 'Start date is required', end_at: 'End date is required' },
+ },
+ {
+ name: 'earliest_backfill waives the start date requirement',
+ values: { earliest_backfill: true, start_at: undefined, end_at: dayjs('2024-01-15T08:00:00Z') },
+ expectedErrors: {},
+ },
+ ]
+
+ it.each(errorCases)('flags $name', async ({ values, expectedErrors }) => {
+ await setupLogic()
+
+ logic.actions.setBackfillFormValues(values)
+
+ expect(logic.values.backfillFormValidationErrors).toEqual(expectedErrors)
+ })
+ })
+})
diff --git a/playwright/e2e/api-insight-creation.spec.ts b/playwright/e2e/api-insight-creation.spec.ts
deleted file mode 100644
index e7a46df04fe1..000000000000
--- a/playwright/e2e/api-insight-creation.spec.ts
+++ /dev/null
@@ -1,78 +0,0 @@
-/**
- * Test creating insights via API and then viewing them in the UI
- */
-import { expect } from '@playwright/test'
-
-import { InsightVizNode, NodeKind, TrendsQuery } from '../../frontend/src/queries/schema/schema-general'
-import { test } from '../utils/workspace-test-base'
-
-type InsightCreationPayload = {
- name: string
- query: InsightVizNode<TrendsQuery>
-}
-
-test('create trends insight via API and snapshot', async ({ page, playwrightSetup }) => {
- // Create workspace with API key
- const workspace = await playwrightSetup.createWorkspace({
- organization_name: 'API Test Org',
- skip_onboarding: true,
- })
-
- // Create a trends insight via API using the personal API key
- const payload: InsightCreationPayload = {
- name: 'Pageview Trends Analysis',
- query: {
- kind: NodeKind.InsightVizNode,
- source: {
- kind: NodeKind.TrendsQuery,
- series: [
- {
- kind: NodeKind.EventsNode,
- event: '$pageview',
- },
- ],
- },
- },
- }
-
- const insightResponse = await page.request.post(`/api/projects/${workspace.team_id}/insights/`, {
- headers: {
- Authorization: `Bearer ${workspace.personal_api_key}`,
- 'Content-Type': 'application/json',
- },
- data: payload,
- })
-
- expect(insightResponse.ok()).toBe(true)
- const insightData = await insightResponse.json()
- expect(insightData.short_id).toBeTruthy()
- expect(insightData.name).toBe('Pageview Trends Analysis')
- expect(insightData.query.source.series[0].event).toBe('$pageview')
-
- // Login and navigate directly to the insight page
- await playwrightSetup.login(page, workspace)
- await page.goto(`/project/${workspace.team_id}/insights/${insightData.short_id}`)
-
- // Wait for the insight query to finish loading
- await page.getByTestId('insight-loading-waiting-message').waitFor({ state: 'detached', timeout: 30000 })
-
- // Wait for the insights graph container to be visible and loaded
- await expect(page.getByTestId('insights-graph')).toBeVisible({ timeout: 30000 })
-
- // Verify the insight rendered — either a chart canvas or an empty state
- const canvas = page.getByTestId('insights-graph').locator('canvas[role="img"]')
- const emptyState = page.getByText('There are no matching events for this query')
- await expect(canvas.or(emptyState)).toBeVisible({ timeout: 30000 })
-
- // Verify we're on the correct insight page by checking the URL
- await expect(page).toHaveURL(new RegExp(`/insights/${insightData.short_id}`))
-
- // Verify the insight title - check the scene name container (handles both editable and non-editable cases)
- await expect(page.locator('.scene-name')).toContainText('Pageview Trends Analysis')
-
- // :FIXME: Temporarily disabled due to flakiness with alerts for erroring requests
- // // Take a screenshot of the insight for visual regression testing
- // await expect(page).toHaveScreenshot('pageview-trends-insight.png', {
- // fullPage: true,
- // })
-})
diff --git a/playwright/e2e/batch-exports/batch-export-backfills.spec.ts b/playwright/e2e/batch-exports/batch-export-backfills.spec.ts
deleted file mode 100644
index 39d976a103f2..000000000000
--- a/playwright/e2e/batch-exports/batch-export-backfills.spec.ts
+++ /dev/null
@@ -1,152 +0,0 @@
-import { Page } from '@playwright/test'
-
-import { PlaywrightWorkspaceSetupResult, expect, test } from '../../utils/workspace-test-base'
-import { createMockBatchExport, MOCK_EXPORT_ID, setupBatchExportRoutes } from './batch-export-helpers'
-
-async function setupBackfillRoutes(
- page: Page,
- options: {
- backfillOnGet?: (callCount: number) => object | null
- } = {}
-): Promise<void> {
- await setupBatchExportRoutes(page, MOCK_EXPORT_ID, createMockBatchExport())
-
- const mockBackfillId = 'backfill-001'
-
- await page.route(
- (url) => url.pathname.includes(`/batch_exports/${MOCK_EXPORT_ID}/runs`),
- async (route) => {
- await route.fulfill({
- status: 200,
- contentType: 'application/json',
- body: JSON.stringify({ results: [], next: null }),
- })
- }
- )
-
- let backfillGetCallCount = 0
- let backfillCreated = false
-
- await page.route(
- (url) => url.pathname.includes(`/batch_exports/${MOCK_EXPORT_ID}/backfills`),
- async (route) => {
- const url = route.request().url()
-
- if (route.request().method() === 'POST') {
- backfillCreated = true
- await route.fulfill({
- status: 201,
- contentType: 'application/json',
- body: JSON.stringify({ backfill_id: mockBackfillId }),
- })
- } else if (url.includes(`/backfills/${mockBackfillId}/`)) {
- // Individual backfill GET (polling for estimate)
- const response =
- backfillCreated && options.backfillOnGet ? options.backfillOnGet(++backfillGetCallCount) : null
- if (response) {
- await route.fulfill({
- status: 200,
- contentType: 'application/json',
- body: JSON.stringify(response),
- })
- } else {
- await route.fulfill({ status: 404, contentType: 'application/json', body: '{}' })
- }
- } else {
- // List backfills
- const results = backfillCreated
- ? [
- {
- id: mockBackfillId,
- status: 'Running',
- created_at: new Date().toISOString(),
- start_at: '2026-01-10T00:00:00Z',
- end_at: '2026-01-15T00:00:00Z',
- },
- ]
- : []
- await route.fulfill({
- status: 200,
- contentType: 'application/json',
- body: JSON.stringify({ results, next: null }),
- })
- }
- }
- )
-}
-
-test.describe('Batch export backfills', () => {
- let workspace: PlaywrightWorkspaceSetupResult | null = null
-
- test.beforeAll(async ({ playwrightSetup }) => {
- workspace = await playwrightSetup.createWorkspace({ skip_onboarding: true, no_demo_data: true })
- })
-
- test.beforeEach(async ({ page, playwrightSetup }) => {
- await playwrightSetup.login(page, workspace!)
- })
-
- test('Shows backfill estimate toast with cancel option after creating a backfill', async ({ page }) => {
- await setupBackfillRoutes(page, {
- backfillOnGet: (callCount) => {
- if (callCount <= 2) {
- // First 2 calls: backfill exists but no estimate yet
- return {
- id: 'backfill-001',
- status: 'Starting',
- created_at: new Date().toISOString(),
- start_at: '2026-01-10T00:00:00Z',
- end_at: '2026-01-15T00:00:00Z',
- }
- }
- // After 2 calls: estimate becomes available
- return {
- id: 'backfill-001',
- status: 'Running',
- created_at: new Date().toISOString(),
- start_at: '2026-01-10T00:00:00Z',
- end_at: '2026-01-15T00:00:00Z',
- total_records_count: 42500,
- }
- },
- })
-
- // Navigate to the backfills tab
- await page.goto(`/pipeline/batch-exports/${MOCK_EXPORT_ID}?tab=backfills`)
- await expect(page.getByRole('button', { name: 'Start backfill', exact: true }).first()).toBeVisible()
-
- // Open the backfill modal and submit
- await page.getByRole('button', { name: 'Start backfill', exact: true }).first().click()
- await expect(page.getByRole('dialog')).toBeVisible()
-
- // Select a start date
- // (Go back one month to avoid edge case where start date equals the auto-set end date)
- await page.getByRole('dialog').getByRole('button', { name: 'Select start date' }).click()
- await page.locator('[data-attr="lemon-calendar-month-previous"]').click()
- await page
- .locator('[data-attr="lemon-calendar-select"]')
- .getByRole('button', { name: '1', exact: true })
- .first()
- .click()
- await page.locator('[data-attr="lemon-calendar-select-apply"]').click()
-
- // Submit the backfill form
- await page.getByRole('dialog').getByRole('button', { name: 'Schedule runs' }).click()
-
- // Verify the success toast appears
- await expect(page.locator('[data-attr="success-toast"]')).toContainText('Backfill created')
-
- // Verify the estimate toast appears (polling finds the estimate after a few seconds)
- await expect(page.locator('[data-attr="info-toast"]')).toContainText('Estimated ~42,500 rows to export', {
- timeout: 15000,
- })
-
- // Verify the cancel button exists on the estimate toast
- await expect(
- page.locator('[data-attr="info-toast"]').getByRole('button', { name: 'Cancel backfill' })
- ).toBeVisible()
-
- // Verify batch export context uses "Total rows" (not "Total events")
- await expect(page.getByRole('columnheader', { name: 'Total rows' })).toBeVisible()
- })
-})
diff --git a/playwright/e2e/batch-exports/batch-export-config.spec.ts b/playwright/e2e/batch-exports/batch-export-config.spec.ts
deleted file mode 100644
index 2e914c5b79cb..000000000000
--- a/playwright/e2e/batch-exports/batch-export-config.spec.ts
+++ /dev/null
@@ -1,124 +0,0 @@
-import { randomString } from '../../utils'
-import { PlaywrightWorkspaceSetupResult, expect, test } from '../../utils/workspace-test-base'
-
-test.describe('Batch export configuration', () => {
- let workspace: PlaywrightWorkspaceSetupResult | null = null
-
- test.beforeAll(async ({ playwrightSetup }) => {
- workspace = await playwrightSetup.createWorkspace({ skip_onboarding: true, no_demo_data: true })
- })
-
- test.beforeEach(async ({ page, playwrightSetup }) => {
- await playwrightSetup.login(page, workspace!)
- })
-
- test('Create new AWS S3 batch export', async ({ page }) => {
- const name = randomString('AWS S3 Export')
- const mockId = '01234567-0123-0123-0123-0123456789ab'
- const integrationId = 42
-
- // AWS S3 exports authenticate via an aws-s3 integration. Return one so the
- // integration picker auto-selects it (IntegrationChoice picks the first of the kind).
- await page.route(
- (url) => /\/api\/(projects|environments)\/[^/]+\/integrations\/?$/.test(url.pathname),
- async (route) => {
- await route.fulfill({
- status: 200,
- contentType: 'application/json',
- body: JSON.stringify({
- count: 1,
- next: null,
- previous: null,
- results: [
- {
- id: integrationId,
- kind: 'aws-s3',
- display_name: 'Test AWS credentials',
- config: {},
- created_at: new Date().toISOString(),
- },
- ],
- }),
- })
- }
- )
-
- // Mock the batch export creation endpoint (requires Temporal in real env)
- await page.route('**/api/environments/*/batch_exports/', async (route) => {
- if (route.request().method() === 'POST') {
- const body = route.request().postDataJSON()
- await route.fulfill({
- status: 201,
- contentType: 'application/json',
- body: JSON.stringify({
- id: mockId,
- team_id: 1,
- name: body.name,
- model: 'events',
- destination: {
- type: 'AwsS3',
- config: {
- bucket_name: body.destination.config.bucket_name,
- region: body.destination.config.region,
- prefix: body.destination.config.prefix,
- },
- },
- interval: body.interval,
- paused: false,
- created_at: new Date().toISOString(),
- last_updated_at: new Date().toISOString(),
- last_paused_at: null,
- start_at: null,
- end_at: null,
- latest_runs: [],
- hogql_query: null,
- schema: null,
- }),
- })
- } else {
- await route.continue()
- }
- })
-
- await page.goto('/pipeline/batch-exports/new/awss3')
- await expect(page.locator('.scene-name')).toContainText('AWS S3')
-
- // Edit the name of the batch export
- await page.click('.scene-name button')
- await page.getByTestId('scene-title-textarea').fill(name)
-
- // Choose an interval
- await page.locator('button[name="interval"]').click()
- await page.getByRole('menuitem', { name: 'Hourly' }).click()
-
- // Fill in the S3 batch export form
- await page.locator('input[name="bucket_name"]').fill('my-test-bucket')
-
- // Region is a LemonSelect dropdown - find it via its parent Field
- await page
- .locator('.Field')
- .filter({ hasText: /^Region/ })
- .locator('button')
- .click()
- await page.getByRole('menuitem', { name: 'US East (N. Virginia)' }).click()
-
- await page.locator('input[name="prefix"]').fill('events/')
-
- // Capture the create request to assert the selected integration is sent (instead of inline credentials)
- const [createRequest] = await Promise.all([
- page.waitForRequest((req) => req.url().includes('/batch_exports/') && req.method() === 'POST'),
- page.locator('form').getByRole('button', { name: 'Create' }).click(),
- ])
- await expect(page.locator('[data-attr="success-toast"]')).toContainText('Batch export created successfully')
-
- expect(createRequest.postDataJSON().destination.integration).toBe(integrationId)
- })
-
- test('Validate required fields prevent save', async ({ page }) => {
- await page.goto('/pipeline/batch-exports/new/awss3')
- await expect(page.locator('.scene-name')).toContainText('AWS S3')
-
- // Create button should be disabled when required fields are empty
- await expect(page.locator('form').getByRole('button', { name: 'Create' })).toBeDisabled()
- })
-})
diff --git a/playwright/e2e/batch-exports/batch-export-helpers.ts b/playwright/e2e/batch-exports/batch-export-helpers.ts
deleted file mode 100644
index f2e7696ca4ea..000000000000
--- a/playwright/e2e/batch-exports/batch-export-helpers.ts
+++ /dev/null
@@ -1,52 +0,0 @@
-import { Page } from '@playwright/test'
-
-export const MOCK_EXPORT_ID = '01234567-0123-0123-0123-0123456789ab'
-
-export function createMockBatchExport(overrides: Record<string, unknown> = {}): Record<string, unknown> {
- return {
- id: MOCK_EXPORT_ID,
- team_id: 1,
- name: 'Test S3 Export',
- model: 'events',
- destination: {
- type: 'S3',
- config: {
- bucket_name: 'test-bucket',
- region: 'us-east-1',
- prefix: 'events/',
- },
- },
- interval: 'hour',
- timezone: null,
- offset_day: null,
- offset_hour: null,
- paused: false,
- created_at: '2026-01-01T00:00:00Z',
- last_updated_at: '2026-01-01T00:00:00Z',
- last_paused_at: null,
- start_at: null,
- end_at: null,
- latest_runs: [],
- filters: [],
- ...overrides,
- }
-}
-
-/**
- * Sets up the common routes needed for any batch export scene test:
- * - GET /batch_exports/:id/ → mock config
- * - GET /batch_exports/test/ → empty test steps
- */
-export async function setupBatchExportRoutes(
- page: Page,
- exportId: string,
- mockExport: Record<string, unknown>
-): Promise<void> {
- await page.route(`**/api/environments/*/batch_exports/${exportId}/`, async (route) => {
- await route.fulfill({ status: 200, contentType: 'application/json', body: JSON.stringify(mockExport) })
- })
-
- await page.route('**/api/environments/*/batch_exports/test/', async (route) => {
- await route.fulfill({ status: 200, contentType: 'application/json', body: JSON.stringify({ steps: [] }) })
- })
-}
diff --git a/playwright/e2e/batch-exports/batch-export-logs.spec.ts b/playwright/e2e/batch-exports/batch-export-logs.spec.ts
deleted file mode 100644
index 51c3833f429b..000000000000
--- a/playwright/e2e/batch-exports/batch-export-logs.spec.ts
+++ /dev/null
@@ -1,64 +0,0 @@
-import { Page } from '@playwright/test'
-
-import { PlaywrightWorkspaceSetupResult, expect, test } from '../../utils/workspace-test-base'
-import { createMockBatchExport, MOCK_EXPORT_ID, setupBatchExportRoutes } from './batch-export-helpers'
-
-async function setupLogsRoutes(page: Page): Promise<void> {
- await setupBatchExportRoutes(page, MOCK_EXPORT_ID, createMockBatchExport())
-
- // Mock the logs API (used by LogsViewer or PipelineNodeLogs)
- await page.route(
- (url) => url.pathname.includes(`/batch_exports/${MOCK_EXPORT_ID}/logs`),
- async (route) => {
- await route.fulfill({
- status: 200,
- contentType: 'application/json',
- body: JSON.stringify({ results: [] }),
- })
- }
- )
-
- // Mock the log entries query API used by the new LogsViewer
- await page.route(
- (url) => url.pathname.includes('/api/environments/') && url.pathname.includes('/query/'),
- async (route) => {
- const body = route.request().postDataJSON()
- // Only intercept log queries, let others pass through
- if (body?.query?.kind === 'LogsQuery' || body?.query?.kind === 'HogQLQuery') {
- await route.fulfill({
- status: 200,
- contentType: 'application/json',
- body: JSON.stringify({
- results: [],
- columns: [],
- hasMore: false,
- }),
- })
- } else {
- await route.continue()
- }
- }
- )
-}
-
-test.describe('Batch export logs', () => {
- let workspace: PlaywrightWorkspaceSetupResult | null = null
-
- test.beforeAll(async ({ playwrightSetup }) => {
- workspace = await playwrightSetup.createWorkspace({ skip_onboarding: true, no_demo_data: true })
- })
-
- test.beforeEach(async ({ page, playwrightSetup }) => {
- await playwrightSetup.login(page, workspace!)
- })
-
- test('Renders logs viewer', async ({ page }) => {
- await setupLogsRoutes(page)
-
- await page.goto(`/pipeline/batch-exports/${MOCK_EXPORT_ID}?tab=logs`)
-
- // The logs tab should render the LogsViewer with its search input.
- // Batch exports label instances as "run", so the placeholder reads "run ID".
- await expect(page.getByPlaceholder('Search messages or run ID')).toBeVisible()
- })
-})
diff --git a/playwright/e2e/batch-exports/batch-export-metrics.spec.ts b/playwright/e2e/batch-exports/batch-export-metrics.spec.ts
deleted file mode 100644
index a1ee92f24387..000000000000
--- a/playwright/e2e/batch-exports/batch-export-metrics.spec.ts
+++ /dev/null
@@ -1,45 +0,0 @@
-import { Page } from '@playwright/test'
-
-import { PlaywrightWorkspaceSetupResult, expect, test } from '../../utils/workspace-test-base'
-import { createMockBatchExport, MOCK_EXPORT_ID, setupBatchExportRoutes } from './batch-export-helpers'
-
-async function setupMetricsRoutes(page: Page): Promise<void> {
- await setupBatchExportRoutes(page, MOCK_EXPORT_ID, createMockBatchExport())
-
- // Mock query API for metrics queries
- await page.route(
- (url) => url.pathname.includes('/api/environments/') && url.pathname.includes('/query/'),
- async (route) => {
- await route.fulfill({
- status: 200,
- contentType: 'application/json',
- body: JSON.stringify({
- results: [],
- columns: [],
- hasMore: false,
- }),
- })
- }
- )
-}
-
-test.describe('Batch export metrics', () => {
- let workspace: PlaywrightWorkspaceSetupResult | null = null
-
- test.beforeAll(async ({ playwrightSetup }) => {
- workspace = await playwrightSetup.createWorkspace({ skip_onboarding: true, no_demo_data: true })
- })
-
- test.beforeEach(async ({ page, playwrightSetup }) => {
- await playwrightSetup.login(page, workspace!)
- })
-
- test('Renders metrics content', async ({ page }) => {
- await setupMetricsRoutes(page)
-
- await page.goto(`/pipeline/batch-exports/${MOCK_EXPORT_ID}?tab=metrics`)
-
- // The metrics tab should render the metrics summary cards
- await expect(page.getByText('Rows exported')).toBeVisible()
- })
-})
diff --git a/playwright/e2e/batch-exports/batch-export-runs.spec.ts b/playwright/e2e/batch-exports/batch-export-runs.spec.ts
deleted file mode 100644
index 2f46c46d4f58..000000000000
--- a/playwright/e2e/batch-exports/batch-export-runs.spec.ts
+++ /dev/null
@@ -1,123 +0,0 @@
-import { Page } from '@playwright/test'
-
-import { PlaywrightWorkspaceSetupResult, expect, test } from '../../utils/workspace-test-base'
-import { createMockBatchExport, MOCK_EXPORT_ID, setupBatchExportRoutes } from './batch-export-helpers'
-
-async function setupRunsRoutes(
- page: Page,
- options: {
- runs?: object[]
- paused?: boolean
- } = {}
-): Promise<void> {
- const mockExport = createMockBatchExport({ paused: options.paused ?? false })
- await setupBatchExportRoutes(page, MOCK_EXPORT_ID, mockExport)
-
- await page.route(
- (url) => url.pathname.includes(`/batch_exports/${MOCK_EXPORT_ID}/runs`),
- async (route) => {
- await route.fulfill({
- status: 200,
- contentType: 'application/json',
- body: JSON.stringify({ results: options.runs ?? [], next: null }),
- })
- }
- )
-
- await page.route(
- (url) => url.pathname.includes(`/batch_exports/${MOCK_EXPORT_ID}/backfills`),
- async (route) => {
- if (route.request().method() === 'POST') {
- await route.fulfill({
- status: 201,
- contentType: 'application/json',
- body: JSON.stringify({ backfill_id: 'backfill-from-runs' }),
- })
- } else {
- await route.fulfill({
- status: 200,
- contentType: 'application/json',
- body: JSON.stringify({ results: [], next: null }),
- })
- }
- }
- )
-}
-
-test.describe('Batch export runs', () => {
- let workspace: PlaywrightWorkspaceSetupResult | null = null
-
- test.beforeAll(async ({ playwrightSetup }) => {
- workspace = await playwrightSetup.createWorkspace({ skip_onboarding: true, no_demo_data: true })
- })
-
- test.beforeEach(async ({ page, playwrightSetup }) => {
- await playwrightSetup.login(page, workspace!)
- })
-
- test('Renders empty runs table', async ({ page }) => {
- await setupRunsRoutes(page)
-
- await page.goto(`/pipeline/batch-exports/${MOCK_EXPORT_ID}?tab=runs`)
- await expect(page.getByText('No runs in this time range.')).toBeVisible()
- })
-
- test('Renders runs with data', async ({ page }) => {
- await setupRunsRoutes(page, {
- runs: [
- {
- id: 'run-001',
- status: 'Completed',
- created_at: '2026-01-15T10:00:00Z',
- data_interval_start: '2026-01-15T09:00:00Z',
- data_interval_end: '2026-01-15T10:00:00Z',
- },
- {
- id: 'run-002',
- status: 'Failed',
- created_at: '2026-01-15T09:00:00Z',
- data_interval_start: '2026-01-15T08:00:00Z',
- data_interval_end: '2026-01-15T09:00:00Z',
- },
- ],
- })
-
- await page.goto(`/pipeline/batch-exports/${MOCK_EXPORT_ID}?tab=runs`)
-
- // Verify runs table renders with status indicators
- await expect(page.getByText('Completed')).toBeVisible()
- await expect(page.getByText('Failed')).toBeVisible()
-
- // Verify batch export context uses "Rows exported" (not "Events exported")
- await expect(page.getByRole('columnheader', { name: 'Rows exported' })).toBeVisible()
-
- // Verify "Bytes exported" column is shown for batch exports
- await expect(page.getByRole('columnheader', { name: 'Bytes exported' })).toBeVisible()
- })
-
- test('Creates a backfill successfully from runs tab', async ({ page }) => {
- await setupRunsRoutes(page)
-
- await page.goto(`/pipeline/batch-exports/${MOCK_EXPORT_ID}?tab=runs`)
-
- // Open the backfill modal
- await page.getByRole('button', { name: 'Start backfill' }).click()
- await expect(page.getByRole('dialog')).toBeVisible()
-
- // Select a start date (go back one month to avoid start == end edge case)
- await page.getByRole('dialog').getByRole('button', { name: 'Select start date' }).click()
- await page.locator('[data-attr="lemon-calendar-month-previous"]').click()
- await page
- .locator('[data-attr="lemon-calendar-select"]')
- .getByRole('button', { name: '1', exact: true })
- .first()
- .click()
- await page.locator('[data-attr="lemon-calendar-select-apply"]').click()
-
- // Submit the backfill form
- await page.getByRole('dialog').getByRole('button', { name: 'Schedule runs' }).click()
-
- // Verify the success toast appears
- await expect(page.locator('[data-attr="success-toast"]')).toContainText('Backfill created')
- })
-})
diff --git a/playwright/e2e/billing/billing-limits.spec.ts b/playwright/e2e/billing/billing-limits.spec.ts
deleted file mode 100644
index f75bcb8c6d29..000000000000
--- a/playwright/e2e/billing/billing-limits.spec.ts
+++ /dev/null
@@ -1,161 +0,0 @@
-import { Page } from '@playwright/test'
-import fs from 'fs'
-import path from 'path'
-
-import { PlaywrightWorkspaceSetupResult, expect, test } from '../../utils/workspace-test-base'
-
-type BillingRouteHandlers = {
- getResponse: (billingContent: Record<string, any>) => Record<string, any>
- patchResponse: (billingContent: Record<string, any>) => Record<string, any>
-}
-
-async function setupBillingRoutes(page: Page, handlers: BillingRouteHandlers): Promise<void> {
- const filePath = path.join(__dirname, '../../mocks/billing/billing.json')
- let billingContent = JSON.parse(fs.readFileSync(filePath, 'utf-8'))
- let isInitialized = false
-
- await page.route('**/api/billing/', async (route) => {
- const method = route.request().method()
-
- if (method === 'GET') {
- // Only apply getResponse transformation on first GET request.
- // This prevents the mock from resetting to initial state after a PATCH update.
- // Without this, the second GET after form submission would reset the limit back to initial value.
- if (!isInitialized) {
- billingContent = handlers.getResponse(billingContent)
- isInitialized = true
- }
- await route.fulfill({
- status: 200,
- body: JSON.stringify(billingContent),
- headers: {
- 'X-Mock-Response': 'true',
- },
- })
- } else if (method === 'PATCH') {
- billingContent = handlers.patchResponse(billingContent)
- await route.fulfill({
- status: 200,
- body: JSON.stringify(billingContent),
- headers: {
- 'X-Mock-Response': 'true',
- },
- })
- }
- })
-}
-
-test.describe('Billing Limits', () => {
- let workspace: PlaywrightWorkspaceSetupResult | null = null
-
- test.beforeAll(async ({ playwrightSetup }) => {
- workspace = await playwrightSetup.createWorkspace({ skip_onboarding: true, no_demo_data: true })
- })
-
- test.beforeEach(async ({ page, playwrightSetup }) => {
- await playwrightSetup.login(page, workspace!)
- })
-
- test('Show no limits set and allow user to set one', async ({ page }) => {
- await setupBillingRoutes(page, {
- getResponse: (billingContent) => billingContent,
- patchResponse: (billingContent) => {
- billingContent.custom_limits_usd = { product_analytics: 100 }
- return billingContent
- },
- })
-
- await page.goto('/organization/billing')
-
- await page.locator('[data-attr="billing-limit-input-wrapper-product_analytics"]').scrollIntoViewIfNeeded()
- await expect(page.locator('[data-attr="billing-limit-not-set-product_analytics"]')).toBeVisible()
- await page
- .getByTestId('billing-limit-input-wrapper-product_analytics')
- .getByRole('button', { name: 'Set a billing limit' })
- .click()
- await page.fill('[data-attr="billing-limit-input-product_analytics"]', '100')
- await page.locator('[data-attr="save-billing-limit-product_analytics"]').click()
-
- // Wait for form to exit edit mode (indicates async flow completed)
- await expect(page.locator('[data-attr="save-billing-limit-product_analytics"]')).not.toBeVisible()
- await expect(page.locator('[data-attr="billing-limit-set-product_analytics"]')).toContainText(
- 'You have a $100 billing limit set'
- )
- })
-
- test('Show existing limit and allow user to change it', async ({ page }) => {
- await setupBillingRoutes(page, {
- getResponse: (billingContent) => {
- billingContent.custom_limits_usd = { product_analytics: 100 }
- return billingContent
- },
- patchResponse: (billingContent) => {
- billingContent.custom_limits_usd = { product_analytics: 200 }
- return billingContent
- },
- })
-
- await page.goto('/organization/billing')
-
- await page.locator('[data-attr="billing-limit-input-wrapper-product_analytics"]').scrollIntoViewIfNeeded()
- await expect(page.locator('[data-attr="billing-limit-set-product_analytics"]')).toBeVisible()
- await page.locator('text=Edit limit').click()
- await page.fill('[data-attr="billing-limit-input-product_analytics"]', '200')
- await page.locator('[data-attr="save-billing-limit-product_analytics"]').click()
-
- // Wait for form to exit edit mode (indicates async flow completed)
- await expect(page.locator('[data-attr="save-billing-limit-product_analytics"]')).not.toBeVisible()
- await expect(page.locator('[data-attr="billing-limit-set-product_analytics"]')).toContainText(
- 'You have a $200 billing limit set'
- )
- })
-
- test('Show existing limit and allow user to change set to $0', async ({ page }) => {
- await setupBillingRoutes(page, {
- getResponse: (billingContent) => {
- billingContent.custom_limits_usd = { product_analytics: 100 }
- return billingContent
- },
- patchResponse: (billingContent) => {
- billingContent.custom_limits_usd = { product_analytics: 0 }
- return billingContent
- },
- })
-
- await page.goto('/organization/billing')
-
- await page.locator('[data-attr="billing-limit-input-wrapper-product_analytics"]').scrollIntoViewIfNeeded()
- await expect(page.locator('[data-attr="billing-limit-set-product_analytics"]')).toBeVisible()
- await page.locator('text=Edit limit').click()
- await page.fill('[data-attr="billing-limit-input-product_analytics"]', '0')
- await page.locator('[data-attr="save-billing-limit-product_analytics"]').click()
-
- // Wait for form to exit edit mode (indicates async flow completed)
- await expect(page.locator('[data-attr="save-billing-limit-product_analytics"]')).not.toBeVisible()
- await expect(page.locator('[data-attr="billing-limit-set-product_analytics"]')).toContainText(
- 'You have a $0 billing limit set'
- )
- })
-
- test('Show existing limit and allow user to remove it', async ({ page }) => {
- await setupBillingRoutes(page, {
- getResponse: (billingContent) => {
- billingContent.custom_limits_usd = { product_analytics: 100 }
- return billingContent
- },
- patchResponse: (billingContent) => {
- billingContent.custom_limits_usd = {}
- return billingContent
- },
- })
-
- await page.goto('/organization/billing')
-
- await page.locator('[data-attr="billing-limit-input-wrapper-product_analytics"]').scrollIntoViewIfNeeded()
- await expect(page.locator('[data-attr="billing-limit-set-product_analytics"]')).toBeVisible()
- await page.locator('text=Edit limit').click()
- await page.locator('[data-attr="remove-billing-limit-product_analytics"]').click()
-
- await expect(page.locator('[data-attr="billing-limit-not-set-product_analytics"]')).toBeVisible()
- })
-})
diff --git a/playwright/e2e/billing/billing.spec.ts b/playwright/e2e/billing/billing.spec.ts
deleted file mode 100644
index baa3a164b97d..000000000000
--- a/playwright/e2e/billing/billing.spec.ts
+++ /dev/null
@@ -1,84 +0,0 @@
-import fs from 'fs'
-import path from 'path'
-
-import { PlaywrightWorkspaceSetupResult, expect, test } from '../../utils/workspace-test-base'
-
-test.describe('Billing', () => {
- let workspace: PlaywrightWorkspaceSetupResult | null = null
-
- test.beforeAll(async ({ playwrightSetup }) => {
- workspace = await playwrightSetup.createWorkspace({ skip_onboarding: true, no_demo_data: true })
- })
-
- test.beforeEach(async ({ page, playwrightSetup }) => {
- await playwrightSetup.login(page, workspace!)
-
- // This replicates cy.intercept('/api/billing/') with fixture
- // We'll read the JSON from a fixture folder. Adjust the path as needed.
- await page.route('**/api/billing/', async (route) => {
- // If your codebase uses a different structure, update accordingly
- const filePath = path.join(__dirname, '../../mocks/billing/billing.json')
- const billingContent = fs.readFileSync(filePath, 'utf-8')
- await route.fulfill({
- status: 200,
- body: billingContent,
- })
- })
-
- // Visit the billing page
- await page.goto('/organization/billing')
- })
-
- test('Show and submit unsubscribe survey', async ({ page }) => {
- // Intercept the specific unsubscribe request
- await page.route('**/api/billing/deactivate?products=product_analytics', async (route) => {
- const filePath = path.join(__dirname, '../../mocks/billing/billing-unsubscribed-product-analytics.json')
- const unsubscribedContent = fs.readFileSync(filePath, 'utf-8')
- await route.fulfill({
- status: 200,
- body: unsubscribedContent,
- })
- })
-
- // In Cypress we did "cy.get('[data-attr=more-button]').first().click()"
- // In Playwright, we can use nth(0) to select the first occurrence
- await page.locator('[data-attr=more-button]').nth(0).click()
- await page.locator('.LemonButton', { hasText: 'Unsubscribe' }).click()
-
- // Check the modal
- await expect(page.locator('.LemonModal h3')).toContainText('Unsubscribe from Product analytics')
- await page.click('[data-attr=unsubscribe-reason-too-expensive]')
- await page.fill('[data-attr=unsubscribe-reason-survey-textarea]', 'Product analytics')
-
- // Confirm unsubscribing
- await page.locator('.LemonModal .LemonButton', { hasText: 'Unsubscribe' }).click()
-
- // TODO need to be able to read posthog events
-
- // For now, we'll just check that the modal disappears and the request was made
- await expect(page.locator('.LemonModal')).not.toBeVisible()
- })
-
- test('Unsubscribe survey text area maintains unique state between product types', async ({ page }) => {
- // Working with the first product
- await page.locator('[data-attr=more-button]').nth(0).click()
- await page.locator('.LemonButton', { hasText: 'Unsubscribe' }).click()
- await expect(page.locator('.LemonModal h3')).toContainText('Unsubscribe from Product analytics')
- await page.click('[data-attr=unsubscribe-reason-too-expensive]')
- await page.fill('[data-attr=unsubscribe-reason-survey-textarea]', 'Product analytics')
- await page.locator('.LemonModal .LemonButton', { hasText: 'Cancel' }).click()
-
- // Second product
- await page.locator('[data-attr=more-button]').nth(1).click()
- await page.locator('.LemonButton', { hasText: 'Unsubscribe' }).click()
- await expect(page.locator('.LemonModal h3')).toContainText('Unsubscribe from Session replay')
- await page.click('[data-attr=unsubscribe-reason-too-expensive]')
- await page.fill('[data-attr=unsubscribe-reason-survey-textarea]', 'Session replay')
- await page.locator('.LemonModal .LemonButton', { hasText: 'Cancel' }).click()
-
- // Re-check the first product's survey
- await page.locator('[data-attr=more-button]').nth(0).click()
- await page.locator('.LemonButton', { hasText: 'Unsubscribe' }).click()
- await expect(page.locator('[data-attr=unsubscribe-reason-survey-textarea]')).toHaveValue('Product analytics')
- })
-})
diff --git a/playwright/e2e/cdp/hog-function-backfills.spec.ts b/playwright/e2e/cdp/hog-function-backfills.spec.ts
deleted file mode 100644
index 64737a5257ea..000000000000
--- a/playwright/e2e/cdp/hog-function-backfills.spec.ts
+++ /dev/null
@@ -1,190 +0,0 @@
-import { Page } from '@playwright/test'
-
-import { mockFeatureFlags } from '../../utils/mockApi'
-import { PlaywrightWorkspaceSetupResult, expect, test } from '../../utils/workspace-test-base'
-import { createMockBatchExport, setupBatchExportRoutes } from '../batch-exports/batch-export-helpers'
-
-const MOCK_HOG_FUNCTION_ID = 'hog-func-001'
-const MOCK_BATCH_EXPORT_ID = 'batch-export-from-hog-func'
-
-async function setupHogFunctionBackfillRoutes(page: Page, options: { runs?: object[] } = {}): Promise<void> {
- const mockHogFunction = {
- id: MOCK_HOG_FUNCTION_ID,
- type: 'destination',
- name: 'Test Destination',
- description: 'A test destination with backfills',
- enabled: true,
- deleted: false,
- hog: '',
- bytecode: [],
- inputs_schema: [],
- inputs: {},
- filters: {},
- icon_url: null,
- template: null,
- status: { state: 0, ratings: [], states: [] },
- created_at: '2026-01-01T00:00:00Z',
- created_by: { id: 1, uuid: 'user-001', distinct_id: 'user-001', first_name: 'Test', email: '[email protected]' },
- updated_at: '2026-01-01T00:00:00Z',
- batch_export_id: MOCK_BATCH_EXPORT_ID,
- }
-
- // Mock hog function API
- await page.route(
- (url) => url.pathname.includes(`/hog_functions/${MOCK_HOG_FUNCTION_ID}`),
- async (route) => {
- if (route.request().method() === 'GET') {
- await route.fulfill({
- status: 200,
- contentType: 'application/json',
- body: JSON.stringify(mockHogFunction),
- })
- } else {
- await route.continue()
- }
- }
- )
-
- // Enable backfill feature flag using the shared utility
- await mockFeatureFlags(page, {
- 'backfill-workflows-destination': true,
- })
-
- // Mock batch export routes
- const mockBatchExport = createMockBatchExport({ id: MOCK_BATCH_EXPORT_ID })
- await setupBatchExportRoutes(page, MOCK_BATCH_EXPORT_ID, mockBatchExport)
-
- // Mock batch export backfills API
- await page.route(
- (url) => url.pathname.includes(`/batch_exports/${MOCK_BATCH_EXPORT_ID}/backfills`),
- async (route) => {
- await route.fulfill({
- status: 200,
- contentType: 'application/json',
- body: JSON.stringify({
- results: [
- {
- id: 'backfill-001',
- status: 'Completed',
- created_at: '2026-01-15T10:00:00Z',
- start_at: '2026-01-10T00:00:00Z',
- end_at: '2026-01-15T00:00:00Z',
- total_records_count: 1234,
- },
- ],
- next: null,
- }),
- })
- }
- )
-
- // Mock batch export runs API
- const defaultRuns = [
- {
- id: 'run-001',
- status: 'Completed',
- created_at: '2026-01-15T10:00:00Z',
- data_interval_start: '2026-01-15T09:00:00Z',
- data_interval_end: '2026-01-15T10:00:00Z',
- records_completed: 500,
- },
- {
- id: 'run-002',
- status: 'Failed',
- created_at: '2026-01-15T09:00:00Z',
- data_interval_start: '2026-01-15T08:00:00Z',
- data_interval_end: '2026-01-15T09:00:00Z',
- },
- ]
- await page.route(
- (url) => url.pathname.includes(`/batch_exports/${MOCK_BATCH_EXPORT_ID}/runs`),
- async (route) => {
- await route.fulfill({
- status: 200,
- contentType: 'application/json',
- body: JSON.stringify({ results: options.runs ?? defaultRuns, next: null }),
- })
- }
- )
-}
-
-test.describe('Hog function backfills tab', () => {
- let workspace: PlaywrightWorkspaceSetupResult | null = null
-
- test.beforeAll(async ({ playwrightSetup }) => {
- workspace = await playwrightSetup.createWorkspace({ skip_onboarding: true, no_demo_data: true })
- })
-
- test.beforeEach(async ({ page, playwrightSetup }) => {
- await playwrightSetup.login(page, workspace!)
- })
-
- test('Renders backfills table when navigating to backfills tab on a hog function destination', async ({ page }) => {
- await setupHogFunctionBackfillRoutes(page)
-
- // Navigate to the hog function page
- await page.goto(`/functions/${MOCK_HOG_FUNCTION_ID}`)
-
- // First verify the Backfills tab is visible (requires feature flag)
- const backfillsTab = page.getByRole('tab', { name: 'Backfills' })
- await expect(backfillsTab).toBeVisible({ timeout: 10000 })
-
- // Click the Backfills tab
- await backfillsTab.click()
-
- // Verify backfill data renders
- await expect(page.getByText('Completed')).toBeVisible({ timeout: 10000 })
-
- // Verify hog function context uses "events" not "rows" in column header
- await expect(page.getByRole('columnheader', { name: 'Total events' })).toBeVisible()
-
- // Verify table structure
- await expect(page.getByRole('columnheader', { name: 'Interval start' })).toBeVisible()
- await expect(page.getByRole('columnheader', { name: 'Interval end' })).toBeVisible()
-
- // Verify Start backfill button is present
- await expect(page.getByRole('button', { name: 'Start backfill' })).toBeVisible()
- })
-
- test('Renders runs table when navigating to Backfill Runs tab on a hog function destination', async ({ page }) => {
- await setupHogFunctionBackfillRoutes(page)
-
- // Navigate to the hog function page
- await page.goto(`/functions/${MOCK_HOG_FUNCTION_ID}`)
-
- // Verify the Backfill Runs tab is visible
- const runsTab = page.getByRole('tab', { name: 'Backfill Runs' })
- await expect(runsTab).toBeVisible({ timeout: 10000 })
-
- // Click the Backfill Runs tab
- await runsTab.click()
-
- // Verify runs table renders with status indicators
- await expect(page.getByText('Completed')).toBeVisible({ timeout: 10000 })
- await expect(page.getByText('Failed')).toBeVisible()
-
- // Verify hog function context uses "Events exported" not "Rows exported"
- await expect(page.getByRole('columnheader', { name: 'Events exported' })).toBeVisible()
-
- // Verify the Show latest runs toggle is present
- await expect(page.getByText('Show latest runs')).toBeVisible()
- })
-
- test('Shows empty state with Start backfill button when no runs exist', async ({ page }) => {
- await setupHogFunctionBackfillRoutes(page, { runs: [] })
-
- // Navigate to the hog function page
- await page.goto(`/functions/${MOCK_HOG_FUNCTION_ID}`)
-
- // Click the Backfill Runs tab
- const runsTab = page.getByRole('tab', { name: 'Backfill Runs' })
- await expect(runsTab).toBeVisible({ timeout: 10000 })
- await runsTab.click()
-
- // Verify empty state message
- await expect(page.getByText('No runs in this time range.')).toBeVisible({ timeout: 10000 })
-
- // Verify Start backfill button is shown in empty state
- await expect(page.getByRole('button', { name: 'Start backfill' })).toBeVisible()
- })
-})
diff --git a/playwright/e2e/events.spec.ts b/playwright/e2e/events.spec.ts
deleted file mode 100644
index bd6c866b20de..000000000000
--- a/playwright/e2e/events.spec.ts
+++ /dev/null
@@ -1,83 +0,0 @@
-import path from 'path'
-
-import { PlaywrightWorkspaceSetupResult, expect, test } from '../utils/workspace-test-base'
-
-test.describe('Events', () => {
- let workspace: PlaywrightWorkspaceSetupResult | null = null
-
- test.beforeAll(async ({ playwrightSetup }) => {
- workspace = await playwrightSetup.createWorkspace({ skip_onboarding: true, no_demo_data: true })
- })
-
- test.beforeEach(async ({ page, playwrightSetup }) => {
- await playwrightSetup.loginAndNavigateToTeam(page, workspace!)
-
- await page.route('/api/event/values?key=%24browser', (route) =>
- route.fulfill({
- status: 200,
- body: JSON.stringify([{ name: 'Chrome 145' }, { name: 'Firefox' }]),
- })
- )
-
- await page.route('/api/projects/@current/property_definitions/?limit=5000', (route) =>
- route.fulfill({
- status: 200,
- path: path.resolve(__dirname, '../mocks/events/property_definitions.json'),
- })
- )
-
- // The endpoint injects params (exclude_hidden, exclude_restricted, ...) between
- // is_feature_flag and search, so match on the discriminating params regardless of order.
- await page.route('**/property_definitions?*is_feature_flag=false*search=&*', (route) =>
- route.fulfill({
- status: 200,
- path: path.resolve(__dirname, '../mocks/events/property_definitions.json'),
- })
- )
-
- await page.route('**/property_definitions?*is_feature_flag=false*search=%24time*', (route) =>
- route.fulfill({
- status: 200,
- path: path.resolve(__dirname, '../mocks/events/only_time_property_definition.json'),
- })
- )
-
- await page.route('**/property_definitions?*is_feature_flag=false*search=%24browser*', (route) =>
- route.fulfill({
- status: 200,
- path: path.resolve(__dirname, '../mocks/events/browser_property_definitions.json'),
- })
- )
-
- await page.route('**/property_definitions?*is_feature_flag=true*', (route) =>
- route.fulfill({
- status: 200,
- path: path.resolve(__dirname, '../mocks/events/feature_flag_property_definition.json'),
- })
- )
-
- await page.goToMenuItem('activity')
- await page.waitForURL('**/activity/explore')
- })
-
- test('Apply a single overall filter', async ({ page }) => {
- await page.locator('[data-attr^="new-prop-filter-EventPropertyFilters."]').first().click()
- await page.locator('[data-attr=taxonomic-filter-searchfield]').fill('$browser')
- await page.locator('.taxonomic-list-row').getByText('Browser').first().click()
- await page.locator('[data-attr=prop-val]').click({ force: true })
- await page.waitForResponse('/api/event/values?key=%24browser')
-
- const taxonomicValueInput = page.locator('[data-attr="taxonomic-value-select"] input')
- await expect(taxonomicValueInput).toBeVisible()
- await taxonomicValueInput.fill('Chrome 145')
- await taxonomicValueInput.press('Enter')
- await expect(page.locator('.DataTable')).toBeVisible()
- })
-
- test('Separates feature flag properties into their own tab', async ({ page }) => {
- await page.locator('[data-attr^="new-prop-filter-EventPropertyFilters."]').first().click()
- await expect(page.locator('[data-attr="taxonomic-tab-event_feature_flags"]')).toContainText('Feature flags: 2')
- await page.locator('[data-attr="taxonomic-tab-event_feature_flags"]').click()
- await expect(page.locator('.taxonomic-list-row:visible')).toHaveCount(2)
- })
-})
diff --git a/playwright/e2e/experiments/experiment-metric-validation.spec.ts b/playwright/e2e/experiments/experiment-metric-validation.spec.ts
deleted file mode 100644
index 0736e1c61b90..000000000000
--- a/playwright/e2e/experiments/experiment-metric-validation.spec.ts
+++ /dev/null
@@ -1,103 +0,0 @@
-/**
- * Regression: experiment metric event validation must not reject:
- * 1. Empty-string event names — pydantic permits `event: ""` but it's not a queryable
- * event name. Treat it like None / "All events" instead of raising the misleading
- * `Event(s) '' not found` error customers were hitting.
- * 2. Events scoped to the project (not just the specific team) — the EventDefinition
- * list endpoint is project-scoped, so users can pick events ingested by sibling
- * teams in the same project. Validation must mirror that scope or it rejects
- * legitimate selections.
- */
-import { expect, test } from '../../utils/workspace-test-base'
-
-const FLAG_KEY = 'e2e-metric-validation-flag'
-
-// No events need to be seeded: empty/whitespace event names should never reach the
-// EventDefinition lookup at all (the extractor must skip them, just like None).
-// Their presence in the payload alone exercises the regression path.
-
-type ValidationCase = {
- label: string
- flagSuffix: string
- experimentName: string
- metric: Record<string, unknown>
-}
-
-const cases: ValidationCase[] = [
- {
- label: 'event=""',
- flagSuffix: '',
- experimentName: 'Empty event regression',
- metric: {
- kind: 'ExperimentMetric',
- metric_type: 'mean',
- goal: 'increase',
- source: { kind: 'EventsNode', event: '' },
- },
- },
- {
- label: 'whitespace-only event',
- flagSuffix: '-whitespace',
- experimentName: 'Whitespace event regression',
- metric: {
- kind: 'ExperimentMetric',
- metric_type: 'ratio',
- goal: 'increase',
- numerator: { kind: 'EventsNode', event: ' ' },
- denominator: { kind: 'EventsNode', event: '' },
- },
- },
-]
-
-test.describe('experiment metric validation', () => {
- for (const tc of cases) {
- test(`PATCH with ${tc.label} does not raise misleading "Event(s) ... not found"`, async ({
- page,
- playwrightSetup,
- }) => {
- const workspace = await playwrightSetup.createWorkspace({
- skip_onboarding: true,
- no_demo_data: true,
- })
-
- const apiHeaders = {
- Authorization: `Bearer ${workspace.personal_api_key}`,
- 'Content-Type': 'application/json',
- }
-
- // Create a draft experiment with no metrics
- const createResp = await page.request.post(`/api/projects/${workspace.team_id}/experiments/`, {
- headers: apiHeaders,
- data: {
- name: tc.experimentName,
- feature_flag_key: `${FLAG_KEY}${tc.flagSuffix}`,
- parameters: {
- feature_flag_variants: [
- { key: 'control', name: 'Control', rollout_percentage: 50 },
- { key: 'test', name: 'Test', rollout_percentage: 50 },
- ],
- },
- metrics: [],
- },
- })
- expect(createResp.ok()).toBe(true)
- const experiment = await createResp.json()
-
- // PATCH with a metric whose EventsNode carries an empty/whitespace event
- // should not raise a 400 with "Event(s) ... not found". The empty string
- // is not a valid event name, but it also shouldn't be treated as a failed
- // lookup against EventDefinition — it should be skipped, just like None.
- const patchResp = await page.request.patch(
- `/api/projects/${workspace.team_id}/experiments/${experiment.id}/`,
- {
- headers: apiHeaders,
- data: { metrics: [tc.metric] },
- }
- )
-
- const patchBody = await patchResp.text()
- expect(patchResp.status(), patchBody).toBe(200)
- expect(patchBody).not.toContain('not found')
- })
- }
-})
diff --git a/playwright/e2e/logs/logs-alerts.spec.ts b/playwright/e2e/logs/logs-alerts.spec.ts
deleted file mode 100644
index e073f3817f16..000000000000
--- a/playwright/e2e/logs/logs-alerts.spec.ts
+++ /dev/null
@@ -1,211 +0,0 @@
-import { Page } from '@playwright/test'
-
-import { mockFeatureFlags } from '../../utils/mockApi'
-import { PlaywrightWorkspaceSetupResult, expect, test } from '../../utils/workspace-test-base'
-
-const MOCK_ALERT_ID = '019d-mock-alert-id'
-
-type MockAlert = Record<string, unknown>
-
-const baseAlert = (overrides: MockAlert = {}): MockAlert => ({
- id: MOCK_ALERT_ID,
- name: 'Untitled alert',
- enabled: false,
- state: 'not_firing',
- filters: {},
- threshold_count: 100,
- threshold_operator: 'above',
- window_minutes: 5,
- check_interval_minutes: 5,
- evaluation_periods: 1,
- datapoints_to_alarm: 1,
- cooldown_minutes: 0,
- snooze_until: null,
- next_check_at: null,
- last_notified_at: null,
- last_checked_at: null,
- consecutive_failures: 0,
- last_error_message: null,
- state_timeline: [],
- destination_types: [],
- first_enabled_at: null,
- created_at: '2026-04-29T00:00:00Z',
- created_by: { id: 1, uuid: 'user-1', distinct_id: 'user-1', first_name: 'Test', email: '[email protected]' },
- updated_at: null,
- ...overrides,
-})
-
-async function setupAlertMocks(
- page: Page,
- initial: MockAlert = baseAlert()
-): Promise<{ alert: { current: MockAlert } }> {
- const handle = { current: { ...initial } }
-
- await page.route(
- (url) => /\/api\/projects\/[^/]+\/logs\/alerts\/?$/.test(url.pathname),
- async (route) => {
- const method = route.request().method()
- if (method === 'GET') {
- await route.fulfill({
- status: 200,
- contentType: 'application/json',
- body: JSON.stringify({ results: [handle.current], count: 1, next: null, previous: null }),
- })
- } else if (method === 'POST') {
- handle.current = baseAlert()
- await route.fulfill({
- status: 201,
- contentType: 'application/json',
- body: JSON.stringify(handle.current),
- })
- } else {
- await route.continue()
- }
- }
- )
-
- await page.route(
- (url) => /\/api\/projects\/[^/]+\/logs\/alerts\/[^/]+\/?$/.test(url.pathname),
- async (route) => {
- const method = route.request().method()
- if (method === 'GET') {
- await route.fulfill({
- status: 200,
- contentType: 'application/json',
- body: JSON.stringify(handle.current),
- })
- } else if (method === 'PATCH') {
- const patch = route.request().postDataJSON() ?? {}
- handle.current = { ...handle.current, ...patch }
- if (patch.enabled === true && handle.current.first_enabled_at == null) {
- handle.current.first_enabled_at = new Date().toISOString()
- }
- await route.fulfill({
- status: 200,
- contentType: 'application/json',
- body: JSON.stringify(handle.current),
- })
- } else if (method === 'DELETE') {
- await route.fulfill({ status: 204 })
- } else {
- await route.continue()
- }
- }
- )
-
- await page.route(
- (url) => /\/api\/projects\/[^/]+\/hog_functions\/?/.test(url.pathname),
- async (route) => {
- await route.fulfill({
- status: 200,
- contentType: 'application/json',
- body: JSON.stringify({ results: [], count: 0, next: null }),
- })
- }
- )
-
- await page.route(
- (url) => /\/api\/environments\/[^/]+\/logs\/sparkline\/?/.test(url.pathname),
- async (route) => {
- await route.fulfill({ status: 200, contentType: 'application/json', body: JSON.stringify([]) })
- }
- )
-
- await page.route(
- (url) => /\/api\/projects\/[^/]+\/integrations\/?$/.test(url.pathname),
- async (route) => {
- await route.fulfill({
- status: 200,
- contentType: 'application/json',
- body: JSON.stringify({ results: [], count: 0, next: null }),
- })
- }
- )
-
- return { alert: handle }
-}
-
-async function gotoAlertsList(page: Page, teamId: string): Promise<void> {
- await page.goto(`/project/${teamId}/logs?activeTab=alerts`)
- await page.evaluate(() => void (window as any).posthog?.reloadFeatureFlags?.())
- await expect(page.getByTestId('logs-alerts-new')).toBeVisible({ timeout: 15000 })
-}
-
-async function clickNewAlert(page: Page): Promise<void> {
- await page.getByTestId('logs-alerts-new').click()
- await page.waitForURL(new RegExp(`/logs/alerts/${MOCK_ALERT_ID}`), { timeout: 15000 })
- await expect(page.getByTestId('logs-alert-threshold-count')).toBeVisible({ timeout: 15000 })
-}
-
-async function addErrorSeverityFilter(page: Page): Promise<void> {
- const trigger = page.getByTestId('logs-severity-filter')
- await trigger.click()
- const option = page.getByTestId('logs-severity-option-error')
- await expect(option).toBeVisible({ timeout: 5000 })
- await option.click()
- await page.keyboard.press('Escape')
- await expect(trigger).toContainText(/error/i, { timeout: 5000 })
-}
-
-test.describe('Logs Alerts', () => {
- let workspace: PlaywrightWorkspaceSetupResult | null = null
-
- test.beforeAll(async ({ playwrightSetup }) => {
- workspace = await playwrightSetup.createWorkspace({ skip_onboarding: true, no_demo_data: true })
- })
-
- test.beforeEach(async ({ page, playwrightSetup }) => {
- await playwrightSetup.login(page, workspace!)
- await mockFeatureFlags(page, { 'logs-tabbed-view': true, 'logs-alerting': true })
- })
-
- test('golden creation flow: click-to-create → filter → Enable anyway → flips to enabled', async ({ page }) => {
- await setupAlertMocks(page)
-
- await test.step('click-to-create lands on detail page in draft state', async () => {
- await gotoAlertsList(page, workspace!.team_id)
- await clickNewAlert(page)
- await expect(page.getByTestId('scene-title-textarea')).toBeVisible()
- await expect(page.getByTestId('logs-alert-enable-primary')).toBeVisible()
- await expect(page.getByTestId('logs-alert-toggle-enabled')).toHaveCount(0)
- await expect(page.getByTestId('logs-alert-save-primary')).toHaveCount(0)
- await expect(page.getByTestId('logs-alert-banner-enable').first()).toBeVisible()
- })
-
- await test.step('Enable alert is disabled without filters', async () => {
- await expect(page.getByTestId('logs-alert-enable-primary')).toBeDisabled()
- })
-
- await test.step('add severity filter then Enable alert opens warning dialog', async () => {
- await addErrorSeverityFilter(page)
- await expect(page.getByTestId('logs-alert-enable-primary')).toBeEnabled()
-
- await page.getByTestId('logs-alert-enable-primary').click()
- await expect(page.getByTestId('logs-alert-warning-enable-anyway')).toBeVisible({ timeout: 10000 })
- })
-
- await test.step('Enable anyway flips alert to enabled (Save replaces Enable alert)', async () => {
- await page.getByTestId('logs-alert-warning-enable-anyway').click()
- await expect(page.getByTestId('logs-alert-save-primary')).toBeVisible({ timeout: 10000 })
- await expect(page.getByTestId('logs-alert-toggle-enabled')).toBeVisible()
- await expect(page.getByTestId('logs-alert-banner-enable')).toHaveCount(0)
- })
- })
-
- test('disabled-banner Enable button works on a dirty draft (regression for save-then-enable)', async ({ page }) => {
- await setupAlertMocks(page)
-
- await gotoAlertsList(page, workspace!.team_id)
- await clickNewAlert(page)
- await addErrorSeverityFilter(page)
-
- await test.step('banner Enable opens warning dialog (no filter-required toast, no 400)', async () => {
- await page.getByTestId('logs-alert-banner-enable').first().click()
- await expect(page.getByTestId('logs-alert-warning-configure-notifications')).toBeVisible({
- timeout: 10000,
- })
- await expect(page.getByText(/at least one filter is required/i)).toHaveCount(0)
- await expect(page.getByText(/failed to update alert/i)).toHaveCount(0)
- })
- })
-})
diff --git a/playwright/e2e/logs/logs.spec.ts b/playwright/e2e/logs/logs.spec.ts
deleted file mode 100644
index 7df73aeb830e..000000000000
--- a/playwright/e2e/logs/logs.spec.ts
+++ /dev/null
@@ -1,128 +0,0 @@
-import path from 'path'
-
-import { PlaywrightWorkspaceSetupResult, expect, test } from '../../utils/workspace-test-base'
-
-test.describe('Logs', () => {
- let workspace: PlaywrightWorkspaceSetupResult | null = null
-
- test.beforeAll(async ({ playwrightSetup }) => {
- workspace = await playwrightSetup.createWorkspace({ skip_onboarding: true, no_demo_data: true })
- })
-
- test.describe('UI integration tests (mocked API)', () => {
- test.beforeEach(async ({ page, playwrightSetup }) => {
- await playwrightSetup.login(page, workspace!)
-
- // Mock APIs BEFORE navigation to avoid race conditions
- await page.route('**/api/environments/*/logs/query/', (route) =>
- route.fulfill({
- status: 200,
- contentType: 'application/json',
- path: path.resolve(__dirname, '../../mocks/logs/logs_query_response.json'),
- })
- )
-
- await page.route('**/api/environments/*/logs/sparkline/', (route) =>
- route.fulfill({
- status: 200,
- contentType: 'application/json',
- path: path.resolve(__dirname, '../../mocks/logs/logs_sparkline_response.json'),
- })
- )
-
- await page.route('**/api/environments/*/logs/values*', (route) =>
- route.fulfill({
- status: 200,
- contentType: 'application/json',
- path: path.resolve(__dirname, '../../mocks/logs/logs_values_response.json'),
- })
- )
-
- // The facet rail populates the Level and Service facets from this endpoint, keyed by the
- // requested facetField. Return sensible values + non-zero counts for each (a fixed facet
- // value with a zero count renders disabled and can't be clicked).
- const facetValuesByField: Record<string, { value: string; count: number }[]> = {
- service_name: [
- { value: 'api-service', count: 42 },
- { value: 'web-frontend', count: 17 },
- ],
- severity_text: [
- { value: 'error', count: 12 },
- { value: 'info', count: 8 },
- ],
- }
- await page.route('**/logs/facet_values/', (route) => {
- const facetField = route.request().postDataJSON()?.query?.facetField
- const results = facetValuesByField[facetField] ?? []
- return route.fulfill({ status: 200, contentType: 'application/json', body: JSON.stringify({ results }) })
- })
-
- // Resource-attribute presence probe — return none so only the Level and Service column
- // facets render, keeping the rail deterministic.
- await page.route('**/logs/attributes/', (route) =>
- route.fulfill({ status: 200, contentType: 'application/json', body: JSON.stringify({ results: [] }) })
- )
-
- await page.goto(`/project/${workspace!.team_id}/logs`)
- await page.waitForLoadState('networkidle')
- })
-
- test('service facet passes serviceNames to API', async ({ page }) => {
- // ARRANGE: Set up request interception that only captures requests with serviceNames
- // This ensures we capture the filter-triggered request, not the initial page load
- const requestPromise = page.waitForRequest((req) => {
- if (!req.url().includes('/logs/query') || req.method() !== 'POST') {
- return false
- }
- try {
- const body = req.postDataJSON()
- return body?.query?.serviceNames && body.query.serviceNames.length > 0
- } catch {
- return false
- }
- })
-
- // ACT: Select a value from the Service facet in the rail
- await page.locator('[data-attr="logs-facet-service-api-service"]').click()
-
- // Wait for the filter-triggered request
- const request = await requestPromise
-
- // ASSERT: Verify the request contains serviceNames
- const body = request.postDataJSON()
- expect(body.query.serviceNames).toBeDefined()
- expect(body.query.serviceNames.length).toBeGreaterThan(0)
- })
-
- test('level facet passes severityLevels to API', async ({ page }) => {
- // ARRANGE: Set up request interception that only captures requests with severityLevels
- // This ensures we capture the filter-triggered request, not the initial page load
- const requestPromise = page.waitForRequest((req) => {
- if (!req.url().includes('/logs/query') || req.method() !== 'POST') {
- return false
- }
- try {
- const body = req.postDataJSON()
- return body?.query?.severityLevels && body.query.severityLevels.length > 0
- } catch {
- return false
- }
- })
-
- // ACT: Select "Error" from the Level facet in the rail
- await page.locator('[data-attr="logs-facet-level-error"]').click()
-
- // Wait for the filter-triggered request
- const request = await requestPromise
-
- // ASSERT: Verify the request contains severityLevels with 'error'
- const body = request.postDataJSON()
- expect(body.query.severityLevels).toBeDefined()
- expect(body.query.severityLevels).toContain('error')
- })
- })
-
- test.describe('E2E tests', () => {
- // TODO: Add full end-to-end tests without mocked APIs
- })
-})
diff --git a/playwright/e2e/product-analytics/cohorts.spec.ts b/playwright/e2e/product-analytics/cohorts.spec.ts
index 5e9ffc5898c3..d003b91b44e5 100644
--- a/playwright/e2e/product-analytics/cohorts.spec.ts
+++ b/playwright/e2e/product-analytics/cohorts.spec.ts
@@ -29,62 +29,4 @@ test.describe('Cohorts', () => {
await expect(page.locator('tbody')).toContainText(name)
})
-
- test('Duplicate a cohort', async ({ page }) => {
- // Cohort calculation has to settle twice before the next duplicate item flips enabled.
- test.setTimeout(120_000)
-
- const name = randomString('Test-Cohort-')
-
- await new CohortPage(page).createCohort(name)
-
- await page.goToMenuItem('people')
- await page.goToMenuItem('cohorts')
-
- await page.click('tbody >> text=' + name)
- await expect(page.locator('[data-attr="scene-name"]')).toContainText(name)
-
- // Open the panel once, then just wait for each item to flip enabled
- await page.locator('[data-attr=open-context-panel-button]').first().click()
-
- const dynamicItem = page.getByRole('button', { name: 'Duplicate as dynamic cohort' })
- await expect(dynamicItem).toBeEnabled({ timeout: 30_000 })
- await dynamicItem.click()
- await page.locator('.Toastify__toast-body').getByRole('button', { name: 'View cohort' }).click()
-
- // The panel's open state persists across the client-side nav. The open
- // button is unmounted while the panel is open, so only click it if the
- // panel actually closed. Wait for the URL to advance to the new cohort
- // before checking visibility.
- await page.waitForURL(/\/cohorts\/\d+/)
- const reopenPanelButton = page.locator('[data-attr=open-context-panel-button]').first()
- if (await reopenPanelButton.isVisible().catch(() => false)) {
- await reopenPanelButton.click()
- }
-
- const staticItem = page.getByRole('button', { name: 'Duplicate as static cohort' })
- await expect(staticItem).toBeEnabled({ timeout: 30_000 })
- await staticItem.click()
- await page.locator('.Toastify__toast-body').getByRole('button', { name: 'View cohort' }).click()
-
- // Wait until we've actually landed on the static-copy page before deleting —
- // otherwise cohort-delete fires on the still-mounted dynamic-copy page and the
- // static copy survives the deletion.
- await expect(page.locator('[data-attr="scene-name"]')).toContainText(name + ' (dynamic copy) (static copy)')
-
- await page.locator('[data-attr="cohort-delete"]').click()
- const deleteDialog = page.locator('.LemonModal__layout').filter({ hasText: 'Delete cohort?' })
- await expect(deleteDialog).toBeVisible()
- await deleteDialog.getByRole('button', { name: 'Delete' }).click()
-
- // The delete redirects back to the cohorts list (e.g. /cohorts?page=1#panel=max)
- // once the request resolves, so waiting for it guarantees the deletion committed
- // before we reload and assert. Match the list URL but not the /cohorts/<id> detail.
- await expect(page).toHaveURL(/\/cohorts(\?|#|$)/)
-
- await page.goToMenuItem('people')
- await page.goToMenuItem('cohorts')
-
- await expect(page.locator('tbody')).not.toContainText(name + ' (dynamic copy) (static copy)')
- })
})
diff --git a/playwright/e2e/product-analytics/insight-json-tab.spec.ts b/playwright/e2e/product-analytics/insight-json-tab.spec.ts
deleted file mode 100644
index e1bc118f8115..000000000000
--- a/playwright/e2e/product-analytics/insight-json-tab.spec.ts
+++ /dev/null
@@ -1,32 +0,0 @@
-import { Navigation } from '../../utils/navigation'
-import { PlaywrightWorkspaceSetupResult, expect, test } from '../../utils/workspace-test-base'
-
-let workspace: PlaywrightWorkspaceSetupResult | null = null
-
-test.beforeAll(async ({ playwrightSetup }) => {
- workspace = await playwrightSetup.createWorkspace({ use_current_time: true, skip_onboarding: true })
-})
-
-test.beforeEach(async ({ page, playwrightSetup }) => {
- await playwrightSetup.login(page, workspace!)
-})
-
-test('can open event explorer as an insight', async ({ page }) => {
- const navigation = new Navigation(page)
- await navigation.openHome()
-
- await navigation.openMenuItem('activity')
- await page.getByTestId('data-table-export-menu').click()
- await page.getByTestId('open-json-editor-button').click()
-
- await expect(page.getByTestId('insight-json-tab')).toHaveCount(1)
-})
-
-test('does not show the json tab usually', async ({ page }) => {
- const navigation = new Navigation(page)
- await navigation.openHome()
-
- await navigation.openMenuItem('product-analytics')
-
- await expect(page.getByTestId('insight-json-tab')).toHaveCount(0)
-})
diff --git a/playwright/e2e/product-analytics/insights-list.spec.ts b/playwright/e2e/product-analytics/insights-list.spec.ts
index 8933944ba5bd..d84ad3e75950 100644
--- a/playwright/e2e/product-analytics/insights-list.spec.ts
+++ b/playwright/e2e/product-analytics/insights-list.spec.ts
@@ -70,29 +70,4 @@ test.describe('Insights list', () => {
await expect(page.getByText('There are no insights matching')).toBeVisible()
})
})
-
- test('Can duplicate an insight from the list', async ({ page }) => {
- const insight = new InsightPage(page)
- const insightName = randomString('to-duplicate')
-
- await test.step('create an insight', async () => {
- await insight.goToNewTrends()
- await insight.trends.waitForChart()
- await insight.editName(insightName)
- await insight.save()
- })
-
- await test.step('duplicate the insight via row menu', async () => {
- await insight.goToList()
- await page.getByPlaceholder('Search').fill(insightName)
- await expect(page.getByText(insightName)).toBeVisible()
- await page.locator('table tbody tr').first().hover()
- await page.locator('table tbody tr').first().getByTestId('more-button').click()
- await page.getByRole('button', { name: 'Duplicate' }).click()
- })
-
- await test.step('verify duplicate was created', async () => {
- await expect(page.getByText(`${insightName} (copy)`).first()).toBeVisible()
- })
- })
})
diff --git a/playwright/e2e/product-analytics/insights/funnels.spec.ts b/playwright/e2e/product-analytics/insights/funnels.spec.ts
index 601cc08ed4de..cc222dc908b2 100644
--- a/playwright/e2e/product-analytics/insights/funnels.spec.ts
+++ b/playwright/e2e/product-analytics/insights/funnels.spec.ts
@@ -187,26 +187,6 @@ test.describe('Funnel insights', () => {
})
})
- test('Change funnel layout between left-to-right and top-to-bottom', async ({ page }) => {
- const insight = await goToSeededFunnel(page)
-
- await test.step('default is left-to-right (vertical bars)', async () => {
- await expect(insight.funnels.verticalChart).toBeVisible()
- })
-
- await test.step('switch to top-to-bottom layout', async () => {
- await insight.funnels.selectLayout('Top to bottom')
- await expect(insight.funnels.horizontalChart).toBeVisible()
- await expect(insight.funnels.verticalChart).not.toBeVisible()
- })
-
- await test.step('switch back to left-to-right layout', async () => {
- await insight.funnels.selectLayout('Left to right')
- await expect(insight.funnels.verticalChart).toBeVisible()
- await expect(insight.funnels.horizontalChart).not.toBeVisible()
- })
- })
-
test('Configure step ordering and session aggregation gating', async ({ page }) => {
const insight = await goToSeededFunnel(page, 1)
diff --git a/playwright/e2e/product-analytics/insights/lifecycle.spec.ts b/playwright/e2e/product-analytics/insights/lifecycle.spec.ts
deleted file mode 100644
index 640fc1b9ef30..000000000000
--- a/playwright/e2e/product-analytics/insights/lifecycle.spec.ts
+++ /dev/null
@@ -1,35 +0,0 @@
-import { InsightType } from '~/types'
-
-import { InsightPage } from '../../../page-models/insightPage'
-import { PlaywrightWorkspaceSetupResult, expect, test } from '../../../utils/workspace-test-base'
-
-test.describe('Lifecycle insights', () => {
- let workspace: PlaywrightWorkspaceSetupResult | null = null
-
- test.beforeAll(async ({ playwrightSetup }) => {
- workspace = await playwrightSetup.createWorkspace({ use_current_time: true, skip_onboarding: true })
- })
-
- test.beforeEach(async ({ page, playwrightSetup }) => {
- await playwrightSetup.login(page, workspace!)
- })
-
- test('verify chart and lifecycle toggles, save and persist', async ({ page }) => {
- const insight = new InsightPage(page)
-
- await test.step('navigate to new Lifecycle insight and wait for result', async () => {
- await insight.goToNewInsight(InsightType.LIFECYCLE)
- await expect(insight.activeTab).toContainText('Lifecycle')
- await insight.lifecycle.waitForChart()
- })
-
- await test.step('verify lifecycle toggles section is present', async () => {
- await expect(page.getByText('Lifecycle Toggles')).toBeVisible()
- })
-
- await test.step('save and verify view mode', async () => {
- await insight.save()
- await expect(insight.editButton).toBeVisible()
- })
- })
-})
diff --git a/playwright/e2e/project-home-page.spec.ts b/playwright/e2e/project-home-page.spec.ts
deleted file mode 100644
index 5243f1ebd112..000000000000
--- a/playwright/e2e/project-home-page.spec.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-import { PlaywrightWorkspaceSetupResult, expect, test } from '../utils/workspace-test-base'
-
-test.describe('Project Homepage', () => {
- let workspace: PlaywrightWorkspaceSetupResult | null = null
-
- test.beforeAll(async ({ playwrightSetup }) => {
- workspace = await playwrightSetup.createWorkspace({ use_current_time: true, skip_onboarding: true })
- })
-
- test.beforeEach(async ({ page, playwrightSetup }) => {
- await playwrightSetup.login(page, workspace!)
- })
-
- test('Shows AI-first homepage on load', async ({ page }) => {
- await page.goToMenuItem('projecthomepage')
- await expect(page.locator('[data-attr=homepage-input]')).toBeVisible()
- })
-})
diff --git a/playwright/e2e/web-analytics.spec.ts b/playwright/e2e/web-analytics.spec.ts
deleted file mode 100644
index 1f4dc6473f7a..000000000000
--- a/playwright/e2e/web-analytics.spec.ts
+++ /dev/null
@@ -1,22 +0,0 @@
-import { PlaywrightWorkspaceSetupResult, expect, test } from '../utils/workspace-test-base'
-
-test.describe('Web Analytics', () => {
- let workspace: PlaywrightWorkspaceSetupResult | null = null
-
- test.beforeAll(async ({ playwrightSetup }) => {
- workspace = await playwrightSetup.createWorkspace({ skip_onboarding: true, no_demo_data: true })
- })
-
- test.beforeEach(async ({ page, playwrightSetup }) => {
- await playwrightSetup.login(page, workspace!)
- })
-
- test('Can open add authorized URL form', async ({ page }) => {
- await page.goto('/web')
- // Open the domain filter dropdown
- await page.getByText('All domains').click()
- // Click the add button in the dropdown footer
- await page.getByText('Add authorized URL').click()
- await expect(page.locator('[data-attr="web-authorized-url-input"]')).toBeVisible()
- })
-})
diff --git a/playwright/mocks/billing/billing-subscribed-all.json b/playwright/mocks/billing/billing-subscribed-all.json
deleted file mode 100644
index 3fcf06f3ffec..000000000000
--- a/playwright/mocks/billing/billing-subscribed-all.json
+++ /dev/null
@@ -1,3542 +0,0 @@
-{
- "license": {
- "plan": "cloud"
- },
- "customer_id": "cus_12345678",
- "deactivated": false,
- "has_active_subscription": true,
- "billing_period": {
- "current_period_start": "2024-02-20T20:30:09Z",
- "current_period_end": "2024-03-20T20:30:09Z",
- "interval": "month"
- },
- "available_product_features": [
- {
- "key": "surveys_unlimited_surveys",
- "name": "Unlimited surveys",
- "description": "Create as many surveys as you want.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_all_question_types",
- "name": "All question types",
- "description": "Rating scale (for NPS and the like), multiple choice, single choice, emoji rating, link, free text.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_multiple_questions",
- "name": "Multiple questions",
- "description": "Ask up to 10 questions in a single survey.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_user_targeting",
- "name": "Advanced user targeting",
- "description": "Target by URL, user property, or feature flag when used with Feature flags.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_user_sampling",
- "name": "User sampling",
- "description": "Sample users to only survey a portion of the users who match the criteria.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_styling",
- "name": "Custom colors & positioning",
- "description": "Customize the colors of your surveys to match your brand and set survey position.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_text_html",
- "name": "Custom HTML text",
- "description": "Add custom HTML to your survey text.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_api_mode",
- "name": "API mode",
- "description": "Using PostHog.js? No more code required. But if want to create your own UI, we have a full API.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_results_analysis",
- "name": "Aggregated results",
- "description": "See feedback summarized and broken down per response, plus completion rates and drop offs.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_templates",
- "name": "Templates",
- "description": "Use our templates to get started quickly with NPS, customer satisfaction surveys, user interviews, and more.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_data_retention",
- "name": "Data retention",
- "description": "Keep a historical record of your data.",
- "unit": "years",
- "limit": 7,
- "note": null
- },
- {
- "key": "zapier",
- "name": "Zapier",
- "description": "Zapier lets you connect PostHog with thousands of the most popular apps, so you can automate your work and have more time for what matters most—no code required.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "slack_integration",
- "name": "Slack",
- "description": "Get notified about new actions in Slack.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "microsoft_teams_integration",
- "name": "Microsoft Teams",
- "description": "Get notified about new actions in Microsoft Teams.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "discord_integration",
- "name": "Discord",
- "description": "Get notified about new actions in Discord.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "apps",
- "name": "Transformations",
- "description": "Use transformations to filter or modify your incoming data. (Destinations not included, see the Data pipelines addon for product analytics.)",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "app_metrics",
- "name": "Transformation & destination metrics",
- "description": "Get metrics on your transformation and destination metrics to see their usage, reliability, and more.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "boolean_flags",
- "name": "Boolean feature flags",
- "description": "Turn features on and off for specific users.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "multivariate_flags",
- "name": "Multivariate feature flags & experiments",
- "description": "Create three or more variants of a feature flag to test or release different versions of a feature.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "persist_flags_cross_authentication",
- "name": "Persist flags across authentication",
- "description": "Persist feature flags across authentication events so that flag values don't change when an anonymous user logs in and becomes identified.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "feature_flag_payloads",
- "name": "Test changes without code",
- "description": "Use JSON payloads to change text, visuals, or entire blocks of code without subsequent deployments.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "multiple_release_conditions",
- "name": "Multiple release conditions",
- "description": "Customize your rollout strategy by user or group properties, cohort, or traffic percentage.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "release_condition_overrides",
- "name": "Release condition overrides",
- "description": "For any release condition, specify which flag value the users or groups in that condition should receive.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "targeting_by_group",
- "name": "Flag targeting by groups",
- "description": "Target feature flag release conditions by group properties, not just user properties.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "local_evaluation_and_bootstrapping",
- "name": "Local evaluation & bootstrapping",
- "description": "Bootstrap flags on initialization so all flags are available immediately, without having to make extra network requests.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "flag_usage_stats",
- "name": "Flag usage stats",
- "description": "See how many times a flag has been evaluated, how many times each variant has been returned, and what values users received.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "experimentation",
- "name": "A/B testing",
- "description": "Test changes to your product and evaluate the impacts those changes make.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "group_experiments",
- "name": "Group experiments",
- "description": "Target experiments to specific groups of users so everyone in the same group gets the same variant.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "funnel_experiments",
- "name": "Funnel & trend experiments",
- "description": "Measure the impact of a change on a aggregate values or a series of events, like a signup flow.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "secondary_metrics",
- "name": "Secondary experiment metrics",
- "description": "Track additional metrics to see how your experiment affects other parts of your app or different flows.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "statistical_analysis",
- "name": "Statistical analysis",
- "description": "Get a statistical analysis of your experiment results to see if the results are significant, or if they're likely just due to chance.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "feature_flags_data_retention",
- "name": "Data retention",
- "description": "Keep a historical record of your data.",
- "unit": "years",
- "limit": 7,
- "note": null
- },
- {
- "key": "console_logs",
- "name": "Console logs",
- "description": "Debug issues faster by browsing the user's console.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "recordings_playlists",
- "name": "Recording playlists",
- "description": "Create playlists of certain session recordings to easily find and watch them again in the future.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "recordings_performance",
- "name": "Network performance on recordings",
- "description": "See your end-user's network performance and information alongside session recordings.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "session_replay_network_payloads",
- "name": "Network monitor",
- "description": "Analyze performance and network calls.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "recordings_file_export",
- "name": "Download recordings",
- "description": "Retain recordings beyond data retention limits.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "session_replay_data_retention",
- "name": "Data retention",
- "description": "Keep a historical record of your data.",
- "unit": "months",
- "limit": 3,
- "note": null
- },
- {
- "key": "replay_mask_sensitive_data",
- "name": "Block sensitive data",
- "description": "Disable capturing data from any DOM element with HTML attributes or a customizable config.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_sharing_embedding",
- "name": "Share and embed",
- "description": "Share replays directly via URL or embed via iframe.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_product_analytics_integration",
- "name": "Event timeline",
- "description": "See a history of everything that happened in a user's session.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_filter_person_properties",
- "name": "Filter person properties",
- "description": "Filter by person properties to quickly find relevant recordings.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_filter_events",
- "name": "Filter events",
- "description": "Filter by events to quickly find relevant recordings.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_dom_explorer",
- "name": "DOM Explorer",
- "description": "Freeze snapshots of recordings and explore the DOM with your browser dev tools.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "dashboards",
- "name": "Dashboards",
- "description": "Save trends, funnels, and other insights for easy reference by your whole team.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "funnels",
- "name": "Funnels",
- "description": "Visualize user dropoff between a sequence of events. See conversion rate over time, use flexible step ordering, set exclusion steps, and more.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "graphs_trends",
- "name": "Graphs & trends",
- "description": "Plot any number of events or actions over time.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "paths",
- "name": "User paths",
- "description": "Limited paths excludes: customizing path insights by setting the maximum number of paths, number of people on each path, how path names appear",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "subscriptions",
- "name": "Insight & dashboard subscriptions",
- "description": "Create a subscription for any insight or dashboard in PostHog to receive regular reports with their updates.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "paths_advanced",
- "name": "Advanced paths",
- "description": "Customize your path insights by setting the maximum number of paths, number of people on each path, and how path names should appear.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "dashboard_permissioning",
- "name": "Dashboard permissions",
- "description": "Restrict access to dashboards within the organization to only those who need it.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "dashboard_collaboration",
- "name": "Tags & text cards",
- "description": "Keep organized by adding tags to your dashboards, cohorts and more. Add text cards and descriptions to your dashboards to provide context to your team.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "ingestion_taxonomy",
- "name": "Ingestion taxonomy",
- "description": "Ingestion taxonomy",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "correlation_analysis",
- "name": "Correlation analysis",
- "description": "Automatically highlight significant factors that affect the conversion rate of users within a funnel.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "tagging",
- "name": "Dashboard tags",
- "description": "Organize dashboards with tags.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "behavioral_cohort_filtering",
- "name": "Lifecycle",
- "description": "Discover how your active users break down, highlighting those who have recently stopped being active or those who have just become active for the first time.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "product_analytics_data_retention",
- "name": "Data retention",
- "description": "Keep a historical record of your data.",
- "unit": "years",
- "limit": 7,
- "note": null
- },
- {
- "key": "tracked_users",
- "name": "Tracked users",
- "description": "Track users across devices and sessions.",
- "unit": null,
- "limit": null,
- "note": "Unlimited"
- },
- {
- "key": "team_members",
- "name": "Team members",
- "description": "PostHog doesn't charge per seat add your entire team!",
- "unit": null,
- "limit": null,
- "note": "Unlimited"
- },
- {
- "key": "organizations_projects",
- "name": "Projects",
- "description": "Organize environments within a project. Share dashboards, insights and more across environments without duplicating work.",
- "unit": null,
- "limit": null,
- "note": "Unlimited"
- },
- {
- "key": "environments",
- "name": "Environments",
- "description": "Create separate silos of data within a project. Data belongs to a single environment and all queries are environment-specific.",
- "unit": null,
- "limit": null,
- "note": "Unlimited"
- },
- {
- "key": "api_access",
- "name": "API access",
- "description": "Access your data via our developer-friendly API.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "social_sso",
- "name": "SSO via Google, Github, or Gitlab",
- "description": "Log in to PostHog with your Google, Github, or Gitlab account.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "project_based_permissioning",
- "name": "Project permissions",
- "description": "Restrict access to data within the organization to only those who need it.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "white_labelling",
- "name": "White labeling",
- "description": "Use your own branding in your PostHog organization.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "community_support",
- "name": "Community support",
- "description": "Get help from other users and PostHog team members in our Community forums.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "dedicated_support",
- "name": "Slack (dedicated channel)",
- "description": "Get help directly from our support team in a dedicated Slack channel shared between you and the PostHog team.",
- "unit": null,
- "limit": null,
- "note": "$2k/month spend or above"
- },
- {
- "key": "email_support",
- "name": "Direct access to engineers",
- "description": "Get help directly from our product engineers via email. No wading through multiple support people before you get help.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "terms_and_conditions",
- "name": "Terms and conditions",
- "description": "Terms and conditions",
- "unit": null,
- "limit": null,
- "note": "Standard"
- },
- {
- "key": "security_assessment",
- "name": "Security assessment",
- "description": "Security assessment",
- "unit": null,
- "limit": null,
- "note": null
- }
- ],
- "current_total_amount_usd": "0.00",
- "current_total_amount_usd_after_discount": "0.00",
- "products": [
- {
- "name": "Product analytics",
- "headline": "Product analytics with autocapture",
- "description": "A comprehensive product analytics platform built to natively work with session replay, feature flags, A/B testing, and surveys.",
- "price_description": null,
- "usage_key": "events",
- "image_url": "https://posthog.com/images/products/product-analytics/product-analytics.png",
- "screenshot_url": "https://posthog.com/images/products/product-analytics/screenshot-product-analytics.png",
- "icon_key": "IconGraph",
- "docs_url": "https://posthog.com/docs/product-analytics",
- "subscribed": true,
- "plans": [
- {
- "plan_key": "free-20230117",
- "product_key": "product_analytics",
- "name": "Product analytics",
- "description": "A comprehensive product analytics platform built to natively work with session replay, feature flags, A/B testing, and surveys.",
- "image_url": "https://posthog.com/images/products/product-analytics/product-analytics.png",
- "docs_url": "https://posthog.com/docs/product-analytics",
- "note": null,
- "unit": "event",
- "free_allocation": 1000000,
- "features": [
- {
- "key": "dashboards",
- "name": "Dashboards",
- "description": "Save trends, funnels, and other insights for easy reference by your whole team.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "funnels",
- "name": "Funnels",
- "description": "Visualize user dropoff between a sequence of events. See conversion rate over time, use flexible step ordering, set exclusion steps, and more.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "graphs_trends",
- "name": "Graphs & trends",
- "description": "Plot any number of events or actions over time.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "paths",
- "name": "User paths",
- "description": "Limited paths excludes: customizing path insights by setting the maximum number of paths, number of people on each path, how path names appear",
- "unit": null,
- "limit": null,
- "note": "Limited"
- },
- {
- "key": "product_analytics_data_retention",
- "name": "Data retention",
- "description": "Keep a historical record of your data.",
- "unit": "year",
- "limit": 1,
- "note": null
- }
- ],
- "tiers": null,
- "current_plan": false,
- "included_if": null
- },
- {
- "plan_key": "paid-20240111",
- "product_key": "product_analytics",
- "name": "Product analytics",
- "description": "A comprehensive product analytics platform built to natively work with session replay, feature flags, A/B testing, and surveys.",
- "image_url": "https://posthog.com/images/products/product-analytics/product-analytics.png",
- "docs_url": "https://posthog.com/docs/product-analytics",
- "note": null,
- "unit": "event",
- "free_allocation": null,
- "features": [
- {
- "key": "dashboards",
- "name": "Dashboards",
- "description": "Save trends, funnels, and other insights for easy reference by your whole team.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "funnels",
- "name": "Funnels",
- "description": "Visualize user dropoff between a sequence of events. See conversion rate over time, use flexible step ordering, set exclusion steps, and more.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "graphs_trends",
- "name": "Graphs & trends",
- "description": "Plot any number of events or actions over time.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "paths",
- "name": "User paths",
- "description": "Limited paths excludes: customizing path insights by setting the maximum number of paths, number of people on each path, how path names appear",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "subscriptions",
- "name": "Insight & dashboard subscriptions",
- "description": "Create a subscription for any insight or dashboard in PostHog to receive regular reports with their updates.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "paths_advanced",
- "name": "Advanced paths",
- "description": "Customize your path insights by setting the maximum number of paths, number of people on each path, and how path names should appear.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "dashboard_permissioning",
- "name": "Dashboard permissions",
- "description": "Restrict access to dashboards within the organization to only those who need it.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "dashboard_collaboration",
- "name": "Tags & text cards",
- "description": "Keep organized by adding tags to your dashboards, cohorts and more. Add text cards and descriptions to your dashboards to provide context to your team.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "ingestion_taxonomy",
- "name": "Ingestion taxonomy",
- "description": "Ingestion taxonomy",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "correlation_analysis",
- "name": "Correlation analysis",
- "description": "Automatically highlight significant factors that affect the conversion rate of users within a funnel.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "tagging",
- "name": "Dashboard tags",
- "description": "Organize dashboards with tags.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "behavioral_cohort_filtering",
- "name": "Lifecycle",
- "description": "Discover how your active users break down, highlighting those who have recently stopped being active or those who have just become active for the first time.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "product_analytics_data_retention",
- "name": "Data retention",
- "description": "Keep a historical record of your data.",
- "unit": "years",
- "limit": 7,
- "note": null
- }
- ],
- "tiers": [
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0",
- "up_to": 1000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.000248",
- "up_to": 2000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.000104",
- "up_to": 15000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000655",
- "up_to": 50000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000364",
- "up_to": 100000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000187",
- "up_to": 250000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000042",
- "up_to": null,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- }
- ],
- "current_plan": true,
- "included_if": null
- }
- ],
- "type": "product_analytics",
- "free_allocation": 0,
- "tiers": [
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0",
- "up_to": 1000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": 548,
- "projected_amount_usd": "0.00"
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.000248",
- "up_to": 2000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": 0,
- "projected_amount_usd": "0.00"
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.000104",
- "up_to": 15000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": 0,
- "projected_amount_usd": "0.00"
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000655",
- "up_to": 50000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": 0,
- "projected_amount_usd": "0.00"
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000364",
- "up_to": 100000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": 0,
- "projected_amount_usd": "0.00"
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000187",
- "up_to": 250000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": 0,
- "projected_amount_usd": "0.00"
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000042",
- "up_to": null,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": 0,
- "projected_amount_usd": "0.00"
- }
- ],
- "tiered": true,
- "unit_amount_usd": null,
- "current_amount_usd_before_addons": "0.00",
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "usage_limit": null,
- "has_exceeded_limit": false,
- "percentage_usage": 0,
- "projected_usage": 548,
- "projected_amount_usd": "0.00",
- "projected_amount_usd_with_limit": "0.00",
- "unit": "event",
- "addons": [
- {
- "name": "Group analytics",
- "description": "Associate events with a group or entity - such as a company, community, or project. Analyze these events as if they were sent by that entity itself. Great for B2B, marketplaces, and more.",
- "price_description": null,
- "image_url": "https://posthog.com/images/product/product-icons/group-analytics.svg",
- "icon_key": "IconPeople",
- "docs_url": "https://posthog.com/docs/product-analytics/group-analytics",
- "type": "group_analytics",
- "tiers": [
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0",
- "up_to": 1000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.000071",
- "up_to": 2000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.00003",
- "up_to": 15000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000189",
- "up_to": 50000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000105",
- "up_to": 100000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000054",
- "up_to": 250000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000012",
- "up_to": null,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- }
- ],
- "tiered": true,
- "included_with_main_product": false,
- "subscribed": false,
- "unit": "event",
- "unit_amount_usd": null,
- "current_amount_usd": null,
- "current_usage": 0,
- "projected_usage": 0,
- "projected_amount_usd": "0.00",
- "plans": [
- {
- "plan_key": "addon-20230509",
- "product_key": "group_analytics",
- "name": "Group analytics",
- "description": "Associate events with a group or entity - such as a company, community, or project. Analyze these events as if they were sent by that entity itself. Great for B2B, marketplaces, and more.",
- "image_url": "https://posthog.com/images/product/product-icons/group-analytics.svg",
- "docs_url": "https://posthog.com/docs/product-analytics/group-analytics",
- "note": null,
- "unit": "event",
- "free_allocation": null,
- "features": [
- {
- "key": "group_analytics",
- "name": "Group analytics",
- "description": "Associate events with a group - such as a company, community, or project - and analyze them in that context.",
- "unit": null,
- "limit": null,
- "note": null
- }
- ],
- "tiers": [
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0",
- "up_to": 1000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.000071",
- "up_to": 2000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.00003",
- "up_to": 15000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000189",
- "up_to": 50000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000105",
- "up_to": 100000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000054",
- "up_to": 250000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000012",
- "up_to": null,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- }
- ],
- "current_plan": false,
- "included_if": null
- }
- ],
- "contact_support": false
- },
- {
- "name": "Data pipelines",
- "description": "Get your PostHog data into your data warehouse or other tools like BigQuery, Redshift, Customer.io, and more.",
- "price_description": null,
- "image_url": "None",
- "icon_key": "IconDecisionTree",
- "docs_url": "https://posthog.com/docs/cdp/batch-exports",
- "type": "data_pipelines",
- "tiers": [
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0",
- "up_to": 1000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.000062",
- "up_to": 2000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.000026",
- "up_to": 15000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000164",
- "up_to": 50000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000091",
- "up_to": 100000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000047",
- "up_to": 250000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.000001",
- "up_to": null,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- }
- ],
- "tiered": true,
- "included_with_main_product": false,
- "subscribed": false,
- "unit": "event",
- "unit_amount_usd": null,
- "current_amount_usd": null,
- "current_usage": 0,
- "projected_usage": 0,
- "projected_amount_usd": "0.00",
- "plans": [
- {
- "plan_key": "addon-20240111",
- "product_key": "data_pipelines",
- "name": "Data pipelines",
- "description": "Get your PostHog data into your data warehouse or other tools like BigQuery, Redshift, Customer.io, and more.",
- "image_url": null,
- "docs_url": "https://posthog.com/docs/cdp/batch-exports",
- "note": null,
- "unit": "event",
- "free_allocation": null,
- "features": [
- {
- "key": "data_pipelines",
- "name": "Data pipelines",
- "description": "Get your PostHog data into your data warehouse or other tools like BigQuery, Redshift, Customer.io, and more.",
- "unit": null,
- "limit": null,
- "note": null
- }
- ],
- "tiers": [
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0",
- "up_to": 1000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.000062",
- "up_to": 2000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.000026",
- "up_to": 15000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000164",
- "up_to": 50000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000091",
- "up_to": 100000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000047",
- "up_to": 250000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.000001",
- "up_to": null,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- }
- ],
- "current_plan": false,
- "included_if": null
- }
- ],
- "contact_support": false
- }
- ],
- "contact_support": false,
- "inclusion_only": false,
- "features": [
- {
- "key": "product_analytics_data_retention",
- "name": "Data retention",
- "description": "Keep a historical record of your data.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "dashboards",
- "name": "Dashboards",
- "description": "Save trends, funnels, and other insights for easy reference by your whole team.",
- "images": {
- "light": "https://posthog.com/images/products/product-analytics/screenshot-dashboards.png",
- "dark": "https://posthog.com/images/products/product-analytics/screenshot-dashboards-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "funnels",
- "name": "Funnels",
- "description": "Visualize user dropoff between a sequence of events. See conversion rate over time, use flexible step ordering, set exclusion steps, and more.",
- "images": {
- "light": "https://posthog.com/images/products/product-analytics/screenshot-funnels.png",
- "dark": "https://posthog.com/images/products/product-analytics/screenshot-funnels-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "graphs_trends",
- "name": "Graphs & trends",
- "description": "Plot any number of events or actions over time.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "paths",
- "name": "User paths",
- "description": "Limited paths excludes: customizing path insights by setting the maximum number of paths, number of people on each path, how path names appear",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "insights",
- "name": "Unlimited Insights",
- "description": "Trends, funnels, retention, user paths, stickiness, and lifecycle insights to visualize your data.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "subscriptions",
- "name": "Insight & dashboard subscriptions",
- "description": "Create a subscription for any insight or dashboard in PostHog to receive regular reports with their updates.",
- "images": null,
- "icon_key": "IconNotification",
- "type": "secondary"
- },
- {
- "key": "dashboard_collaboration",
- "name": "Tags & text cards",
- "description": "Keep organized by adding tags to your dashboards, cohorts and more. Add text cards and descriptions to your dashboards to provide context to your team.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "dashboard_permissioning",
- "name": "Dashboard permissions",
- "description": "Restrict access to dashboards within the organization to only those who need it.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "ingestion_taxonomy",
- "name": "Ingestion taxonomy",
- "description": "Ingestion taxonomy",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "paths_advanced",
- "name": "Advanced paths",
- "description": "Customize your path insights by setting the maximum number of paths, number of people on each path, and how path names should appear.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "correlation_analysis",
- "name": "Correlation analysis",
- "description": "Automatically highlight significant factors that affect the conversion rate of users within a funnel.",
- "images": {
- "light": "https://posthog.com/images/products/product-analytics/screenshot-correlation-analysis.png",
- "dark": "https://posthog.com/images/products/product-analytics/screenshot-correlation-analysis-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "tagging",
- "name": "Dashboard tags",
- "description": "Organize dashboards with tags.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "behavioral_cohort_filtering",
- "name": "Lifecycle",
- "description": "Discover how your active users break down, highlighting those who have recently stopped being active or those who have just become active for the first time.",
- "images": {
- "light": "https://posthog.com/images/products/product-analytics/screenshot-lifecycle.png",
- "dark": "https://posthog.com/images/products/product-analytics/screenshot-lifecycle-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "product_analytics_retention",
- "name": "Retention",
- "description": "See how many users return on subsequent days after performing an event the first time, or recurrently.",
- "images": {
- "light": "https://posthog.com/images/products/product-analytics/screenshot-retention.png",
- "dark": "https://posthog.com/images/products/product-analytics/screenshot-retention-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "product_analytics_stickiness",
- "name": "Stickiness",
- "description": "Learn how many times users perform a specific event in a period of time.",
- "images": {
- "light": "https://posthog.com/images/products/product-analytics/screenshot-stickiness.png",
- "dark": "https://posthog.com/images/products/product-analytics/screenshot-stickiness-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "autocapture",
- "name": "Autocapture",
- "description": "Add PostHog.js to your website or web app to track all event data and retroactively define events.",
- "images": null,
- "icon_key": "IconBolt",
- "type": "secondary"
- },
- {
- "key": "data_visualization",
- "name": "Data visualization",
- "description": "Filter data by user property, group data, and use formulas in queries.",
- "images": null,
- "icon_key": "IconPieChart",
- "type": "secondary"
- },
- {
- "key": "product_analytics_sql_queries",
- "name": "Query with SQL",
- "description": "Use PostHog’s filtering interface or switch into SQL mode for more powerful querying.",
- "images": null,
- "icon_key": "IconTerminal",
- "type": "secondary"
- }
- ]
- },
- {
- "name": "Session replay",
- "headline": "Watch how users experience your app",
- "description": "Session replay helps you diagnose issues and understand user behavior in your product or website.",
- "price_description": null,
- "usage_key": "recordings",
- "image_url": "https://posthog.com/images/products/session-replay/session-replay.png",
- "screenshot_url": "https://posthog.com/images/products/session-replay/screenshot-session-replay.png",
- "icon_key": "IconRewindPlay",
- "docs_url": "https://posthog.com/docs/session-replay",
- "subscribed": true,
- "plans": [
- {
- "plan_key": "free-20231218",
- "product_key": "session_replay",
- "name": "Session replay",
- "description": "Session replay helps you diagnose issues and understand user behavior in your product or website.",
- "image_url": "https://posthog.com/images/products/session-replay/session-replay.png",
- "docs_url": "https://posthog.com/docs/session-replay",
- "note": null,
- "unit": "recording",
- "free_allocation": 5000,
- "features": [
- {
- "key": "console_logs",
- "name": "Console logs",
- "description": "Debug issues faster by browsing the user's console.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "recordings_performance",
- "name": "Network performance on recordings",
- "description": "See your end-user's network performance and information alongside session recordings.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "session_replay_network_payloads",
- "name": "Network monitor",
- "description": "Analyze performance and network calls.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "recordings_playlists",
- "name": "Recording playlists",
- "description": "Create playlists of certain session recordings to easily find and watch them again in the future.",
- "unit": "playlists",
- "limit": 5,
- "note": null
- },
- {
- "key": "session_replay_data_retention",
- "name": "Data retention",
- "description": "Keep a historical record of your data.",
- "unit": "month",
- "limit": 1,
- "note": null
- },
- {
- "key": "replay_mask_sensitive_data",
- "name": "Block sensitive data",
- "description": "Disable capturing data from any DOM element with HTML attributes or a customizable config.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_sharing_embedding",
- "name": "Share and embed",
- "description": "Share replays directly via URL or embed via iframe.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_product_analytics_integration",
- "name": "Event timeline",
- "description": "See a history of everything that happened in a user's session.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_filter_person_properties",
- "name": "Filter person properties",
- "description": "Filter by person properties to quickly find relevant recordings.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_filter_events",
- "name": "Filter events",
- "description": "Filter by events to quickly find relevant recordings.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_dom_explorer",
- "name": "DOM Explorer",
- "description": "Freeze snapshots of recordings and explore the DOM with your browser dev tools.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "session_replay_sampling",
- "name": "Sample recorded sessions",
- "description": "Restrict the percentage of sessions that will be recorded.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_recording_duration_minimum",
- "name": "Minimum duration",
- "description": "Only record sessions longer than the minimum duration.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_feature_flag_based_recording",
- "name": "Record via feature flag",
- "description": "Only record sessions for users that have the flag enabled.",
- "unit": null,
- "limit": null,
- "note": null
- }
- ],
- "tiers": null,
- "current_plan": false,
- "included_if": null
- },
- {
- "plan_key": "paid-20230117",
- "product_key": "session_replay",
- "name": "Session replay",
- "description": "Session replay helps you diagnose issues and understand user behavior in your product or website.",
- "image_url": "https://posthog.com/images/products/session-replay/session-replay.png",
- "docs_url": "https://posthog.com/docs/session-replay",
- "note": null,
- "unit": "recording",
- "free_allocation": null,
- "features": [
- {
- "key": "console_logs",
- "name": "Console logs",
- "description": "Debug issues faster by browsing the user's console.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "recordings_playlists",
- "name": "Recording playlists",
- "description": "Create playlists of certain session recordings to easily find and watch them again in the future.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "recordings_performance",
- "name": "Network performance on recordings",
- "description": "See your end-user's network performance and information alongside session recordings.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "session_replay_network_payloads",
- "name": "Network monitor",
- "description": "Analyze performance and network calls.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "recordings_file_export",
- "name": "Download recordings",
- "description": "Retain recordings beyond data retention limits.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "session_replay_data_retention",
- "name": "Data retention",
- "description": "Keep a historical record of your data.",
- "unit": "months",
- "limit": 3,
- "note": null
- },
- {
- "key": "replay_mask_sensitive_data",
- "name": "Block sensitive data",
- "description": "Disable capturing data from any DOM element with HTML attributes or a customizable config.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_sharing_embedding",
- "name": "Share and embed",
- "description": "Share replays directly via URL or embed via iframe.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_product_analytics_integration",
- "name": "Event timeline",
- "description": "See a history of everything that happened in a user's session.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_filter_person_properties",
- "name": "Filter person properties",
- "description": "Filter by person properties to quickly find relevant recordings.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_filter_events",
- "name": "Filter events",
- "description": "Filter by events to quickly find relevant recordings.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_dom_explorer",
- "name": "DOM Explorer",
- "description": "Freeze snapshots of recordings and explore the DOM with your browser dev tools.",
- "unit": null,
- "limit": null,
- "note": null
- }
- ],
- "tiers": [
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0",
- "up_to": 15000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.005",
- "up_to": 50000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0045",
- "up_to": 150000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.004",
- "up_to": 500000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0035",
- "up_to": null,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- }
- ],
- "current_plan": true,
- "included_if": null
- }
- ],
- "type": "session_replay",
- "free_allocation": 0,
- "tiers": [
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0",
- "up_to": 15000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": 77,
- "projected_amount_usd": "0.00"
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.005",
- "up_to": 50000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": 0,
- "projected_amount_usd": "0.00"
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0045",
- "up_to": 150000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": 0,
- "projected_amount_usd": "0.00"
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.004",
- "up_to": 500000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": 0,
- "projected_amount_usd": "0.00"
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0035",
- "up_to": null,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": 0,
- "projected_amount_usd": "0.00"
- }
- ],
- "tiered": true,
- "unit_amount_usd": null,
- "current_amount_usd_before_addons": "0.00",
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "usage_limit": null,
- "has_exceeded_limit": false,
- "percentage_usage": 0,
- "projected_usage": 77,
- "projected_amount_usd": "0.00",
- "projected_amount_usd_with_limit": "0.00",
- "unit": "recording",
- "addons": [],
- "contact_support": false,
- "inclusion_only": false,
- "features": [
- {
- "key": "recordings_playlists",
- "name": "Recording playlists",
- "description": "Create playlists of certain session recordings to easily find and watch them again in the future.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "session_replay_data_retention",
- "name": "Data retention",
- "description": "Keep a historical record of your data.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "console_logs",
- "name": "Console logs",
- "description": "Debug issues faster by browsing the user's console.",
- "images": {
- "light": "https://posthog.com/images/products/session-replay/console.png",
- "dark": "https://posthog.com/images/products/session-replay/console-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "recordings_performance",
- "name": "Network performance on recordings",
- "description": "See your end-user's network performance and information alongside session recordings.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "session_replay_network_payloads",
- "name": "Network monitor",
- "description": "Analyze performance and network calls.",
- "images": {
- "light": "https://posthog.com/images/products/session-replay/network.png",
- "dark": "https://posthog.com/images/products/session-replay/network-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "recordings_file_export",
- "name": "Download recordings",
- "description": "Retain recordings beyond data retention limits.",
- "images": null,
- "icon_key": "IconDownload",
- "type": "secondary"
- },
- {
- "key": "session_replay_sampling",
- "name": "Sample recorded sessions",
- "description": "Restrict the percentage of sessions that will be recorded.",
- "images": null,
- "icon_key": "IconSampling",
- "type": "secondary"
- },
- {
- "key": "replay_recording_duration_minimum",
- "name": "Minimum duration",
- "description": "Only record sessions longer than the minimum duration.",
- "images": null,
- "icon_key": "IconClock",
- "type": "secondary"
- },
- {
- "key": "replay_feature_flag_based_recording",
- "name": "Record via feature flag",
- "description": "Only record sessions for users that have the flag enabled.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "replay_mask_sensitive_data",
- "name": "Block sensitive data",
- "description": "Disable capturing data from any DOM element with HTML attributes or a customizable config.",
- "images": null,
- "icon_key": "IconPassword",
- "type": "secondary"
- },
- {
- "key": "replay_sharing_embedding",
- "name": "Share and embed",
- "description": "Share replays directly via URL or embed via iframe.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "replay_product_analytics_integration",
- "name": "Event timeline",
- "description": "See a history of everything that happened in a user's session.",
- "images": {
- "light": "https://posthog.com/images/products/session-replay/timeline.png",
- "dark": "https://posthog.com/images/products/session-replay/timeline-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "replay_filter_person_properties",
- "name": "Filter person properties",
- "description": "Filter by person properties to quickly find relevant recordings.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "replay_filter_events",
- "name": "Filter events",
- "description": "Filter by events to quickly find relevant recordings.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "replay_dom_explorer",
- "name": "DOM Explorer",
- "description": "Freeze snapshots of recordings and explore the DOM with your browser dev tools.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "works_with_posthog_js",
- "name": "Capture sessions without extra code",
- "description": "Works with PostHog.js",
- "images": null,
- "icon_key": "IconBolt",
- "type": "secondary"
- },
- {
- "key": "replay_automatic_playlists",
- "name": "Automatic playlists",
- "description": "Filter by user behavior, user properties, or time.",
- "images": null,
- "icon_key": "IconPlaylist",
- "type": "secondary"
- }
- ]
- },
- {
- "name": "Feature flags & A/B testing",
- "headline": "Safely roll out features and A/B tests to specific users or groups",
- "description": "Test changes with small groups of users before rolling out wider. Analyze usage with product analytics and session replay.",
- "price_description": null,
- "usage_key": "feature_flag_requests",
- "image_url": "https://posthog.com/images/products/feature-flags/feature-flags.png",
- "screenshot_url": "https://posthog.com/images/products/feature-flags/screenshot-feature-flags.png",
- "icon_key": "IconToggle",
- "docs_url": "https://posthog.com/docs/feature-flags",
- "subscribed": true,
- "plans": [
- {
- "plan_key": "free-20230117",
- "product_key": "feature_flags",
- "name": "Feature flags & A/B testing",
- "description": "Test changes with small groups of users before rolling out wider. Analyze usage with product analytics and session replay.",
- "image_url": "https://posthog.com/images/products/feature-flags/feature-flags.png",
- "docs_url": "https://posthog.com/docs/feature-flags",
- "note": null,
- "unit": "request",
- "free_allocation": 1000000,
- "features": [
- {
- "key": "boolean_flags",
- "name": "Boolean feature flags",
- "description": "Turn features on and off for specific users.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "persist_flags_cross_authentication",
- "name": "Persist flags across authentication",
- "description": "Persist feature flags across authentication events so that flag values don't change when an anonymous user logs in and becomes identified.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "feature_flag_payloads",
- "name": "Test changes without code",
- "description": "Use JSON payloads to change text, visuals, or entire blocks of code without subsequent deployments.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "multiple_release_conditions",
- "name": "Multiple release conditions",
- "description": "Customize your rollout strategy by user or group properties, cohort, or trafic percentage.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "release_condition_overrides",
- "name": "Release condition overrides",
- "description": "For any release condition, specify which flag value the users or groups in that condition should receive.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "targeting_by_group",
- "name": "Flag targeting by groups",
- "description": "Target feature flag release conditions by group properties, not just user properties.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "local_evaluation_and_bootstrapping",
- "name": "Local evaluation & bootstrapping",
- "description": "Bootstrap flags on initialization so all flags are available immediately, without having to make extra network requests.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "flag_usage_stats",
- "name": "Flag usage stats",
- "description": "See how many times a flag has been evaluated, how many times each variant has been returned, and what values users received.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "feature_flags_data_retention",
- "name": "Data retention",
- "description": "Keep a historical record of your data.",
- "unit": "year",
- "limit": 1,
- "note": null
- }
- ],
- "tiers": null,
- "current_plan": false,
- "included_if": null
- },
- {
- "plan_key": "paid-20230623",
- "product_key": "feature_flags",
- "name": "Feature flags & A/B testing",
- "description": "Test changes with small groups of users before rolling out wider. Analyze usage with product analytics and session replay.",
- "image_url": "https://posthog.com/images/products/feature-flags/feature-flags.png",
- "docs_url": "https://posthog.com/docs/feature-flags",
- "note": null,
- "unit": "request",
- "free_allocation": null,
- "features": [
- {
- "key": "boolean_flags",
- "name": "Boolean feature flags",
- "description": "Turn features on and off for specific users.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "multivariate_flags",
- "name": "Multivariate feature flags & experiments",
- "description": "Create three or more variants of a feature flag to test or release different versions of a feature.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "persist_flags_cross_authentication",
- "name": "Persist flags across authentication",
- "description": "Persist feature flags across authentication events so that flag values don't change when an anonymous user logs in and becomes identified.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "feature_flag_payloads",
- "name": "Test changes without code",
- "description": "Use JSON payloads to change text, visuals, or entire blocks of code without subsequent deployments.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "multiple_release_conditions",
- "name": "Multiple release conditions",
- "description": "Customize your rollout strategy by user or group properties, cohort, or trafic percentage.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "release_condition_overrides",
- "name": "Release condition overrides",
- "description": "For any release condition, specify which flag value the users or groups in that condition should receive.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "targeting_by_group",
- "name": "Flag targeting by groups",
- "description": "Target feature flag release conditions by group properties, not just user properties.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "local_evaluation_and_bootstrapping",
- "name": "Local evaluation & bootstrapping",
- "description": "Bootstrap flags on initialization so all flags are available immediately, without having to make extra network requests.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "flag_usage_stats",
- "name": "Flag usage stats",
- "description": "See how many times a flag has been evaluated, how many times each variant has been returned, and what values users received.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "experimentation",
- "name": "A/B testing",
- "description": "Test changes to your product and evaluate the impacts those changes make.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "group_experiments",
- "name": "Group experiments",
- "description": "Target experiments to specific groups of users so everyone in the same group gets the same variant.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "funnel_experiments",
- "name": "Funnel & trend experiments",
- "description": "Measure the impact of a change on a aggregate values or a series of events, like a signup flow.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "secondary_metrics",
- "name": "Secondary experiment metrics",
- "description": "Track additional metrics to see how your experiment affects other parts of your app or different flows.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "statistical_analysis",
- "name": "Statistical analysis",
- "description": "Get a statistical analysis of your experiment results to see if the results are significant, or if they're likely just due to chance.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "feature_flags_data_retention",
- "name": "Data retention",
- "description": "Keep a historical record of your data.",
- "unit": "years",
- "limit": 7,
- "note": null
- }
- ],
- "tiers": [
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0",
- "up_to": 1000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0001",
- "up_to": 2000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.000045",
- "up_to": 10000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.000025",
- "up_to": 50000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.00001",
- "up_to": null,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- }
- ],
- "current_plan": true,
- "included_if": null
- }
- ],
- "type": "feature_flags",
- "free_allocation": 0,
- "tiers": [
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0",
- "up_to": 1000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0001",
- "up_to": 2000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.000045",
- "up_to": 10000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.000025",
- "up_to": 50000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.00001",
- "up_to": null,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- }
- ],
- "tiered": true,
- "unit_amount_usd": null,
- "current_amount_usd_before_addons": "0.00",
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "usage_limit": null,
- "has_exceeded_limit": false,
- "percentage_usage": 0,
- "projected_usage": 0,
- "projected_amount_usd": "0.00",
- "projected_amount_usd_with_limit": "0.00",
- "unit": "request",
- "addons": [],
- "contact_support": false,
- "inclusion_only": false,
- "features": [
- {
- "key": "boolean_flags",
- "name": "Boolean feature flags",
- "description": "Turn features on and off for specific users.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "feature_flags_data_retention",
- "name": "Data retention",
- "description": "Keep a historical record of your data.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "multivariate_flags",
- "name": "Multivariate feature flags & experiments",
- "description": "Create three or more variants of a feature flag to test or release different versions of a feature.",
- "images": {
- "light": "https://posthog.com/images/products/feature-flags/multivariate.png",
- "dark": "https://posthog.com/images/products/feature-flags/multivariate-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "persist_flags_cross_authentication",
- "name": "Persist flags across authentication",
- "description": "Persist feature flags across authentication events so that flag values don't change when an anonymous user logs in and becomes identified.",
- "images": null,
- "icon_key": "IconUnlock",
- "type": "secondary"
- },
- {
- "key": "feature_flag_payloads",
- "name": "Test changes without code",
- "description": "Use JSON payloads to change text, visuals, or entire blocks of code without subsequent deployments.",
- "images": {
- "light": "https://posthog.com/images/products/feature-flags/payloads.png",
- "dark": "https://posthog.com/images/products/feature-flags/payloads-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "multiple_release_conditions",
- "name": "Multiple release conditions",
- "description": "Customize your rollout strategy by user or group properties, cohort, or trafic percentage.",
- "images": {
- "light": "https://posthog.com/images/products/feature-flags/release-conditions.png",
- "dark": "https://posthog.com/images/products/feature-flags/release-conditions-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "release_condition_overrides",
- "name": "Release condition overrides",
- "description": "For any release condition, specify which flag value the users or groups in that condition should receive.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "targeting_by_group",
- "name": "Flag targeting by groups",
- "description": "Target feature flag release conditions by group properties, not just user properties.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "local_evaluation_and_bootstrapping",
- "name": "Local evaluation & bootstrapping",
- "description": "Bootstrap flags on initialization so all flags are available immediately, without having to make extra network requests.",
- "images": null,
- "icon_key": "IconDecisionTree",
- "type": "secondary"
- },
- {
- "key": "flag_usage_stats",
- "name": "Flag usage stats",
- "description": "See how many times a flag has been evaluated, how many times each variant has been returned, and what values users received.",
- "images": {
- "light": "https://posthog.com/images/products/feature-flags/reports.png",
- "dark": "https://posthog.com/images/products/feature-flags/reports-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "user_opt_in",
- "name": "Early access feature opt-in widget",
- "description": "Allow users to opt in to (or out of) specified features. Or use the API to build your own UI.",
- "images": {
- "light": "https://posthog.com/images/products/feature-flags/early-access.png",
- "dark": "https://posthog.com/images/products/feature-flags/early-access-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "instant_rollbacks",
- "name": "Instant rollbacks",
- "description": "Disable a feature without touching your codebase.",
- "images": null,
- "icon_key": "IconRevert",
- "type": "secondary"
- },
- {
- "key": "experimentation",
- "name": "A/B testing",
- "description": "Test changes to your product and evaluate the impacts those changes make.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "group_experiments",
- "name": "Group experiments",
- "description": "Target experiments to specific groups of users so everyone in the same group gets the same variant.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "funnel_experiments",
- "name": "Funnel & trend experiments",
- "description": "Measure the impact of a change on a aggregate values or a series of events, like a signup flow.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "secondary_metrics",
- "name": "Secondary experiment metrics",
- "description": "Track additional metrics to see how your experiment affects other parts of your app or different flows.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "statistical_analysis",
- "name": "Statistical analysis",
- "description": "Get a statistical analysis of your experiment results to see if the results are significant, or if they're likely just due to chance.",
- "images": null,
- "icon_key": null,
- "type": null
- }
- ]
- },
- {
- "name": "Surveys",
- "headline": "Ask anything with no-code surveys",
- "description": "Build in-app popups with freeform text responses, multiple choice, NPS, ratings, and emoji reactions. Or use the API for complete control.",
- "price_description": null,
- "usage_key": "survey_responses",
- "image_url": "https://posthog.com/images/products/surveys/surveys.png",
- "screenshot_url": "https://posthog.com/images/products/surveys/screenshot-surveys.png",
- "icon_key": "IconMessage",
- "docs_url": "https://posthog.com/docs/surveys",
- "subscribed": true,
- "plans": [
- {
- "plan_key": "free-20230928",
- "product_key": "surveys",
- "name": "Surveys",
- "description": "Build in-app popups with freeform text responses, multiple choice, NPS, ratings, and emoji reactions. Or use the API for complete control.",
- "image_url": "https://posthog.com/images/products/surveys/surveys.png",
- "docs_url": "https://posthog.com/docs/surveys",
- "note": null,
- "unit": "survey response",
- "free_allocation": 250,
- "features": [
- {
- "key": "surveys_unlimited_surveys",
- "name": "Unlimited surveys",
- "description": "Create as many surveys as you want.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_all_question_types",
- "name": "All question types",
- "description": "Rating scale (for NPS and the like), multiple choice, single choice, emoji rating, link, free text.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_user_targeting",
- "name": "Advanced user targeting",
- "description": "Target by URL, user property, or feature flag when used with Feature flags.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_user_sampling",
- "name": "User sampling",
- "description": "Sample users to only survey a portion of the users who match the criteria.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_api_mode",
- "name": "API mode",
- "description": "Using PostHog.js? No more code required. But if want to create your own UI, we have a full API.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_results_analysis",
- "name": "Aggregated results",
- "description": "See feedback summarized and broken down per response, plus completion rates and drop offs.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_templates",
- "name": "Templates",
- "description": "Use our templates to get started quickly with NPS, customer satisfaction surveys, user interviews, and more.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_data_retention",
- "name": "Data retention",
- "description": "Keep a historical record of your data.",
- "unit": "year",
- "limit": 1,
- "note": null
- }
- ],
- "tiers": null,
- "current_plan": false,
- "included_if": null
- },
- {
- "plan_key": "paid-20230928",
- "product_key": "surveys",
- "name": "Surveys",
- "description": "Build in-app popups with freeform text responses, multiple choice, NPS, ratings, and emoji reactions. Or use the API for complete control.",
- "image_url": "https://posthog.com/images/products/surveys/surveys.png",
- "docs_url": "https://posthog.com/docs/surveys",
- "note": null,
- "unit": "survey response",
- "free_allocation": null,
- "features": [
- {
- "key": "surveys_unlimited_surveys",
- "name": "Unlimited surveys",
- "description": "Create as many surveys as you want.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_all_question_types",
- "name": "All question types",
- "description": "Rating scale (for NPS and the like), multiple choice, single choice, emoji rating, link, free text.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_multiple_questions",
- "name": "Multiple questions",
- "description": "Ask up to 10 questions in a single survey.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_user_targeting",
- "name": "Advanced user targeting",
- "description": "Target by URL, user property, or feature flag when used with Feature flags.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_user_sampling",
- "name": "User sampling",
- "description": "Sample users to only survey a portion of the users who match the criteria.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_styling",
- "name": "Custom colors & positioning",
- "description": "Customize the colors of your surveys to match your brand and set survey position.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_text_html",
- "name": "Custom HTML text",
- "description": "Add custom HTML to your survey text.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_api_mode",
- "name": "API mode",
- "description": "Using PostHog.js? No more code required. But if want to create your own UI, we have a full API.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_results_analysis",
- "name": "Aggregated results",
- "description": "See feedback summarized and broken down per response, plus completion rates and drop offs.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_templates",
- "name": "Templates",
- "description": "Use our templates to get started quickly with NPS, customer satisfaction surveys, user interviews, and more.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_data_retention",
- "name": "Data retention",
- "description": "Keep a historical record of your data.",
- "unit": "years",
- "limit": 7,
- "note": null
- }
- ],
- "tiers": [
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0",
- "up_to": 250,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.2",
- "up_to": 500,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.1",
- "up_to": 1000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.035",
- "up_to": 10000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.015",
- "up_to": 20000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.01",
- "up_to": null,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- }
- ],
- "current_plan": true,
- "included_if": null
- }
- ],
- "type": "surveys",
- "free_allocation": 0,
- "tiers": [
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0",
- "up_to": 250,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.2",
- "up_to": 500,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.1",
- "up_to": 1000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.035",
- "up_to": 10000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.015",
- "up_to": 20000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.01",
- "up_to": null,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- }
- ],
- "tiered": true,
- "unit_amount_usd": null,
- "current_amount_usd_before_addons": "0.00",
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "usage_limit": null,
- "has_exceeded_limit": false,
- "percentage_usage": 0,
- "projected_usage": 0,
- "projected_amount_usd": "0.00",
- "projected_amount_usd_with_limit": "0.00",
- "unit": "survey response",
- "addons": [],
- "contact_support": false,
- "inclusion_only": false,
- "features": [
- {
- "key": "surveys_unlimited_surveys",
- "name": "Unlimited surveys",
- "description": "Create as many surveys as you want.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "surveys_all_question_types",
- "name": "All question types",
- "description": "Rating scale (for NPS and the like), multiple choice, single choice, emoji rating, link, free text.",
- "images": {
- "light": "https://posthog.com/images/products/surveys/question-types.png",
- "dark": "https://posthog.com/images/products/surveys/question-types-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "surveys_multiple_questions",
- "name": "Multiple questions",
- "description": "Ask up to 10 questions in a single survey.",
- "images": {
- "light": "https://posthog.com/images/products/surveys/steps.png",
- "dark": "https://posthog.com/images/products/surveys/steps-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "surveys_user_targeting",
- "name": "Advanced user targeting",
- "description": "Target by URL, user property, or feature flag when used with Feature flags.",
- "images": {
- "light": "https://posthog.com/images/products/surveys/targeting.png",
- "dark": "https://posthog.com/images/products/surveys/targeting-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "surveys_user_sampling",
- "name": "User sampling",
- "description": "Sample users to only survey a portion of the users who match the criteria.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "surveys_styling",
- "name": "Custom colors & positioning",
- "description": "Customize the colors of your surveys to match your brand and set survey position.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "surveys_text_html",
- "name": "Custom HTML text",
- "description": "Add custom HTML to your survey text.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "surveys_api_mode",
- "name": "API mode",
- "description": "Using PostHog.js? No more code required. But if want to create your own UI, we have a full API.",
- "images": {
- "light": "https://posthog.com/images/products/surveys/api.png",
- "dark": "https://posthog.com/images/products/surveys/api-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "surveys_results_analysis",
- "name": "Aggregated results",
- "description": "See feedback summarized and broken down per response, plus completion rates and drop offs.",
- "images": null,
- "icon_key": "IconPieChart",
- "type": "secondary"
- },
- {
- "key": "surveys_templates",
- "name": "Templates",
- "description": "Use our templates to get started quickly with NPS, customer satisfaction surveys, user interviews, and more.",
- "images": {
- "light": "https://posthog.com/images/products/surveys/templates.png",
- "dark": "https://posthog.com/images/products/surveys/templates-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "surveys_data_retention",
- "name": "Data retention",
- "description": "Keep a historical record of your data.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "surveys_link_question_type",
- "name": "Link somewhere",
- "description": "Send users to a webpage or invite them to book a meeting with a calendar invite.",
- "images": {
- "light": "https://posthog.com/images/products/surveys/link-scheduler.png",
- "dark": "https://posthog.com/images/products/surveys/link-scheduler-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "surveys_slack_notifications",
- "name": "Slack notifications",
- "description": "Send realtime survey responses to a Slack channel.",
- "images": null,
- "icon_key": "IconNotification",
- "type": "secondary"
- },
- {
- "key": "surveys_wait_periods",
- "name": "Customizable wait periods",
- "description": "Set a delay before a survey opens.",
- "images": null,
- "icon_key": "IconClock",
- "type": "secondary"
- }
- ]
- },
- {
- "name": "Integrations",
- "headline": null,
- "description": "Connect PostHog to your favorite tools.",
- "price_description": null,
- "usage_key": null,
- "image_url": "https://posthog.com/images/product/product-icons/integrations.svg",
- "screenshot_url": null,
- "icon_key": "IconBolt",
- "docs_url": "https://posthog.com/docs/cdp",
- "subscribed": null,
- "plans": [
- {
- "plan_key": "free-20230117",
- "product_key": "integrations",
- "name": "Integrations",
- "description": "Connect PostHog to your favorite tools.",
- "image_url": "https://posthog.com/images/product/product-icons/integrations.svg",
- "docs_url": "https://posthog.com/docs/cdp",
- "note": null,
- "unit": null,
- "free_allocation": null,
- "features": [
- {
- "key": "zapier",
- "name": "Zapier",
- "description": "Zapier lets you connect PostHog with thousands of the most popular apps, so you can automate your work and have more time for what matters most—no code required.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "slack_integration",
- "name": "Slack",
- "description": "Get notified about new actions in Slack.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "microsoft_teams_integration",
- "name": "Microsoft Teams",
- "description": "Get notified about new actions in Microsoft Teams.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "discord_integration",
- "name": "Discord",
- "description": "Get notified about new actions in Discord.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "apps",
- "name": "Transformations",
- "description": "Use transformations to filter or modify your incoming data. (Destinations not included, see the Data pipelines addon for product analytics.)",
- "unit": null,
- "limit": null,
- "note": null
- }
- ],
- "tiers": null,
- "current_plan": false,
- "included_if": "no_active_subscription"
- },
- {
- "plan_key": "paid-20230117",
- "product_key": "integrations",
- "name": "Integrations",
- "description": "Connect PostHog to your favorite tools.",
- "image_url": "https://posthog.com/images/product/product-icons/integrations.svg",
- "docs_url": "https://posthog.com/docs/cdp",
- "note": null,
- "unit": null,
- "free_allocation": null,
- "features": [
- {
- "key": "zapier",
- "name": "Zapier",
- "description": "Zapier lets you connect PostHog with thousands of the most popular apps, so you can automate your work and have more time for what matters most—no code required.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "slack_integration",
- "name": "Slack",
- "description": "Get notified about new actions in Slack.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "microsoft_teams_integration",
- "name": "Microsoft Teams",
- "description": "Get notified about new actions in Microsoft Teams.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "discord_integration",
- "name": "Discord",
- "description": "Get notified about new actions in Discord.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "apps",
- "name": "Transformations",
- "description": "Use transformations to filter or modify your incoming data. (Destinations not included, see the Data pipelines addon for product analytics.)",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "app_metrics",
- "name": "Transformation & destination metrics",
- "description": "Get metrics on your transformation and destination metrics to see their usage, reliability, and more.",
- "unit": null,
- "limit": null,
- "note": null
- }
- ],
- "tiers": null,
- "current_plan": true,
- "included_if": "has_subscription"
- }
- ],
- "type": "integrations",
- "free_allocation": 0,
- "tiers": null,
- "tiered": false,
- "unit_amount_usd": null,
- "current_amount_usd_before_addons": null,
- "current_amount_usd": null,
- "current_usage": 0,
- "usage_limit": 0,
- "has_exceeded_limit": false,
- "percentage_usage": 0,
- "projected_usage": 0,
- "projected_amount_usd": null,
- "projected_amount_usd_with_limit": null,
- "unit": null,
- "addons": [],
- "contact_support": false,
- "inclusion_only": true,
- "features": [
- {
- "key": "apps",
- "name": "Transformations",
- "description": "Use transformations to filter or modify your incoming data. (Destinations not included, see the Data pipelines addon for product analytics.)",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "slack_integration",
- "name": "Slack",
- "description": "Get notified about new actions in Slack.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "microsoft_teams_integration",
- "name": "Microsoft Teams",
- "description": "Get notified about new actions in Microsoft Teams.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "discord_integration",
- "name": "Discord",
- "description": "Get notified about new actions in Discord.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "zapier",
- "name": "Zapier",
- "description": "Zapier lets you connect PostHog with thousands of the most popular apps, so you can automate your work and have more time for what matters most—no code required.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "app_metrics",
- "name": "Transformation & destination metrics",
- "description": "Get metrics on your transformation and destination metrics to see their usage, reliability, and more.",
- "images": null,
- "icon_key": null,
- "type": null
- }
- ]
- },
- {
- "name": "Platform and support",
- "headline": null,
- "description": "SSO, permission management, and support.",
- "price_description": null,
- "usage_key": null,
- "image_url": "https://posthog.com/images/product/product-icons/platform.svg",
- "screenshot_url": null,
- "icon_key": "IconStack",
- "docs_url": "https://posthog.com/docs",
- "subscribed": null,
- "plans": [
- {
- "plan_key": "free-20230117",
- "product_key": "platform_and_support",
- "name": "Platform and support",
- "description": "SSO, permission management, and support.",
- "image_url": "https://posthog.com/images/product/product-icons/platform.svg",
- "docs_url": "https://posthog.com/docs",
- "note": null,
- "unit": null,
- "free_allocation": null,
- "features": [
- {
- "key": "tracked_users",
- "name": "Tracked users",
- "description": "Track users across devices and sessions.",
- "unit": null,
- "limit": null,
- "note": "Unlimited"
- },
- {
- "key": "team_members",
- "name": "Team members",
- "description": "PostHog doesn't charge per seat add your entire team!",
- "unit": null,
- "limit": null,
- "note": "Unlimited"
- },
- {
- "key": "organizations_projects",
- "name": "Projects",
- "description": "Organize environments within a project. Share dashboards, insights and more across environments without duplicating work.",
- "unit": "project",
- "limit": 1,
- "note": null
- },
- {
- "key": "environments",
- "name": "Environments",
- "description": "Create separate silos of data within a project. Data belongs to a single environment and all queries are environment-specific.",
- "unit": "environment",
- "limit": 1,
- "note": null
- },
- {
- "key": "api_access",
- "name": "API access",
- "description": "Access your data via our developer-friendly API.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "social_sso",
- "name": "SSO via Google, Github, or Gitlab",
- "description": "Log in to PostHog with your Google, Github, or Gitlab account.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "community_support",
- "name": "Community support",
- "description": "Get help from other users and PostHog team members in our Community forums.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "terms_and_conditions",
- "name": "Terms and conditions",
- "description": "Terms and conditions",
- "unit": null,
- "limit": null,
- "note": "Standard"
- }
- ],
- "tiers": null,
- "current_plan": false,
- "included_if": "no_active_subscription"
- },
- {
- "plan_key": "paid-20230926",
- "product_key": "platform_and_support",
- "name": "Platform and support",
- "description": "SSO, permission management, and support.",
- "image_url": "https://posthog.com/images/product/product-icons/platform.svg",
- "docs_url": "https://posthog.com/docs",
- "note": null,
- "unit": null,
- "free_allocation": null,
- "features": [
- {
- "key": "tracked_users",
- "name": "Tracked users",
- "description": "Track users across devices and sessions.",
- "unit": null,
- "limit": null,
- "note": "Unlimited"
- },
- {
- "key": "team_members",
- "name": "Team members",
- "description": "PostHog doesn't charge per seat add your entire team!",
- "unit": null,
- "limit": null,
- "note": "Unlimited"
- },
- {
- "key": "organizations_projects",
- "name": "Projects",
- "description": "Organize environments within a project. Share dashboards, insights and more across environments without duplicating work.",
- "unit": null,
- "limit": null,
- "note": "Unlimited"
- },
- {
- "key": "environments",
- "name": "Environments",
- "description": "Create separate silos of data within a project. Data belongs to a single environment and all queries are environment-specific.",
- "unit": null,
- "limit": null,
- "note": "Unlimited"
- },
- {
- "key": "api_access",
- "name": "API access",
- "description": "Access your data via our developer-friendly API.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "social_sso",
- "name": "SSO via Google, Github, or Gitlab",
- "description": "Log in to PostHog with your Google, Github, or Gitlab account.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "project_based_permissioning",
- "name": "Project permissions",
- "description": "Restrict access to data within the organization to only those who need it.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "white_labelling",
- "name": "White labeling",
- "description": "Use your own branding in your PostHog organization.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "community_support",
- "name": "Community support",
- "description": "Get help from other users and PostHog team members in our Community forums.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "dedicated_support",
- "name": "Slack (dedicated channel)",
- "description": "Get help directly from our support team in a dedicated Slack channel shared between you and the PostHog team.",
- "unit": null,
- "limit": null,
- "note": "$2k/month spend or above"
- },
- {
- "key": "email_support",
- "name": "Direct access to engineers",
- "description": "Get help directly from our product engineers via email. No wading through multiple support people before you get help.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "terms_and_conditions",
- "name": "Terms and conditions",
- "description": "Terms and conditions",
- "unit": null,
- "limit": null,
- "note": "Standard"
- },
- {
- "key": "security_assessment",
- "name": "Security assessment",
- "description": "Security assessment",
- "unit": null,
- "limit": null,
- "note": null
- }
- ],
- "tiers": null,
- "current_plan": true,
- "included_if": "has_subscription"
- }
- ],
- "type": "platform_and_support",
- "free_allocation": 0,
- "tiers": null,
- "tiered": false,
- "unit_amount_usd": null,
- "current_amount_usd_before_addons": null,
- "current_amount_usd": null,
- "current_usage": 0,
- "usage_limit": 0,
- "has_exceeded_limit": false,
- "percentage_usage": 0,
- "projected_usage": 0,
- "projected_amount_usd": null,
- "projected_amount_usd_with_limit": null,
- "unit": null,
- "addons": [],
- "contact_support": true,
- "inclusion_only": true,
- "features": [
- {
- "key": "tracked_users",
- "name": "Tracked users",
- "description": "Track users across devices and sessions.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "team_members",
- "name": "Team members",
- "description": "PostHog doesn't charge per seat add your entire team!",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "api_access",
- "name": "API access",
- "description": "Access your data via our developer-friendly API.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "organizations_projects",
- "name": "Projects",
- "description": "Organize environments within a project. Share dashboards, insights and more across environments without duplicating work.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "environments",
- "name": "Environments",
- "description": "Create separate silos of data within a project. Data belongs to a single environment and all queries are environment-specific.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "role_based_access",
- "name": "Role-based access",
- "description": "Control access to features like experiments, session recordings, and feature flags with custom roles.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "social_sso",
- "name": "SSO via Google, Github, or Gitlab",
- "description": "Log in to PostHog with your Google, Github, or Gitlab account.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "project_based_permissioning",
- "name": "Project permissions",
- "description": "Restrict access to data within the organization to only those who need it.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "saml",
- "name": "SAML SSO",
- "description": "Allow your organization's users to log in with SAML.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "sso_enforcement",
- "name": "Enforce SSO login",
- "description": "Users can only sign up and log in to your PostHog organization with your specified SSO provider.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "white_labelling",
- "name": "White labeling",
- "description": "Use your own branding in your PostHog organization.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "community_support",
- "name": "Community support",
- "description": "Get help from other users and PostHog team members in our Community forums.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "dedicated_support",
- "name": "Slack (dedicated channel)",
- "description": "Get help directly from our support team in a dedicated Slack channel shared between you and the PostHog team.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "email_support",
- "name": "Direct access to engineers",
- "description": "Get help directly from our product engineers via email. No wading through multiple support people before you get help.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "account_manager",
- "name": "Account manager",
- "description": "Work with a dedicated account manager to help you get the most out of PostHog.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "training",
- "name": "Training sessions",
- "description": "Get training from our team to help you quickly get up and running with PostHog.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "configuration_support",
- "name": "Dashboard configuration support",
- "description": "Get help from our team to create dashboards that will help you understand your data and your business.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "terms_and_conditions",
- "name": "Terms and conditions",
- "description": "Terms and conditions",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "security_assessment",
- "name": "Security assessment",
- "description": "Security assessment",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "bespoke_pricing",
- "name": "Bespoke pricing",
- "description": "Custom pricing to fit your company's needs.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "invoice_payments",
- "name": "Payment via invoicing",
- "description": "Pay for your PostHog subscription via invoice.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "support_response_time",
- "name": "Support response time",
- "description": "Get help from our team!",
- "images": null,
- "icon_key": null,
- "type": null
- }
- ]
- }
- ],
- "custom_limits_usd": {},
- "usage_summary": {
- "events": {
- "usage": 0,
- "limit": null
- },
- "recordings": {
- "usage": 0,
- "limit": null
- },
- "feature_flag_requests": {
- "usage": 0,
- "limit": null
- },
- "survey_responses": {
- "usage": 0,
- "limit": null
- }
- },
- "free_trial_until": null,
- "discount_percent": null,
- "discount_amount_usd": null,
- "amount_off_expires_at": null,
- "never_drop_data": null
-}
diff --git a/playwright/mocks/billing/billing-unsubscribed-product-analytics.json b/playwright/mocks/billing/billing-unsubscribed-product-analytics.json
deleted file mode 100644
index ad2e94f0dfd0..000000000000
--- a/playwright/mocks/billing/billing-unsubscribed-product-analytics.json
+++ /dev/null
@@ -1,1990 +0,0 @@
-{
- "license": {
- "plan": "dev"
- },
- "customer_id": "cus_Ot0pdGiqNz8M9J",
- "deactivated": false,
- "has_active_subscription": false,
- "billing_period": {
- "current_period_start": "2023-10-25T21:39:26.793Z",
- "current_period_end": "2023-11-24T21:39:26.793Z",
- "interval": "month"
- },
- "available_product_features": [
- {
- "key": "surveys_unlimited_surveys",
- "name": "Unlimited surveys",
- "description": "Create as many surveys as you want.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_all_question_types",
- "name": "All question types",
- "description": "Rating scale (for NPS and the like), multiple choice, single choice, emoji rating, link, free text.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_user_targeting",
- "name": "User property targeting",
- "description": "Target users based on any of their user properties.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_user_sampling",
- "name": "User sampling",
- "description": "Sample users to only survey a portion of the users who match the criteria.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_api_mode",
- "name": "API mode",
- "description": "Create surveys via the API.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_results_analysis",
- "name": "Results analysis",
- "description": "Analyze your survey results including completion rates and drop offs.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_templates",
- "name": "Templates",
- "description": "Use our templates to get started quickly with NPS, customer satisfaction surveys, user interviews, and more.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "zapier",
- "name": "Zapier",
- "description": "Zapier lets you connect PostHog with thousands of the most popular apps, so you can automate your work and have more time for what matters most—no code required.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "slack_integration",
- "name": "Slack",
- "description": "Get notified about new actions in Slack.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "microsoft_teams_integration",
- "name": "Microsoft Teams",
- "description": "Get notified about new actions in Microsoft Teams.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "discord_integration",
- "name": "Discord",
- "description": "Get notified about new actions in Discord.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "apps",
- "name": "CDP + Apps library",
- "description": "Connect your data with 50+ apps including BigQuery, Redshift, and more.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "boolean_flags",
- "name": "Boolean feature flags",
- "description": "Turn features on and off for specific users.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "persist_flags_cross_authentication",
- "name": "Persist flags across authentication",
- "description": "Persist feature flags across authentication events so that flag values don't change when an anonymous user logs in and becomes identified.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "feature_flag_payloads",
- "name": "Payloads",
- "description": "Send additional pieces of information (any valid JSON) to your app when a flag is matched for a user.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "multiple_release_conditions",
- "name": "Multiple release conditions",
- "description": "Target multiple groups of users with different release conditions for the same feature flag.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "release_condition_overrides",
- "name": "Release condition overrides",
- "description": "For any release condition, specify which flag value the users or groups in that condition should receive.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "targeting_by_group",
- "name": "Flag targeting by groups",
- "description": "Target feature flag release conditions by group properties, not just user properties.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "local_evaluation_and_bootstrapping",
- "name": "Local evaluation & bootstrapping",
- "description": "Bootstrap flags on initialization so all flags are available immediately, without having to make extra network requests.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "flag_usage_stats",
- "name": "Flag usage stats",
- "description": "See how many times a flag has been evaluated, how many times each variant has been returned, and what values users received.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "data_warehouse_manual_sync",
- "name": "Manual sync",
- "description": "Sync your data to the warehouse using your cloud storage provider.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "data_warehouse_unified_querying",
- "name": "Unified querying",
- "description": "Query all your business and product data directly inside PostHog.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "data_warehouse_insights_visualization",
- "name": "Insights",
- "description": "Create insights from the data you import and add them to your PostHog dashboards.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "console_logs",
- "name": "Console logs",
- "description": "Diagnose issues by inspecting errors in the user's network console",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "recordings_playlists",
- "name": "Recording playlists",
- "description": "Create playlists of certain session recordings to easily find and watch them again in the future.",
- "unit": "playlists",
- "limit": 5,
- "note": null
- },
- {
- "key": "dashboards",
- "name": "Dashboards",
- "description": "Save trends, funnels, and other insights for easy reference by your whole team.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "funnels",
- "name": "Funnels",
- "description": "Visualize user dropoff between a sequence of events.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "graphs_trends",
- "name": "Graphs & trends",
- "description": "Plot any number of events or actions over time.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "paths",
- "name": "Paths",
- "description": "Limited paths excludes: customizing path insights by setting the maximum number of paths, number of people on each path, how path names appear",
- "unit": null,
- "limit": null,
- "note": "Limited"
- },
- {
- "key": "tracked_users",
- "name": "Tracked users",
- "description": "Track users across devices and sessions.",
- "unit": null,
- "limit": null,
- "note": "Unlimited"
- },
- {
- "key": "data_retention",
- "name": "Data retention",
- "description": "Keep a historical record of your data.",
- "unit": "year",
- "limit": 1,
- "note": null
- },
- {
- "key": "team_members",
- "name": "Team members",
- "description": "PostHog doesn't charge per seat add your entire team!",
- "unit": null,
- "limit": null,
- "note": "Unlimited"
- },
- {
- "key": "organizations_projects",
- "name": "Projects",
- "description": "Organize environments within a project. Share dashboards, insights and more across environments without duplicating work.",
- "unit": "project",
- "limit": 1,
- "note": null
- },
- {
- "key": "environments",
- "name": "Environments",
- "description": "Create separate silos of data within a project. Data belongs to a single environment and all queries are environment-specific.",
- "unit": "environment",
- "limit": 1,
- "note": null
- },
- {
- "key": "api_access",
- "name": "API access",
- "description": "Access your data via our developer-friendly API.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "social_sso",
- "name": "SSO via Google, Github, or Gitlab",
- "description": "Log in to PostHog with your Google, Github, or Gitlab account.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "community_support",
- "name": "Community support",
- "description": "Get help from other users and PostHog team members in our Community forums.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "terms_and_conditions",
- "name": "Terms and conditions",
- "description": "Terms and conditions",
- "unit": null,
- "limit": null,
- "note": "Standard"
- }
- ],
- "current_total_amount_usd": null,
- "current_total_amount_usd_after_discount": null,
- "products": [
- {
- "name": "Product analytics + data stack",
- "description": "Trends, funnels, path analysis, CDP + more.",
- "price_description": null,
- "usage_key": "events",
- "image_url": "https://posthog.com/images/product/product-icons/product-analytics.svg",
- "icon_key": "IconGraph",
- "docs_url": "https://posthog.com/docs/product-analytics",
- "subscribed": false,
- "plans": [
- {
- "plan_key": "free-20230117",
- "product_key": "product_analytics",
- "name": "Product analytics + data stack",
- "description": "Trends, funnels, path analysis, CDP + more.",
- "image_url": "https://posthog.com/images/product/product-icons/product-analytics.svg",
- "docs_url": "https://posthog.com/docs/product-analytics",
- "note": null,
- "unit": "event",
- "free_allocation": 1000000,
- "features": [
- {
- "key": "dashboards",
- "name": "Dashboards",
- "description": "Save trends, funnels, and other insights for easy reference by your whole team.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "funnels",
- "name": "Funnels",
- "description": "Visualize user dropoff between a sequence of events.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "graphs_trends",
- "name": "Graphs & trends",
- "description": "Plot any number of events or actions over time.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "paths",
- "name": "Paths",
- "description": "Limited paths excludes: customizing path insights by setting the maximum number of paths, number of people on each path, how path names appear",
- "unit": null,
- "limit": null,
- "note": "Limited"
- }
- ],
- "tiers": null,
- "current_plan": true,
- "included_if": null
- },
- {
- "plan_key": "paid-20230509",
- "product_key": "product_analytics",
- "name": "Product analytics + data stack",
- "description": "Trends, funnels, path analysis, CDP + more.",
- "image_url": "https://posthog.com/images/product/product-icons/product-analytics.svg",
- "docs_url": "https://posthog.com/docs/product-analytics",
- "note": null,
- "unit": "event",
- "free_allocation": null,
- "features": [
- {
- "key": "dashboards",
- "name": "Dashboards",
- "description": "Save trends, funnels, and other insights for easy reference by your whole team.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "funnels",
- "name": "Funnels",
- "description": "Visualize user dropoff between a sequence of events.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "graphs_trends",
- "name": "Graphs & trends",
- "description": "Plot any number of events or actions over time.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "paths",
- "name": "Paths",
- "description": "Limited paths excludes: customizing path insights by setting the maximum number of paths, number of people on each path, how path names appear",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "subscriptions",
- "name": "Insight & dashboard subscriptions",
- "description": "Create a subscription for any insight or dashboard in PostHog to receive regular reports with their updates.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "paths_advanced",
- "name": "Advanced paths",
- "description": "Customize your path insights by setting the maximum number of paths, number of people on each path, and how path names should appear.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "advanced_permissions",
- "name": "Dashboard permissions",
- "description": "Restrict access to dashboards within the organization to only those who need it.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "ingestion_taxonomy",
- "name": "Ingestion taxonomy",
- "description": "Ingestion taxonomy",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "correlation_analysis",
- "name": "Correlation analysis",
- "description": "Automatically highlight significant factors that affect the conversion rate of users within a funnel.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "tagging",
- "name": "Dashboard tags",
- "description": "Organize dashboards with tags.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "behavioral_cohort_filtering",
- "name": "Lifecycle cohorts",
- "description": "Group users based on their long term behavior, such as whether they frequently performed an event, or have recently stopped performing an event.",
- "unit": null,
- "limit": null,
- "note": null
- }
- ],
- "tiers": [
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0",
- "up_to": 1000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0003068",
- "up_to": 2000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.00013",
- "up_to": 15000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000819",
- "up_to": 50000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000455",
- "up_to": 100000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000234",
- "up_to": 250000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000052",
- "up_to": null,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- }
- ],
- "current_plan": false,
- "included_if": null
- }
- ],
- "type": "product_analytics",
- "free_allocation": 1000000,
- "tiers": null,
- "tiered": true,
- "unit_amount_usd": null,
- "current_amount_usd_before_addons": null,
- "current_amount_usd": null,
- "current_usage": 35,
- "usage_limit": 1000000,
- "has_exceeded_limit": false,
- "percentage_usage": 3.5e-5,
- "projected_usage": 0,
- "projected_amount_usd": null,
- "projected_amount_usd_with_limit": null,
- "unit": "event",
- "addons": [
- {
- "name": "Group analytics",
- "description": "Associate events with a group or entity - such as a company, community, or project. Analyze these events as if they were sent by that entity itself. Great for B2B, marketplaces, and more.",
- "price_description": null,
- "image_url": "https://posthog.com/images/product/product-icons/group-analytics.svg",
- "icon_key": "IconPeople",
- "docs_url": "https://posthog.com/docs/product-analytics/group-analytics",
- "type": "group_analytics",
- "tiers": [
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0",
- "up_to": 1000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000708",
- "up_to": 2000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.00003",
- "up_to": 15000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000189",
- "up_to": 50000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000105",
- "up_to": 100000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000054",
- "up_to": 250000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000012",
- "up_to": null,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- }
- ],
- "tiered": true,
- "included_with_main_product": false,
- "subscribed": false,
- "unit": "event",
- "unit_amount_usd": null,
- "current_amount_usd": null,
- "current_usage": 0,
- "projected_usage": 0,
- "projected_amount_usd": null,
- "plans": [
- {
- "plan_key": "addon-20230509",
- "product_key": "group_analytics",
- "name": "Group analytics",
- "description": "Associate events with a group or entity - such as a company, community, or project. Analyze these events as if they were sent by that entity itself. Great for B2B, marketplaces, and more.",
- "image_url": "https://posthog.com/images/product/product-icons/group-analytics.svg",
- "docs_url": "https://posthog.com/docs/product-analytics/group-analytics",
- "note": null,
- "unit": "event",
- "free_allocation": null,
- "features": [
- {
- "key": "group_analytics",
- "name": "Group analytics",
- "description": "Associate events with a group - such as a company, community, or project - and analyze them in that context.",
- "unit": null,
- "limit": null,
- "note": null
- }
- ],
- "tiers": [
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0",
- "up_to": 1000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000708",
- "up_to": 2000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.00003",
- "up_to": 15000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000189",
- "up_to": 50000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000105",
- "up_to": 100000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000054",
- "up_to": 250000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000012",
- "up_to": null,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- }
- ],
- "current_plan": false,
- "included_if": null
- }
- ],
- "contact_support": false
- }
- ],
- "contact_support": false,
- "inclusion_only": false
- },
- {
- "name": "Session replay",
- "description": "Searchable recordings of people using your app or website with console logs and behavioral bucketing.",
- "price_description": null,
- "usage_key": "recordings",
- "image_url": "https://posthog.com/images/product/product-icons/session-replay.svg",
- "icon_key": "IconRewindPlay",
- "docs_url": "https://posthog.com/docs/session-replay",
- "subscribed": true,
- "plans": [
- {
- "plan_key": "free-20230117",
- "product_key": "session_replay",
- "name": "Session replay",
- "description": "Searchable recordings of people using your app or website with console logs and behavioral bucketing.",
- "image_url": "https://posthog.com/images/product/product-icons/session-replay.svg",
- "docs_url": "https://posthog.com/docs/session-replay",
- "note": null,
- "unit": "recording",
- "free_allocation": 15000,
- "features": [
- {
- "key": "console_logs",
- "name": "Console logs",
- "description": "Diagnose issues by inspecting errors in the user's network console",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "recordings_playlists",
- "name": "Recording playlists",
- "description": "Create playlists of certain session recordings to easily find and watch them again in the future.",
- "unit": "playlists",
- "limit": 5,
- "note": null
- }
- ],
- "tiers": null,
- "current_plan": true,
- "included_if": null
- },
- {
- "plan_key": "paid-20230117",
- "product_key": "session_replay",
- "name": "Session replay",
- "description": "Searchable recordings of people using your app or website with console logs and behavioral bucketing.",
- "image_url": "https://posthog.com/images/product/product-icons/session-replay.svg",
- "docs_url": "https://posthog.com/docs/session-replay",
- "note": null,
- "unit": "recording",
- "free_allocation": null,
- "features": [
- {
- "key": "console_logs",
- "name": "Console logs",
- "description": "Diagnose issues by inspecting errors in the user's network console",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "recordings_playlists",
- "name": "Recording playlists",
- "description": "Create playlists of certain session recordings to easily find and watch them again in the future.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "recordings_performance",
- "name": "Network performance on recordings",
- "description": "See your end-user's network performance and information alongside session recordings.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "recordings_file_export",
- "name": "Recordings file export",
- "description": "Save session recordings as a file to your local filesystem.",
- "unit": null,
- "limit": null,
- "note": null
- }
- ],
- "tiers": [
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0",
- "up_to": 15000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.005",
- "up_to": 50000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0045",
- "up_to": 150000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.004",
- "up_to": 500000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0035",
- "up_to": null,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- }
- ],
- "current_plan": false,
- "included_if": null
- }
- ],
- "type": "session_replay",
- "free_allocation": 15000,
- "tiers": null,
- "tiered": true,
- "unit_amount_usd": null,
- "current_amount_usd_before_addons": null,
- "current_amount_usd": null,
- "current_usage": 0,
- "usage_limit": 15000,
- "has_exceeded_limit": false,
- "percentage_usage": 0.0,
- "projected_usage": 0,
- "projected_amount_usd": null,
- "projected_amount_usd_with_limit": null,
- "unit": "recording",
- "addons": [],
- "contact_support": false,
- "inclusion_only": false
- },
- {
- "name": "Feature flags & A/B testing",
- "description": "Safely roll out new features and run experiments on changes.",
- "price_description": null,
- "usage_key": "feature_flag_requests",
- "image_url": "https://posthog.com/images/product/product-icons/feature-flags.svg",
- "icon_key": "IconToggle",
- "docs_url": "https://posthog.com/docs/feature-flags",
- "subscribed": false,
- "plans": [
- {
- "plan_key": "free-20230117",
- "product_key": "feature_flags",
- "name": "Feature flags & A/B testing",
- "description": "Safely roll out new features and run experiments on changes.",
- "image_url": "https://posthog.com/images/product/product-icons/feature-flags.svg",
- "docs_url": "https://posthog.com/docs/feature-flags",
- "note": null,
- "unit": "request",
- "free_allocation": 1000000,
- "features": [
- {
- "key": "boolean_flags",
- "name": "Boolean feature flags",
- "description": "Turn features on and off for specific users.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "persist_flags_cross_authentication",
- "name": "Persist flags across authentication",
- "description": "Persist feature flags across authentication events so that flag values don't change when an anonymous user logs in and becomes identified.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "feature_flag_payloads",
- "name": "Payloads",
- "description": "Send additional pieces of information (any valid JSON) to your app when a flag is matched for a user.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "multiple_release_conditions",
- "name": "Multiple release conditions",
- "description": "Target multiple groups of users with different release conditions for the same feature flag.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "release_condition_overrides",
- "name": "Release condition overrides",
- "description": "For any release condition, specify which flag value the users or groups in that condition should receive.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "targeting_by_group",
- "name": "Flag targeting by groups",
- "description": "Target feature flag release conditions by group properties, not just user properties.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "local_evaluation_and_bootstrapping",
- "name": "Local evaluation & bootstrapping",
- "description": "Bootstrap flags on initialization so all flags are available immediately, without having to make extra network requests.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "flag_usage_stats",
- "name": "Flag usage stats",
- "description": "See how many times a flag has been evaluated, how many times each variant has been returned, and what values users received.",
- "unit": null,
- "limit": null,
- "note": null
- }
- ],
- "tiers": null,
- "current_plan": true,
- "included_if": null
- },
- {
- "plan_key": "paid-20230623",
- "product_key": "feature_flags",
- "name": "Feature flags & A/B testing",
- "description": "Safely roll out new features and run experiments on changes.",
- "image_url": "https://posthog.com/images/product/product-icons/feature-flags.svg",
- "docs_url": "https://posthog.com/docs/feature-flags",
- "note": null,
- "unit": "request",
- "free_allocation": null,
- "features": [
- {
- "key": "boolean_flags",
- "name": "Boolean feature flags",
- "description": "Turn features on and off for specific users.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "multivariate_flags",
- "name": "Multivariate feature flags & experiments",
- "description": "Create three or more variants of a feature flag to test or release different versions of a feature.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "persist_flags_cross_authentication",
- "name": "Persist flags across authentication",
- "description": "Persist feature flags across authentication events so that flag values don't change when an anonymous user logs in and becomes identified.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "feature_flag_payloads",
- "name": "Payloads",
- "description": "Send additional pieces of information (any valid JSON) to your app when a flag is matched for a user.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "multiple_release_conditions",
- "name": "Multiple release conditions",
- "description": "Target multiple groups of users with different release conditions for the same feature flag.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "release_condition_overrides",
- "name": "Release condition overrides",
- "description": "For any release condition, specify which flag value the users or groups in that condition should receive.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "targeting_by_group",
- "name": "Flag targeting by groups",
- "description": "Target feature flag release conditions by group properties, not just user properties.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "local_evaluation_and_bootstrapping",
- "name": "Local evaluation & bootstrapping",
- "description": "Bootstrap flags on initialization so all flags are available immediately, without having to make extra network requests.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "flag_usage_stats",
- "name": "Flag usage stats",
- "description": "See how many times a flag has been evaluated, how many times each variant has been returned, and what values users received.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "experimentation",
- "name": "A/B testing",
- "description": "Test changes to your product and evaluate the impacts those changes make.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "group_experiments",
- "name": "Group experiments",
- "description": "Target experiments to specific groups of users so everyone in the same group gets the same variant.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "funnel_experiments",
- "name": "Funnel & trend experiments",
- "description": "Measure the impact of a change on aggregated values or a series of events, like a signup flow.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "secondary_metrics",
- "name": "Secondary experiment metrics",
- "description": "Track additional metrics to see how your experiment affects other parts of your app or different flows.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "statistical_analysis",
- "name": "Statistical analysis",
- "description": "Get a statistical analysis of your experiment results to see if the results are significant, or if they're likely just due to chance.",
- "unit": null,
- "limit": null,
- "note": null
- }
- ],
- "tiers": [
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0",
- "up_to": 1000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0001",
- "up_to": 2000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.000045",
- "up_to": 10000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.000025",
- "up_to": 50000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.00001",
- "up_to": null,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- }
- ],
- "current_plan": false,
- "included_if": null
- }
- ],
- "type": "feature_flags",
- "free_allocation": 1000000,
- "tiers": null,
- "tiered": true,
- "unit_amount_usd": null,
- "current_amount_usd_before_addons": null,
- "current_amount_usd": null,
- "current_usage": 0,
- "usage_limit": 1000000,
- "has_exceeded_limit": false,
- "percentage_usage": 0.0,
- "projected_usage": 0,
- "projected_amount_usd": null,
- "projected_amount_usd_with_limit": null,
- "unit": "request",
- "addons": [],
- "contact_support": false,
- "inclusion_only": false
- },
- {
- "name": "Surveys",
- "description": "Collect feedback from your users. Multiple choice, rating, open text, and more.",
- "price_description": null,
- "usage_key": "survey_responses",
- "image_url": "https://posthog.com/images/product/product-icons/surveys.svg",
- "icon_key": "IconMessage",
- "docs_url": "https://posthog.com/docs/surveys",
- "subscribed": false,
- "plans": [
- {
- "plan_key": "free-20230928",
- "product_key": "surveys",
- "name": "Surveys",
- "description": "Collect feedback from your users. Multiple choice, rating, open text, and more.",
- "image_url": "https://posthog.com/images/product/product-icons/surveys.svg",
- "docs_url": "https://posthog.com/docs/surveys",
- "note": null,
- "unit": "survey response",
- "free_allocation": 250,
- "features": [
- {
- "key": "surveys_unlimited_surveys",
- "name": "Unlimited surveys",
- "description": "Create as many surveys as you want.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_all_question_types",
- "name": "All question types",
- "description": "Rating scale (for NPS and the like), multiple choice, single choice, emoji rating, link, free text.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_user_targeting",
- "name": "User property targeting",
- "description": "Target users based on any of their user properties.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_user_sampling",
- "name": "User sampling",
- "description": "Sample users to only survey a portion of the users who match the criteria.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_api_mode",
- "name": "API mode",
- "description": "Create surveys via the API.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_results_analysis",
- "name": "Results analysis",
- "description": "Analyze your survey results including completion rates and drop offs.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_templates",
- "name": "Templates",
- "description": "Use our templates to get started quickly with NPS, customer satisfaction surveys, user interviews, and more.",
- "unit": null,
- "limit": null,
- "note": null
- }
- ],
- "tiers": null,
- "current_plan": true,
- "included_if": null
- },
- {
- "plan_key": "paid-20230928",
- "product_key": "surveys",
- "name": "Surveys",
- "description": "Collect feedback from your users. Multiple choice, rating, open text, and more.",
- "image_url": "https://posthog.com/images/product/product-icons/surveys.svg",
- "docs_url": "https://posthog.com/docs/surveys",
- "note": null,
- "unit": "survey response",
- "free_allocation": null,
- "features": [
- {
- "key": "surveys_unlimited_surveys",
- "name": "Unlimited surveys",
- "description": "Create as many surveys as you want.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_all_question_types",
- "name": "All question types",
- "description": "Rating scale (for NPS and the like), multiple choice, single choice, emoji rating, link, free text.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_multiple_questions",
- "name": "Multiple questions",
- "description": "Create multiple questions in a single survey.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_user_targeting",
- "name": "User property targeting",
- "description": "Target users based on any of their user properties.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_user_sampling",
- "name": "User sampling",
- "description": "Sample users to only survey a portion of the users who match the criteria.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_styling",
- "name": "Custom colors & positioning",
- "description": "Customize the colors of your surveys to match your brand and set survey position.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_text_html",
- "name": "Custom HTML text",
- "description": "Add custom HTML to your survey text.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_api_mode",
- "name": "API mode",
- "description": "Create surveys via the API.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_results_analysis",
- "name": "Results analysis",
- "description": "Analyze your survey results including completion rates and drop offs.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_templates",
- "name": "Templates",
- "description": "Use our templates to get started quickly with NPS, customer satisfaction surveys, user interviews, and more.",
- "unit": null,
- "limit": null,
- "note": null
- }
- ],
- "tiers": [
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0",
- "up_to": 250,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.2",
- "up_to": 500,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.1",
- "up_to": 1000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.035",
- "up_to": 10000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.015",
- "up_to": 20000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.01",
- "up_to": null,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- }
- ],
- "current_plan": false,
- "included_if": null
- }
- ],
- "type": "surveys",
- "free_allocation": 250,
- "tiers": null,
- "tiered": true,
- "unit_amount_usd": null,
- "current_amount_usd_before_addons": null,
- "current_amount_usd": null,
- "current_usage": 0,
- "usage_limit": 250,
- "has_exceeded_limit": false,
- "percentage_usage": 0.0,
- "projected_usage": 0,
- "projected_amount_usd": null,
- "projected_amount_usd_with_limit": null,
- "unit": "survey response",
- "addons": [],
- "contact_support": false,
- "inclusion_only": false
- },
- {
- "name": "Data warehouse",
- "description": "A single source for all your important data. This product is in beta. Pricing will be changing.",
- "price_description": null,
- "usage_key": "synced_rows",
- "image_url": "https://posthog.com/images/product/product-icons/data-warehouse.svg",
- "icon_key": "IconServer",
- "docs_url": "https://posthog.com/docs/data-warehouse",
- "subscribed": false,
- "plans": [
- {
- "plan_key": "free-20231026",
- "product_key": "data_warehouse",
- "name": "Data warehouse",
- "description": "A single source for all your important data. This product is in beta. Pricing will be changing.",
- "image_url": "https://posthog.com/images/product/product-icons/data-warehouse.svg",
- "docs_url": "https://posthog.com/docs/data-warehouse",
- "note": null,
- "unit": "row",
- "free_allocation": null,
- "features": [
- {
- "key": "data_warehouse_manual_sync",
- "name": "Manual sync",
- "description": "Sync your data to the warehouse using your cloud storage provider.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "data_warehouse_unified_querying",
- "name": "Unified querying",
- "description": "Query all your business and product data directly inside PostHog.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "data_warehouse_insights_visualization",
- "name": "Insights",
- "description": "Create insights from the data you import and add them to your PostHog dashboards.",
- "unit": null,
- "limit": null,
- "note": null
- }
- ],
- "tiers": null,
- "current_plan": true,
- "included_if": null
- },
- {
- "plan_key": "paid-20231026",
- "product_key": "data_warehouse",
- "name": "Data warehouse",
- "description": "A single source for all your important data. This product is in beta. Pricing will be changing.",
- "image_url": "https://posthog.com/images/product/product-icons/data-warehouse.svg",
- "docs_url": "https://posthog.com/docs/data-warehouse",
- "note": null,
- "unit": "row",
- "free_allocation": null,
- "features": [
- {
- "key": "data_warehouse_manual_sync",
- "name": "Manual sync",
- "description": "Sync your data to the warehouse using your cloud storage provider.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "data_warehouse_one_click_sync",
- "name": "One-Click sync",
- "description": "Sync your data to the warehouse with one click.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "data_warehouse_unified_querying",
- "name": "Unified querying",
- "description": "Query all your business and product data directly inside PostHog.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "data_warehouse_insights_visualization",
- "name": "Insights",
- "description": "Create insights from the data you import and add them to your PostHog dashboards.",
- "unit": null,
- "limit": null,
- "note": null
- }
- ],
- "tiers": [
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.000015",
- "up_to": null,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- }
- ],
- "current_plan": false,
- "included_if": null
- }
- ],
- "type": "data_warehouse",
- "free_allocation": 0,
- "tiers": null,
- "tiered": false,
- "unit_amount_usd": null,
- "current_amount_usd_before_addons": null,
- "current_amount_usd": null,
- "current_usage": 0,
- "usage_limit": 0,
- "has_exceeded_limit": false,
- "percentage_usage": 0,
- "projected_usage": 0,
- "projected_amount_usd": null,
- "projected_amount_usd_with_limit": null,
- "unit": "row",
- "addons": [],
- "contact_support": false,
- "inclusion_only": false
- },
- {
- "name": "Integrations + CDP",
- "description": "Connect PostHog to your favorite tools.",
- "price_description": null,
- "usage_key": null,
- "image_url": "https://posthog.com/images/product/product-icons/integrations.svg",
- "icon_key": "IconBolt",
- "docs_url": "https://posthog.com/docs/apps",
- "subscribed": null,
- "plans": [
- {
- "plan_key": "free-20230117",
- "product_key": "integrations",
- "name": "Integrations + CDP",
- "description": "Connect PostHog to your favorite tools.",
- "image_url": "https://posthog.com/images/product/product-icons/integrations.svg",
- "docs_url": "https://posthog.com/docs/apps",
- "note": null,
- "unit": null,
- "free_allocation": null,
- "features": [
- {
- "key": "zapier",
- "name": "Zapier",
- "description": "Zapier lets you connect PostHog with thousands of the most popular apps, so you can automate your work and have more time for what matters most—no code required.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "slack_integration",
- "name": "Slack",
- "description": "Get notified about new actions in Slack.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "microsoft_teams_integration",
- "name": "Microsoft Teams",
- "description": "Get notified about new actions in Microsoft Teams.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "discord_integration",
- "name": "Discord",
- "description": "Get notified about new actions in Discord.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "apps",
- "name": "CDP + Apps library",
- "description": "Connect your data with 50+ apps including BigQuery, Redshift, and more.",
- "unit": null,
- "limit": null,
- "note": null
- }
- ],
- "tiers": null,
- "current_plan": true,
- "included_if": "no_active_subscription"
- },
- {
- "plan_key": "paid-20230117",
- "product_key": "integrations",
- "name": "Integrations + CDP",
- "description": "Connect PostHog to your favorite tools.",
- "image_url": "https://posthog.com/images/product/product-icons/integrations.svg",
- "docs_url": "https://posthog.com/docs/apps",
- "note": null,
- "unit": null,
- "free_allocation": null,
- "features": [
- {
- "key": "zapier",
- "name": "Zapier",
- "description": "Zapier lets you connect PostHog with thousands of the most popular apps, so you can automate your work and have more time for what matters most—no code required.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "slack_integration",
- "name": "Slack",
- "description": "Get notified about new actions in Slack.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "microsoft_teams_integration",
- "name": "Microsoft Teams",
- "description": "Get notified about new actions in Microsoft Teams.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "discord_integration",
- "name": "Discord",
- "description": "Get notified about new actions in Discord.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "apps",
- "name": "CDP + Apps library",
- "description": "Connect your data with 50+ apps including BigQuery, Redshift, and more.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "app_metrics",
- "name": "App metrics",
- "description": "Get metrics on your apps to see their usage, reliability, and more.",
- "unit": null,
- "limit": null,
- "note": null
- }
- ],
- "tiers": null,
- "current_plan": false,
- "included_if": "has_subscription"
- }
- ],
- "type": "integrations",
- "free_allocation": 0,
- "tiers": null,
- "tiered": false,
- "unit_amount_usd": null,
- "current_amount_usd_before_addons": null,
- "current_amount_usd": null,
- "current_usage": 0,
- "usage_limit": 0,
- "has_exceeded_limit": false,
- "percentage_usage": 0,
- "projected_usage": 0,
- "projected_amount_usd": null,
- "projected_amount_usd_with_limit": null,
- "unit": null,
- "addons": [],
- "contact_support": false,
- "inclusion_only": true
- },
- {
- "name": "Platform and support",
- "description": "SSO, permission management, and support.",
- "price_description": null,
- "usage_key": null,
- "image_url": "https://posthog.com/images/product/product-icons/platform.svg",
- "icon_key": "IconStack",
- "docs_url": "https://posthog.com/docs",
- "subscribed": null,
- "plans": [
- {
- "plan_key": "free-20230117",
- "product_key": "platform_and_support",
- "name": "Platform and support",
- "description": "SSO, permission management, and support.",
- "image_url": "https://posthog.com/images/product/product-icons/platform.svg",
- "docs_url": "https://posthog.com/docs",
- "note": null,
- "unit": null,
- "free_allocation": null,
- "features": [
- {
- "key": "tracked_users",
- "name": "Tracked users",
- "description": "Track users across devices and sessions.",
- "unit": null,
- "limit": null,
- "note": "Unlimited"
- },
- {
- "key": "data_retention",
- "name": "Data retention",
- "description": "Keep a historical record of your data.",
- "unit": "year",
- "limit": 1,
- "note": null
- },
- {
- "key": "team_members",
- "name": "Team members",
- "description": "PostHog doesn't charge per seat add your entire team!",
- "unit": null,
- "limit": null,
- "note": "Unlimited"
- },
- {
- "key": "organizations_projects",
- "name": "Projects",
- "description": "Organize environments within a project. Share dashboards, insights and more across environments without duplicating work.",
- "unit": "project",
- "limit": 1,
- "note": null
- },
- {
- "key": "environments",
- "name": "Environments",
- "description": "Create separate silos of data within a project. Data belongs to a single environment and all queries are environment-specific.",
- "unit": "environment",
- "limit": 1,
- "note": null
- },
- {
- "key": "api_access",
- "name": "API access",
- "description": "Access your data via our developer-friendly API.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "social_sso",
- "name": "SSO via Google, Github, or Gitlab",
- "description": "Log in to PostHog with your Google, Github, or Gitlab account.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "community_support",
- "name": "Community support",
- "description": "Get help from other users and PostHog team members in our Community forums.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "terms_and_conditions",
- "name": "Terms and conditions",
- "description": "Terms and conditions",
- "unit": null,
- "limit": null,
- "note": "Standard"
- }
- ],
- "tiers": null,
- "current_plan": true,
- "included_if": "no_active_subscription"
- },
- {
- "plan_key": "paid-20230926",
- "product_key": "platform_and_support",
- "name": "Platform and support",
- "description": "SSO, permission management, and support.",
- "image_url": "https://posthog.com/images/product/product-icons/platform.svg",
- "docs_url": "https://posthog.com/docs",
- "note": null,
- "unit": null,
- "free_allocation": null,
- "features": [
- {
- "key": "tracked_users",
- "name": "Tracked users",
- "description": "Track users across devices and sessions.",
- "unit": null,
- "limit": null,
- "note": "Unlimited"
- },
- {
- "key": "data_retention",
- "name": "Data retention",
- "description": "Keep a historical record of your data.",
- "unit": null,
- "limit": null,
- "note": "7 years"
- },
- {
- "key": "team_members",
- "name": "Team members",
- "description": "PostHog doesn't charge per seat add your entire team!",
- "unit": null,
- "limit": null,
- "note": "Unlimited"
- },
- {
- "key": "organizations_projects",
- "name": "Projects",
- "description": "Organize environments within a project. Share dashboards, insights and more across environments without duplicating work.",
- "unit": null,
- "limit": null,
- "note": "Unlimited"
- },
- {
- "key": "environments",
- "name": "Environments",
- "description": "Create separate silos of data within a project. Data belongs to a single environment and all queries are environment-specific.",
- "unit": null,
- "limit": null,
- "note": "Unlimited"
- },
- {
- "key": "api_access",
- "name": "API access",
- "description": "Access your data via our developer-friendly API.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "social_sso",
- "name": "SSO via Google, Github, or Gitlab",
- "description": "Log in to PostHog with your Google, Github, or Gitlab account.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "project_based_permissioning",
- "name": "Project permissions",
- "description": "Restrict access to data within the organization to only those who need it.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "white_labelling",
- "name": "White labeling",
- "description": "Use your own branding in your PostHog organization.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "community_support",
- "name": "Community support",
- "description": "Get help from other users and PostHog team members in our Community forums.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "dedicated_support",
- "name": "Slack (dedicated channel)",
- "description": "Get help directly from our support team in a dedicated Slack channel shared between you and the PostHog team.",
- "unit": null,
- "limit": null,
- "note": "$2k/month spend or above"
- },
- {
- "key": "email_support",
- "name": "Direct access to engineers",
- "description": "Get help directly from our product engineers via email. No wading through multiple support people before you get help.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "terms_and_conditions",
- "name": "Terms and conditions",
- "description": "Terms and conditions",
- "unit": null,
- "limit": null,
- "note": "Standard"
- },
- {
- "key": "security_assessment",
- "name": "Security assessment",
- "description": "Security assessment",
- "unit": null,
- "limit": null,
- "note": null
- }
- ],
- "tiers": null,
- "current_plan": false,
- "included_if": "has_subscription"
- }
- ],
- "type": "platform_and_support",
- "free_allocation": 0,
- "tiers": null,
- "tiered": false,
- "unit_amount_usd": null,
- "current_amount_usd_before_addons": null,
- "current_amount_usd": null,
- "current_usage": 0,
- "usage_limit": 0,
- "has_exceeded_limit": false,
- "percentage_usage": 0,
- "projected_usage": 0,
- "projected_amount_usd": null,
- "projected_amount_usd_with_limit": null,
- "unit": null,
- "addons": [],
- "contact_support": true,
- "inclusion_only": true
- }
- ],
- "custom_limits_usd": {},
- "usage_summary": {
- "events": {
- "usage": 0,
- "limit": 1000000
- },
- "recordings": {
- "usage": 0,
- "limit": 15000
- },
- "feature_flag_requests": {
- "usage": 0,
- "limit": 1000000
- },
- "survey_responses": {
- "usage": 0,
- "limit": 250
- },
- "synced_rows": {
- "usage": 0,
- "limit": 0
- }
- },
- "free_trial_until": null,
- "discount_percent": null,
- "discount_amount_usd": null,
- "amount_off_expires_at": null,
- "never_drop_data": null,
- "stripe_portal_url": "http://localhost:8000/api/billing/portal"
-}
diff --git a/playwright/mocks/billing/billing-unsubscribed.json b/playwright/mocks/billing/billing-unsubscribed.json
deleted file mode 100644
index fdd1e8e57ba1..000000000000
--- a/playwright/mocks/billing/billing-unsubscribed.json
+++ /dev/null
@@ -1,3723 +0,0 @@
-{
- "license": {
- "plan": "dev"
- },
- "customer_id": "cus_Pg7PIL8MsKi6bx",
- "deactivated": false,
- "has_active_subscription": false,
- "billing_period": {
- "current_period_start": "2024-03-04T23:43:35.772Z",
- "current_period_end": "2024-04-03T23:43:35.772Z",
- "interval": "month"
- },
- "available_product_features": [
- {
- "key": "surveys_unlimited_surveys",
- "name": "Unlimited surveys",
- "description": "Create as many surveys as you want.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_all_question_types",
- "name": "All question types",
- "description": "Rating scale (for NPS and the like), multiple choice, single choice, emoji rating, link, free text.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_user_targeting",
- "name": "Advanced user targeting",
- "description": "Target by URL, user property, or feature flag when used with Feature flags.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_user_sampling",
- "name": "User sampling",
- "description": "Sample users to only survey a portion of the users who match the criteria.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_api_mode",
- "name": "API mode",
- "description": "Using PostHog.js? No more code required. But if want to create your own UI, we have a full API.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_results_analysis",
- "name": "Aggregated results",
- "description": "See feedback summarized and broken down per response, plus completion rates and drop offs.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_templates",
- "name": "Templates",
- "description": "Use our templates to get started quickly with NPS, customer satisfaction surveys, user interviews, and more.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_data_retention",
- "name": "Data retention",
- "description": "Keep a historical record of your data.",
- "unit": "year",
- "limit": 1,
- "note": null
- },
- {
- "key": "zapier",
- "name": "Zapier",
- "description": "Zapier lets you connect PostHog with thousands of the most popular apps, so you can automate your work and have more time for what matters most—no code required.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "slack_integration",
- "name": "Slack",
- "description": "Get notified about new actions in Slack.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "microsoft_teams_integration",
- "name": "Microsoft Teams",
- "description": "Get notified about new actions in Microsoft Teams.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "discord_integration",
- "name": "Discord",
- "description": "Get notified about new actions in Discord.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "apps",
- "name": "Transformations",
- "description": "Use transformations to filter or modify your incoming data. (Destinations not included, see the Data pipelines addon for product analytics.)",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "boolean_flags",
- "name": "Boolean feature flags",
- "description": "Turn features on and off for specific users.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "multivariate_flags",
- "name": "Multivariate feature flags & experiments",
- "description": "Create three or more variants of a feature flag to test or release different versions of a feature.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "persist_flags_cross_authentication",
- "name": "Persist flags across authentication",
- "description": "Persist feature flags across authentication events so that flag values don't change when an anonymous user logs in and becomes identified.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "feature_flag_payloads",
- "name": "Test changes without code",
- "description": "Use JSON payloads to change text, visuals, or entire blocks of code without subsequent deployments.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "multiple_release_conditions",
- "name": "Multiple release conditions",
- "description": "Customize your rollout strategy by user or group properties, cohort, or traffic percentage.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "release_condition_overrides",
- "name": "Release condition overrides",
- "description": "For any release condition, specify which flag value the users or groups in that condition should receive.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "targeting_by_group",
- "name": "Flag targeting by groups",
- "description": "Target feature flag release conditions by group properties, not just user properties.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "local_evaluation_and_bootstrapping",
- "name": "Local evaluation & bootstrapping",
- "description": "Bootstrap flags on initialization so all flags are available immediately, without having to make extra network requests.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "flag_usage_stats",
- "name": "Flag usage stats",
- "description": "See how many times a flag has been evaluated, how many times each variant has been returned, and what values users received.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "experimentation",
- "name": "A/B testing",
- "description": "Test changes to your product and evaluate the impacts those changes make.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "funnel_experiments",
- "name": "Funnel & trend experiments",
- "description": "Measure the impact of a change on a aggregate values or a series of events, like a signup flow.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "secondary_metrics",
- "name": "Secondary experiment metrics",
- "description": "Track additional metrics to see how your experiment affects other parts of your app or different flows.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "statistical_analysis",
- "name": "Statistical analysis",
- "description": "Get a statistical analysis of your experiment results to see if the results are significant, or if they're likely just due to chance.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "feature_flags_data_retention",
- "name": "Data retention",
- "description": "Keep a historical record of your data.",
- "unit": "year",
- "limit": 1,
- "note": null
- },
- {
- "key": "console_logs",
- "name": "Console logs",
- "description": "Debug issues faster by browsing the user's console.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "recordings_performance",
- "name": "Network performance on recordings",
- "description": "See your end-user's network performance and information alongside session recordings.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "session_replay_network_payloads",
- "name": "Network monitor",
- "description": "Analyze performance and network calls.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "recordings_playlists",
- "name": "Recording playlists",
- "description": "Create playlists of certain session recordings to easily find and watch them again in the future.",
- "unit": "playlists",
- "limit": 5,
- "note": null
- },
- {
- "key": "session_replay_data_retention",
- "name": "Data retention",
- "description": "Keep a historical record of your data.",
- "unit": "month",
- "limit": 1,
- "note": null
- },
- {
- "key": "replay_mask_sensitive_data",
- "name": "Block sensitive data",
- "description": "Disable capturing data from any DOM element with HTML attributes or a customizable config.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_sharing_embedding",
- "name": "Share and embed",
- "description": "Share replays directly via URL or embed via iframe.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_product_analytics_integration",
- "name": "Event timeline",
- "description": "See a history of everything that happened in a user's session.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_filter_person_properties",
- "name": "Filter person properties",
- "description": "Filter by person properties to quickly find relevant recordings.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_filter_events",
- "name": "Filter events",
- "description": "Filter by events to quickly find relevant recordings.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_dom_explorer",
- "name": "DOM Explorer",
- "description": "Freeze snapshots of recordings and explore the DOM with your browser dev tools.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "session_replay_sampling",
- "name": "Sample recorded sessions",
- "description": "Restrict the percentage of sessions that will be recorded.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_recording_duration_minimum",
- "name": "Minimum duration",
- "description": "Only record sessions longer than the minimum duration.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_feature_flag_based_recording",
- "name": "Record via feature flag",
- "description": "Only record sessions for users that have the flag enabled.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "dashboards",
- "name": "Dashboards",
- "description": "Save trends, funnels, and other insights for easy reference by your whole team.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "funnels",
- "name": "Funnels",
- "description": "Visualize user dropoff between a sequence of events. See conversion rate over time, use flexible step ordering, set exclusion steps, and more.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "graphs_trends",
- "name": "Graphs & trends",
- "description": "Plot any number of events or actions over time.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "paths",
- "name": "User paths",
- "description": "Limited paths excludes: customizing path insights by setting the maximum number of paths, number of people on each path, how path names appear",
- "unit": null,
- "limit": null,
- "note": "Limited"
- },
- {
- "key": "product_analytics_data_retention",
- "name": "Data retention",
- "description": "Keep a historical record of your data.",
- "unit": "year",
- "limit": 1,
- "note": null
- },
- {
- "key": "tracked_users",
- "name": "Tracked users",
- "description": "Track users across devices and sessions.",
- "unit": null,
- "limit": null,
- "note": "Unlimited"
- },
- {
- "key": "team_members",
- "name": "Team members",
- "description": "PostHog doesn't charge per seat add your entire team!",
- "unit": null,
- "limit": null,
- "note": "Unlimited"
- },
- {
- "key": "organizations_projects",
- "name": "Projects",
- "description": "Organize environments within a project. Share dashboards, insights and more across environments without duplicating work.",
- "unit": "project",
- "limit": 1,
- "note": null
- },
- {
- "key": "environments",
- "name": "Environments",
- "description": "Create separate silos of data within a project. Data belongs to a single environment and all queries are environment-specific.",
- "unit": "environment",
- "limit": 1,
- "note": null
- },
- {
- "key": "api_access",
- "name": "API access",
- "description": "Access your data via our developer-friendly API.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "social_sso",
- "name": "SSO via Google, Github, or Gitlab",
- "description": "Log in to PostHog with your Google, Github, or Gitlab account.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "community_support",
- "name": "Community support",
- "description": "Get help from other users and PostHog team members in our Community forums.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "2fa",
- "name": "2FA",
- "description": "Secure your PostHog account with two-factor authentication.",
- "unit": null,
- "limit": null,
- "note": null
- }
- ],
- "current_total_amount_usd": null,
- "current_total_amount_usd_after_discount": null,
- "products": [
- {
- "name": "Product analytics",
- "headline": "Product analytics with autocapture",
- "description": "A comprehensive product analytics platform built to natively work with session replay, feature flags, A/B testing, and surveys.",
- "price_description": null,
- "usage_key": "events",
- "image_url": "https://posthog.com/images/products/product-analytics/product-analytics.png",
- "screenshot_url": "https://posthog.com/images/products/product-analytics/screenshot-product-analytics.png",
- "icon_key": "IconGraph",
- "docs_url": "https://posthog.com/docs/product-analytics",
- "subscribed": false,
- "plans": [
- {
- "plan_key": "free-20230117",
- "product_key": "product_analytics",
- "name": "Free",
- "description": "A comprehensive product analytics platform built to natively work with session replay, feature flags, A/B testing, and surveys.",
- "image_url": "https://posthog.com/images/products/product-analytics/product-analytics.png",
- "docs_url": "https://posthog.com/docs/product-analytics",
- "note": null,
- "unit": "event",
- "free_allocation": 1000000,
- "features": [
- {
- "key": "dashboards",
- "name": "Dashboards",
- "description": "Save trends, funnels, and other insights for easy reference by your whole team.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "funnels",
- "name": "Funnels",
- "description": "Visualize user dropoff between a sequence of events. See conversion rate over time, use flexible step ordering, set exclusion steps, and more.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "graphs_trends",
- "name": "Graphs & trends",
- "description": "Plot any number of events or actions over time.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "paths",
- "name": "User paths",
- "description": "Limited paths excludes: customizing path insights by setting the maximum number of paths, number of people on each path, how path names appear",
- "unit": null,
- "limit": null,
- "note": "Limited"
- },
- {
- "key": "product_analytics_data_retention",
- "name": "Data retention",
- "description": "Keep a historical record of your data.",
- "unit": "year",
- "limit": 1,
- "note": null
- }
- ],
- "tiers": null,
- "current_plan": true,
- "included_if": null,
- "contact_support": null,
- "unit_amount_usd": null
- },
- {
- "plan_key": "paid-20240111",
- "product_key": "product_analytics",
- "name": "Paid",
- "description": "A comprehensive product analytics platform built to natively work with session replay, feature flags, A/B testing, and surveys.",
- "image_url": "https://posthog.com/images/products/product-analytics/product-analytics.png",
- "docs_url": "https://posthog.com/docs/product-analytics",
- "note": null,
- "unit": "event",
- "free_allocation": null,
- "features": [
- {
- "key": "dashboards",
- "name": "Dashboards",
- "description": "Save trends, funnels, and other insights for easy reference by your whole team.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "funnels",
- "name": "Funnels",
- "description": "Visualize user dropoff between a sequence of events. See conversion rate over time, use flexible step ordering, set exclusion steps, and more.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "graphs_trends",
- "name": "Graphs & trends",
- "description": "Plot any number of events or actions over time.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "paths",
- "name": "User paths",
- "description": "Limited paths excludes: customizing path insights by setting the maximum number of paths, number of people on each path, how path names appear",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "subscriptions",
- "name": "Insight & dashboard subscriptions",
- "description": "Create a subscription for any insight or dashboard in PostHog to receive regular reports with their updates.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "paths_advanced",
- "name": "Advanced paths",
- "description": "Customize your path insights by setting the maximum number of paths, number of people on each path, and how path names should appear.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "correlation_analysis",
- "name": "Correlation analysis",
- "description": "Automatically highlight significant factors that affect the conversion rate of users within a funnel.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "behavioral_cohort_filtering",
- "name": "Lifecycle",
- "description": "Discover how your active users break down, highlighting those who have recently stopped being active or those who have just become active for the first time.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "product_analytics_data_retention",
- "name": "Data retention",
- "description": "Keep a historical record of your data.",
- "unit": "years",
- "limit": 7,
- "note": null
- }
- ],
- "tiers": [
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0",
- "up_to": 1000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.00031",
- "up_to": 2000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.00013",
- "up_to": 15000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000819",
- "up_to": 50000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000455",
- "up_to": 100000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000234",
- "up_to": 250000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000052",
- "up_to": null,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- }
- ],
- "current_plan": false,
- "included_if": null,
- "contact_support": null,
- "unit_amount_usd": null
- }
- ],
- "type": "product_analytics",
- "free_allocation": 1000000,
- "tiers": null,
- "tiered": true,
- "unit_amount_usd": null,
- "current_amount_usd_before_addons": null,
- "current_amount_usd": null,
- "current_usage": 0,
- "usage_limit": 1000000,
- "has_exceeded_limit": false,
- "percentage_usage": 0.0,
- "projected_usage": 0,
- "projected_amount_usd": null,
- "projected_amount_usd_with_limit": null,
- "unit": "event",
- "addons": [
- {
- "name": "Group analytics",
- "description": "Associate events with a group or entity - such as a company, community, or project. Analyze these events as if they were sent by that entity itself. Great for B2B, marketplaces, and more.",
- "price_description": null,
- "image_url": "https://posthog.com/images/product/product-icons/group-analytics.svg",
- "icon_key": "IconPeople",
- "docs_url": "https://posthog.com/docs/product-analytics/group-analytics",
- "type": "group_analytics",
- "tiers": [
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0",
- "up_to": 1000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000708",
- "up_to": 2000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.00003",
- "up_to": 15000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000189",
- "up_to": 50000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000105",
- "up_to": 100000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000054",
- "up_to": 250000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000012",
- "up_to": null,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- }
- ],
- "tiered": true,
- "included_with_main_product": false,
- "subscribed": false,
- "unit": "event",
- "unit_amount_usd": null,
- "current_amount_usd": null,
- "current_usage": 0,
- "projected_usage": 0,
- "projected_amount_usd": null,
- "plans": [
- {
- "plan_key": "addon-20230509",
- "product_key": "group_analytics",
- "name": "Addon",
- "description": "Associate events with a group or entity - such as a company, community, or project. Analyze these events as if they were sent by that entity itself. Great for B2B, marketplaces, and more.",
- "image_url": "https://posthog.com/images/product/product-icons/group-analytics.svg",
- "docs_url": "https://posthog.com/docs/product-analytics/group-analytics",
- "note": null,
- "unit": "event",
- "free_allocation": null,
- "features": [
- {
- "key": "group_analytics",
- "name": "Group analytics",
- "description": "Associate events with a group - such as a company, community, or project - and analyze them in that context.",
- "unit": null,
- "limit": null,
- "note": null
- }
- ],
- "tiers": [
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0",
- "up_to": 1000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000708",
- "up_to": 2000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.00003",
- "up_to": 15000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000189",
- "up_to": 50000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000105",
- "up_to": 100000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000054",
- "up_to": 250000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000012",
- "up_to": null,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- }
- ],
- "current_plan": false,
- "included_if": null,
- "contact_support": null,
- "unit_amount_usd": null
- }
- ],
- "contact_support": null
- },
- {
- "name": "Data pipelines",
- "description": "Get your PostHog data into your data warehouse or other tools like BigQuery, Redshift, Customer.io, and more.",
- "price_description": null,
- "image_url": "None",
- "icon_key": "IconDecisionTree",
- "docs_url": "https://posthog.com/docs/cdp/batch-exports",
- "type": "data_pipelines",
- "tiers": [
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0",
- "up_to": 1000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.000248",
- "up_to": 2000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.000104",
- "up_to": 15000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000655",
- "up_to": 50000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000364",
- "up_to": 100000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000187",
- "up_to": 250000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000042",
- "up_to": null,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- }
- ],
- "tiered": true,
- "included_with_main_product": false,
- "subscribed": false,
- "unit": "event",
- "unit_amount_usd": null,
- "current_amount_usd": null,
- "current_usage": 0,
- "projected_usage": 0,
- "projected_amount_usd": null,
- "plans": [
- {
- "plan_key": "addon-20240111",
- "product_key": "data_pipelines",
- "name": "Addon",
- "description": "Get your PostHog data into your data warehouse or other tools like BigQuery, Redshift, Customer.io, and more.",
- "image_url": null,
- "docs_url": "https://posthog.com/docs/cdp/batch-exports",
- "note": null,
- "unit": "event",
- "free_allocation": null,
- "features": [
- {
- "key": "data_pipelines",
- "name": "Data pipelines",
- "description": "Get your PostHog data into your data warehouse or other tools like BigQuery, Redshift, Customer.io, and more.",
- "unit": null,
- "limit": null,
- "note": null
- }
- ],
- "tiers": [
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0",
- "up_to": 1000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.000248",
- "up_to": 2000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.000104",
- "up_to": 15000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000655",
- "up_to": 50000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000364",
- "up_to": 100000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000187",
- "up_to": 250000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000042",
- "up_to": null,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- }
- ],
- "current_plan": false,
- "included_if": null,
- "contact_support": null,
- "unit_amount_usd": null
- }
- ],
- "contact_support": null
- }
- ],
- "contact_support": false,
- "inclusion_only": false,
- "features": [
- {
- "key": "product_analytics_data_retention",
- "name": "Data retention",
- "description": "Keep a historical record of your data.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "dashboards",
- "name": "Dashboards",
- "description": "Save trends, funnels, and other insights for easy reference by your whole team.",
- "images": {
- "light": "https://posthog.com/images/products/product-analytics/screenshot-dashboards.png",
- "dark": "https://posthog.com/images/products/product-analytics/screenshot-dashboards-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "funnels",
- "name": "Funnels",
- "description": "Visualize user dropoff between a sequence of events. See conversion rate over time, use flexible step ordering, set exclusion steps, and more.",
- "images": {
- "light": "https://posthog.com/images/products/product-analytics/screenshot-funnels.png",
- "dark": "https://posthog.com/images/products/product-analytics/screenshot-funnels-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "graphs_trends",
- "name": "Graphs & trends",
- "description": "Plot any number of events or actions over time.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "paths",
- "name": "User paths",
- "description": "Limited paths excludes: customizing path insights by setting the maximum number of paths, number of people on each path, how path names appear",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "insights",
- "name": "Unlimited Insights",
- "description": "Trends, funnels, retention, user paths, stickiness, and lifecycle insights to visualize your data.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "subscriptions",
- "name": "Insight & dashboard subscriptions",
- "description": "Create a subscription for any insight or dashboard in PostHog to receive regular reports with their updates.",
- "images": null,
- "icon_key": "IconNotification",
- "type": "secondary"
- },
- {
- "key": "paths_advanced",
- "name": "Advanced paths",
- "description": "Customize your path insights by setting the maximum number of paths, number of people on each path, and how path names should appear.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "correlation_analysis",
- "name": "Correlation analysis",
- "description": "Automatically highlight significant factors that affect the conversion rate of users within a funnel.",
- "images": {
- "light": "https://posthog.com/images/products/product-analytics/screenshot-correlation-analysis.png",
- "dark": "https://posthog.com/images/products/product-analytics/screenshot-correlation-analysis-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "behavioral_cohort_filtering",
- "name": "Lifecycle",
- "description": "Discover how your active users break down, highlighting those who have recently stopped being active or those who have just become active for the first time.",
- "images": {
- "light": "https://posthog.com/images/products/product-analytics/screenshot-lifecycle.png",
- "dark": "https://posthog.com/images/products/product-analytics/screenshot-lifecycle-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "product_analytics_retention",
- "name": "Retention",
- "description": "See how many users return on subsequent days after performing an event the first time, or recurrently.",
- "images": {
- "light": "https://posthog.com/images/products/product-analytics/screenshot-retention.png",
- "dark": "https://posthog.com/images/products/product-analytics/screenshot-retention-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "product_analytics_stickiness",
- "name": "Stickiness",
- "description": "Learn how many times users perform a specific event in a period of time.",
- "images": {
- "light": "https://posthog.com/images/products/product-analytics/screenshot-stickiness.png",
- "dark": "https://posthog.com/images/products/product-analytics/screenshot-stickiness-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "autocapture",
- "name": "Autocapture",
- "description": "Add PostHog.js to your website or web app to track all event data and retroactively define events.",
- "images": null,
- "icon_key": "IconBolt",
- "type": "secondary"
- },
- {
- "key": "data_visualization",
- "name": "Data visualization",
- "description": "Filter data by user property, group data, and use formulas in queries.",
- "images": null,
- "icon_key": "IconPieChart",
- "type": "secondary"
- },
- {
- "key": "product_analytics_sql_queries",
- "name": "Query with SQL",
- "description": "Use PostHog’s filtering interface or switch into SQL mode for more powerful querying.",
- "images": null,
- "icon_key": "IconTerminal",
- "type": "secondary"
- }
- ]
- },
- {
- "name": "Session replay",
- "headline": "Watch how users experience your app",
- "description": "Session replay helps you diagnose issues and understand user behavior in your product or website.",
- "price_description": null,
- "usage_key": "recordings",
- "image_url": "https://posthog.com/images/products/session-replay/session-replay.png",
- "screenshot_url": "https://posthog.com/images/products/session-replay/screenshot-session-replay.png",
- "icon_key": "IconRewindPlay",
- "docs_url": "https://posthog.com/docs/session-replay",
- "subscribed": false,
- "plans": [
- {
- "plan_key": "free-20231218",
- "product_key": "session_replay",
- "name": "Free",
- "description": "Session replay helps you diagnose issues and understand user behavior in your product or website.",
- "image_url": "https://posthog.com/images/products/session-replay/session-replay.png",
- "docs_url": "https://posthog.com/docs/session-replay",
- "note": null,
- "unit": "recording",
- "free_allocation": 5000,
- "features": [
- {
- "key": "console_logs",
- "name": "Console logs",
- "description": "Debug issues faster by browsing the user's console.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "recordings_performance",
- "name": "Network performance on recordings",
- "description": "See your end-user's network performance and information alongside session recordings.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "session_replay_network_payloads",
- "name": "Network monitor",
- "description": "Analyze performance and network calls.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "recordings_playlists",
- "name": "Recording playlists",
- "description": "Create playlists of certain session recordings to easily find and watch them again in the future.",
- "unit": "playlists",
- "limit": 5,
- "note": null
- },
- {
- "key": "session_replay_data_retention",
- "name": "Data retention",
- "description": "Keep a historical record of your data.",
- "unit": "month",
- "limit": 1,
- "note": null
- },
- {
- "key": "replay_mask_sensitive_data",
- "name": "Block sensitive data",
- "description": "Disable capturing data from any DOM element with HTML attributes or a customizable config.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_sharing_embedding",
- "name": "Share and embed",
- "description": "Share replays directly via URL or embed via iframe.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_product_analytics_integration",
- "name": "Event timeline",
- "description": "See a history of everything that happened in a user's session.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_filter_person_properties",
- "name": "Filter person properties",
- "description": "Filter by person properties to quickly find relevant recordings.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_filter_events",
- "name": "Filter events",
- "description": "Filter by events to quickly find relevant recordings.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_dom_explorer",
- "name": "DOM Explorer",
- "description": "Freeze snapshots of recordings and explore the DOM with your browser dev tools.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "session_replay_sampling",
- "name": "Sample recorded sessions",
- "description": "Restrict the percentage of sessions that will be recorded.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_recording_duration_minimum",
- "name": "Minimum duration",
- "description": "Only record sessions longer than the minimum duration.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_feature_flag_based_recording",
- "name": "Record via feature flag",
- "description": "Only record sessions for users that have the flag enabled.",
- "unit": null,
- "limit": null,
- "note": null
- }
- ],
- "tiers": null,
- "current_plan": true,
- "included_if": null,
- "contact_support": null,
- "unit_amount_usd": null
- },
- {
- "plan_key": "paid-20231218",
- "product_key": "session_replay",
- "name": "Paid",
- "description": "Session replay helps you diagnose issues and understand user behavior in your product or website.",
- "image_url": "https://posthog.com/images/products/session-replay/session-replay.png",
- "docs_url": "https://posthog.com/docs/session-replay",
- "note": null,
- "unit": "recording",
- "free_allocation": null,
- "features": [
- {
- "key": "console_logs",
- "name": "Console logs",
- "description": "Debug issues faster by browsing the user's console.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "recordings_playlists",
- "name": "Recording playlists",
- "description": "Create playlists of certain session recordings to easily find and watch them again in the future.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "recordings_performance",
- "name": "Network performance on recordings",
- "description": "See your end-user's network performance and information alongside session recordings.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "session_replay_network_payloads",
- "name": "Network monitor",
- "description": "Analyze performance and network calls.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "recordings_file_export",
- "name": "Download recordings",
- "description": "Retain recordings beyond data retention limits.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "session_replay_data_retention",
- "name": "Data retention",
- "description": "Keep a historical record of your data.",
- "unit": "months",
- "limit": 3,
- "note": null
- },
- {
- "key": "replay_mask_sensitive_data",
- "name": "Block sensitive data",
- "description": "Disable capturing data from any DOM element with HTML attributes or a customizable config.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_sharing_embedding",
- "name": "Share and embed",
- "description": "Share replays directly via URL or embed via iframe.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_product_analytics_integration",
- "name": "Event timeline",
- "description": "See a history of everything that happened in a user's session.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_filter_person_properties",
- "name": "Filter person properties",
- "description": "Filter by person properties to quickly find relevant recordings.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_filter_events",
- "name": "Filter events",
- "description": "Filter by events to quickly find relevant recordings.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_dom_explorer",
- "name": "DOM Explorer",
- "description": "Freeze snapshots of recordings and explore the DOM with your browser dev tools.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "session_replay_sampling",
- "name": "Sample recorded sessions",
- "description": "Restrict the percentage of sessions that will be recorded.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_recording_duration_minimum",
- "name": "Minimum duration",
- "description": "Only record sessions longer than the minimum duration.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_feature_flag_based_recording",
- "name": "Record via feature flag",
- "description": "Only record sessions for users that have the flag enabled.",
- "unit": null,
- "limit": null,
- "note": null
- }
- ],
- "tiers": [
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0",
- "up_to": 5000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.04",
- "up_to": 15000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.003",
- "up_to": 50000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0027",
- "up_to": 150000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0025",
- "up_to": 500000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.002",
- "up_to": null,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- }
- ],
- "current_plan": false,
- "included_if": null,
- "contact_support": null,
- "unit_amount_usd": null
- }
- ],
- "type": "session_replay",
- "free_allocation": 5000,
- "tiers": null,
- "tiered": true,
- "unit_amount_usd": null,
- "current_amount_usd_before_addons": null,
- "current_amount_usd": null,
- "current_usage": 0,
- "usage_limit": 5000,
- "has_exceeded_limit": false,
- "percentage_usage": 0.0,
- "projected_usage": 0,
- "projected_amount_usd": null,
- "projected_amount_usd_with_limit": null,
- "unit": "recording",
- "addons": [],
- "contact_support": false,
- "inclusion_only": false,
- "features": [
- {
- "key": "recordings_playlists",
- "name": "Recording playlists",
- "description": "Create playlists of certain session recordings to easily find and watch them again in the future.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "session_replay_data_retention",
- "name": "Data retention",
- "description": "Keep a historical record of your data.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "console_logs",
- "name": "Console logs",
- "description": "Debug issues faster by browsing the user's console.",
- "images": {
- "light": "https://posthog.com/images/products/session-replay/console.png",
- "dark": "https://posthog.com/images/products/session-replay/console-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "recordings_performance",
- "name": "Network performance on recordings",
- "description": "See your end-user's network performance and information alongside session recordings.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "session_replay_network_payloads",
- "name": "Network monitor",
- "description": "Analyze performance and network calls.",
- "images": {
- "light": "https://posthog.com/images/products/session-replay/network.png",
- "dark": "https://posthog.com/images/products/session-replay/network-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "recordings_file_export",
- "name": "Download recordings",
- "description": "Retain recordings beyond data retention limits.",
- "images": null,
- "icon_key": "IconDownload",
- "type": "secondary"
- },
- {
- "key": "session_replay_sampling",
- "name": "Sample recorded sessions",
- "description": "Restrict the percentage of sessions that will be recorded.",
- "images": null,
- "icon_key": "IconSampling",
- "type": "secondary"
- },
- {
- "key": "replay_recording_duration_minimum",
- "name": "Minimum duration",
- "description": "Only record sessions longer than the minimum duration.",
- "images": null,
- "icon_key": "IconClock",
- "type": "secondary"
- },
- {
- "key": "replay_feature_flag_based_recording",
- "name": "Record via feature flag",
- "description": "Only record sessions for users that have the flag enabled.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "replay_mask_sensitive_data",
- "name": "Block sensitive data",
- "description": "Disable capturing data from any DOM element with HTML attributes or a customizable config.",
- "images": null,
- "icon_key": "IconPassword",
- "type": "secondary"
- },
- {
- "key": "replay_sharing_embedding",
- "name": "Share and embed",
- "description": "Share replays directly via URL or embed via iframe.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "replay_product_analytics_integration",
- "name": "Event timeline",
- "description": "See a history of everything that happened in a user's session.",
- "images": {
- "light": "https://posthog.com/images/products/session-replay/timeline.png",
- "dark": "https://posthog.com/images/products/session-replay/timeline-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "replay_filter_person_properties",
- "name": "Filter person properties",
- "description": "Filter by person properties to quickly find relevant recordings.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "replay_filter_events",
- "name": "Filter events",
- "description": "Filter by events to quickly find relevant recordings.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "replay_dom_explorer",
- "name": "DOM Explorer",
- "description": "Freeze snapshots of recordings and explore the DOM with your browser dev tools.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "works_with_posthog_js",
- "name": "Capture sessions without extra code",
- "description": "Works with PostHog.js",
- "images": null,
- "icon_key": "IconBolt",
- "type": "secondary"
- },
- {
- "key": "replay_automatic_playlists",
- "name": "Automatic playlists",
- "description": "Filter by user behavior, user properties, or time.",
- "images": null,
- "icon_key": "IconPlaylist",
- "type": "secondary"
- }
- ]
- },
- {
- "name": "Feature flags & A/B testing",
- "headline": "Safely roll out features and A/B tests to specific users or groups",
- "description": "Test changes with small groups of users before rolling out wider. Analyze usage with product analytics and session replay.",
- "price_description": null,
- "usage_key": "feature_flag_requests",
- "image_url": "https://posthog.com/images/products/feature-flags/feature-flags.png",
- "screenshot_url": "https://posthog.com/images/products/feature-flags/screenshot-feature-flags.png",
- "icon_key": "IconToggle",
- "docs_url": "https://posthog.com/docs/feature-flags",
- "subscribed": false,
- "plans": [
- {
- "plan_key": "free-20230117",
- "product_key": "feature_flags",
- "name": "Free",
- "description": "Test changes with small groups of users before rolling out wider. Analyze usage with product analytics and session replay.",
- "image_url": "https://posthog.com/images/products/feature-flags/feature-flags.png",
- "docs_url": "https://posthog.com/docs/feature-flags",
- "note": null,
- "unit": "request",
- "free_allocation": 1000000,
- "features": [
- {
- "key": "boolean_flags",
- "name": "Boolean feature flags",
- "description": "Turn features on and off for specific users.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "multivariate_flags",
- "name": "Multivariate feature flags & experiments",
- "description": "Create three or more variants of a feature flag to test or release different versions of a feature.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "persist_flags_cross_authentication",
- "name": "Persist flags across authentication",
- "description": "Persist feature flags across authentication events so that flag values don't change when an anonymous user logs in and becomes identified.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "feature_flag_payloads",
- "name": "Test changes without code",
- "description": "Use JSON payloads to change text, visuals, or entire blocks of code without subsequent deployments.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "multiple_release_conditions",
- "name": "Multiple release conditions",
- "description": "Customize your rollout strategy by user or group properties, cohort, or trafic percentage.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "release_condition_overrides",
- "name": "Release condition overrides",
- "description": "For any release condition, specify which flag value the users or groups in that condition should receive.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "targeting_by_group",
- "name": "Flag targeting by groups",
- "description": "Target feature flag release conditions by group properties, not just user properties.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "local_evaluation_and_bootstrapping",
- "name": "Local evaluation & bootstrapping",
- "description": "Bootstrap flags on initialization so all flags are available immediately, without having to make extra network requests.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "flag_usage_stats",
- "name": "Flag usage stats",
- "description": "See how many times a flag has been evaluated, how many times each variant has been returned, and what values users received.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "experimentation",
- "name": "A/B testing",
- "description": "Test changes to your product and evaluate the impacts those changes make.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "funnel_experiments",
- "name": "Funnel & trend experiments",
- "description": "Measure the impact of a change on a aggregate values or a series of events, like a signup flow.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "secondary_metrics",
- "name": "Secondary experiment metrics",
- "description": "Track additional metrics to see how your experiment affects other parts of your app or different flows.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "statistical_analysis",
- "name": "Statistical analysis",
- "description": "Get a statistical analysis of your experiment results to see if the results are significant, or if they're likely just due to chance.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "feature_flags_data_retention",
- "name": "Data retention",
- "description": "Keep a historical record of your data.",
- "unit": "year",
- "limit": 1,
- "note": null
- }
- ],
- "tiers": null,
- "current_plan": true,
- "included_if": null,
- "contact_support": null,
- "unit_amount_usd": null
- },
- {
- "plan_key": "paid-20230623",
- "product_key": "feature_flags",
- "name": "Paid",
- "description": "Test changes with small groups of users before rolling out wider. Analyze usage with product analytics and session replay.",
- "image_url": "https://posthog.com/images/products/feature-flags/feature-flags.png",
- "docs_url": "https://posthog.com/docs/feature-flags",
- "note": null,
- "unit": "request",
- "free_allocation": null,
- "features": [
- {
- "key": "boolean_flags",
- "name": "Boolean feature flags",
- "description": "Turn features on and off for specific users.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "multivariate_flags",
- "name": "Multivariate feature flags & experiments",
- "description": "Create three or more variants of a feature flag to test or release different versions of a feature.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "persist_flags_cross_authentication",
- "name": "Persist flags across authentication",
- "description": "Persist feature flags across authentication events so that flag values don't change when an anonymous user logs in and becomes identified.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "feature_flag_payloads",
- "name": "Test changes without code",
- "description": "Use JSON payloads to change text, visuals, or entire blocks of code without subsequent deployments.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "multiple_release_conditions",
- "name": "Multiple release conditions",
- "description": "Customize your rollout strategy by user or group properties, cohort, or trafic percentage.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "release_condition_overrides",
- "name": "Release condition overrides",
- "description": "For any release condition, specify which flag value the users or groups in that condition should receive.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "targeting_by_group",
- "name": "Flag targeting by groups",
- "description": "Target feature flag release conditions by group properties, not just user properties.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "local_evaluation_and_bootstrapping",
- "name": "Local evaluation & bootstrapping",
- "description": "Bootstrap flags on initialization so all flags are available immediately, without having to make extra network requests.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "flag_usage_stats",
- "name": "Flag usage stats",
- "description": "See how many times a flag has been evaluated, how many times each variant has been returned, and what values users received.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "experimentation",
- "name": "A/B testing",
- "description": "Test changes to your product and evaluate the impacts those changes make.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "funnel_experiments",
- "name": "Funnel & trend experiments",
- "description": "Measure the impact of a change on a aggregate values or a series of events, like a signup flow.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "secondary_metrics",
- "name": "Secondary experiment metrics",
- "description": "Track additional metrics to see how your experiment affects other parts of your app or different flows.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "statistical_analysis",
- "name": "Statistical analysis",
- "description": "Get a statistical analysis of your experiment results to see if the results are significant, or if they're likely just due to chance.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "group_experiments",
- "name": "Group experiments",
- "description": "Target experiments to specific groups of users so everyone in the same group gets the same variant.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "feature_flags_data_retention",
- "name": "Data retention",
- "description": "Keep a historical record of your data.",
- "unit": "years",
- "limit": 7,
- "note": null
- }
- ],
- "tiers": [
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0",
- "up_to": 1000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0001",
- "up_to": 2000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.000045",
- "up_to": 10000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.000025",
- "up_to": 50000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.00001",
- "up_to": null,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- }
- ],
- "current_plan": false,
- "included_if": null,
- "contact_support": null,
- "unit_amount_usd": null
- }
- ],
- "type": "feature_flags",
- "free_allocation": 1000000,
- "tiers": null,
- "tiered": true,
- "unit_amount_usd": null,
- "current_amount_usd_before_addons": null,
- "current_amount_usd": null,
- "current_usage": 0,
- "usage_limit": 1000000,
- "has_exceeded_limit": false,
- "percentage_usage": 0.0,
- "projected_usage": 0,
- "projected_amount_usd": null,
- "projected_amount_usd_with_limit": null,
- "unit": "request",
- "addons": [],
- "contact_support": false,
- "inclusion_only": false,
- "features": [
- {
- "key": "boolean_flags",
- "name": "Boolean feature flags",
- "description": "Turn features on and off for specific users.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "feature_flags_data_retention",
- "name": "Data retention",
- "description": "Keep a historical record of your data.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "multivariate_flags",
- "name": "Multivariate feature flags & experiments",
- "description": "Create three or more variants of a feature flag to test or release different versions of a feature.",
- "images": {
- "light": "https://posthog.com/images/products/feature-flags/multivariate.png",
- "dark": "https://posthog.com/images/products/feature-flags/multivariate-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "persist_flags_cross_authentication",
- "name": "Persist flags across authentication",
- "description": "Persist feature flags across authentication events so that flag values don't change when an anonymous user logs in and becomes identified.",
- "images": null,
- "icon_key": "IconUnlock",
- "type": "secondary"
- },
- {
- "key": "feature_flag_payloads",
- "name": "Test changes without code",
- "description": "Use JSON payloads to change text, visuals, or entire blocks of code without subsequent deployments.",
- "images": {
- "light": "https://posthog.com/images/products/feature-flags/payloads.png",
- "dark": "https://posthog.com/images/products/feature-flags/payloads-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "multiple_release_conditions",
- "name": "Multiple release conditions",
- "description": "Customize your rollout strategy by user or group properties, cohort, or trafic percentage.",
- "images": {
- "light": "https://posthog.com/images/products/feature-flags/release-conditions.png",
- "dark": "https://posthog.com/images/products/feature-flags/release-conditions-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "release_condition_overrides",
- "name": "Release condition overrides",
- "description": "For any release condition, specify which flag value the users or groups in that condition should receive.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "targeting_by_group",
- "name": "Flag targeting by groups",
- "description": "Target feature flag release conditions by group properties, not just user properties.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "local_evaluation_and_bootstrapping",
- "name": "Local evaluation & bootstrapping",
- "description": "Bootstrap flags on initialization so all flags are available immediately, without having to make extra network requests.",
- "images": null,
- "icon_key": "IconDecisionTree",
- "type": "secondary"
- },
- {
- "key": "flag_usage_stats",
- "name": "Flag usage stats",
- "description": "See how many times a flag has been evaluated, how many times each variant has been returned, and what values users received.",
- "images": {
- "light": "https://posthog.com/images/products/feature-flags/reports.png",
- "dark": "https://posthog.com/images/products/feature-flags/reports-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "user_opt_in",
- "name": "Early access feature opt-in widget",
- "description": "Allow users to opt in to (or out of) specified features. Or use the API to build your own UI.",
- "images": {
- "light": "https://posthog.com/images/products/feature-flags/early-access.png",
- "dark": "https://posthog.com/images/products/feature-flags/early-access-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "instant_rollbacks",
- "name": "Instant rollbacks",
- "description": "Disable a feature without touching your codebase.",
- "images": null,
- "icon_key": "IconRevert",
- "type": "secondary"
- },
- {
- "key": "experimentation",
- "name": "A/B testing",
- "description": "Test changes to your product and evaluate the impacts those changes make.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "group_experiments",
- "name": "Group experiments",
- "description": "Target experiments to specific groups of users so everyone in the same group gets the same variant.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "funnel_experiments",
- "name": "Funnel & trend experiments",
- "description": "Measure the impact of a change on a aggregate values or a series of events, like a signup flow.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "secondary_metrics",
- "name": "Secondary experiment metrics",
- "description": "Track additional metrics to see how your experiment affects other parts of your app or different flows.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "statistical_analysis",
- "name": "Statistical analysis",
- "description": "Get a statistical analysis of your experiment results to see if the results are significant, or if they're likely just due to chance.",
- "images": null,
- "icon_key": null,
- "type": null
- }
- ]
- },
- {
- "name": "Surveys",
- "headline": "Ask anything with no-code surveys",
- "description": "Build in-app popups with freeform text responses, multiple choice, NPS, ratings, and emoji reactions. Or use the API for complete control.",
- "price_description": null,
- "usage_key": "survey_responses",
- "image_url": "https://posthog.com/images/products/surveys/surveys.png",
- "screenshot_url": "https://posthog.com/images/products/surveys/screenshot-surveys.png",
- "icon_key": "IconMessage",
- "docs_url": "https://posthog.com/docs/surveys",
- "subscribed": false,
- "plans": [
- {
- "plan_key": "free-20230928",
- "product_key": "surveys",
- "name": "Free",
- "description": "Build in-app popups with freeform text responses, multiple choice, NPS, ratings, and emoji reactions. Or use the API for complete control.",
- "image_url": "https://posthog.com/images/products/surveys/surveys.png",
- "docs_url": "https://posthog.com/docs/surveys",
- "note": null,
- "unit": "survey response",
- "free_allocation": 250,
- "features": [
- {
- "key": "surveys_unlimited_surveys",
- "name": "Unlimited surveys",
- "description": "Create as many surveys as you want.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_all_question_types",
- "name": "All question types",
- "description": "Rating scale (for NPS and the like), multiple choice, single choice, emoji rating, link, free text.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_user_targeting",
- "name": "Advanced user targeting",
- "description": "Target by URL, user property, or feature flag when used with Feature flags.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_user_sampling",
- "name": "User sampling",
- "description": "Sample users to only survey a portion of the users who match the criteria.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_api_mode",
- "name": "API mode",
- "description": "Using PostHog.js? No more code required. But if want to create your own UI, we have a full API.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_results_analysis",
- "name": "Aggregated results",
- "description": "See feedback summarized and broken down per response, plus completion rates and drop offs.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_templates",
- "name": "Templates",
- "description": "Use our templates to get started quickly with NPS, customer satisfaction surveys, user interviews, and more.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_data_retention",
- "name": "Data retention",
- "description": "Keep a historical record of your data.",
- "unit": "year",
- "limit": 1,
- "note": null
- }
- ],
- "tiers": null,
- "current_plan": true,
- "included_if": null,
- "contact_support": null,
- "unit_amount_usd": null
- },
- {
- "plan_key": "paid-20230928",
- "product_key": "surveys",
- "name": "Paid",
- "description": "Build in-app popups with freeform text responses, multiple choice, NPS, ratings, and emoji reactions. Or use the API for complete control.",
- "image_url": "https://posthog.com/images/products/surveys/surveys.png",
- "docs_url": "https://posthog.com/docs/surveys",
- "note": null,
- "unit": "survey response",
- "free_allocation": null,
- "features": [
- {
- "key": "surveys_unlimited_surveys",
- "name": "Unlimited surveys",
- "description": "Create as many surveys as you want.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_all_question_types",
- "name": "All question types",
- "description": "Rating scale (for NPS and the like), multiple choice, single choice, emoji rating, link, free text.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_multiple_questions",
- "name": "Multiple questions",
- "description": "Ask up to 10 questions in a single survey.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_user_targeting",
- "name": "Advanced user targeting",
- "description": "Target by URL, user property, or feature flag when used with Feature flags.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_user_sampling",
- "name": "User sampling",
- "description": "Sample users to only survey a portion of the users who match the criteria.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_styling",
- "name": "Custom colors & positioning",
- "description": "Customize the colors of your surveys to match your brand and set survey position.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_text_html",
- "name": "Custom HTML text",
- "description": "Add custom HTML to your survey text.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_api_mode",
- "name": "API mode",
- "description": "Using PostHog.js? No more code required. But if want to create your own UI, we have a full API.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_results_analysis",
- "name": "Aggregated results",
- "description": "See feedback summarized and broken down per response, plus completion rates and drop offs.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_templates",
- "name": "Templates",
- "description": "Use our templates to get started quickly with NPS, customer satisfaction surveys, user interviews, and more.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_data_retention",
- "name": "Data retention",
- "description": "Keep a historical record of your data.",
- "unit": "years",
- "limit": 7,
- "note": null
- }
- ],
- "tiers": [
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0",
- "up_to": 250,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.2",
- "up_to": 500,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.1",
- "up_to": 1000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.035",
- "up_to": 10000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.015",
- "up_to": 20000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.01",
- "up_to": null,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- }
- ],
- "current_plan": false,
- "included_if": null,
- "contact_support": null,
- "unit_amount_usd": null
- }
- ],
- "type": "surveys",
- "free_allocation": 250,
- "tiers": null,
- "tiered": true,
- "unit_amount_usd": null,
- "current_amount_usd_before_addons": null,
- "current_amount_usd": null,
- "current_usage": 0,
- "usage_limit": 250,
- "has_exceeded_limit": false,
- "percentage_usage": 0.0,
- "projected_usage": 0,
- "projected_amount_usd": null,
- "projected_amount_usd_with_limit": null,
- "unit": "survey response",
- "addons": [],
- "contact_support": false,
- "inclusion_only": false,
- "features": [
- {
- "key": "surveys_unlimited_surveys",
- "name": "Unlimited surveys",
- "description": "Create as many surveys as you want.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "surveys_all_question_types",
- "name": "All question types",
- "description": "Rating scale (for NPS and the like), multiple choice, single choice, emoji rating, link, free text.",
- "images": {
- "light": "https://posthog.com/images/products/surveys/question-types.png",
- "dark": "https://posthog.com/images/products/surveys/question-types-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "surveys_multiple_questions",
- "name": "Multiple questions",
- "description": "Ask up to 10 questions in a single survey.",
- "images": {
- "light": "https://posthog.com/images/products/surveys/steps.png",
- "dark": "https://posthog.com/images/products/surveys/steps-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "surveys_user_targeting",
- "name": "Advanced user targeting",
- "description": "Target by URL, user property, or feature flag when used with Feature flags.",
- "images": {
- "light": "https://posthog.com/images/products/surveys/targeting.png",
- "dark": "https://posthog.com/images/products/surveys/targeting-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "surveys_user_sampling",
- "name": "User sampling",
- "description": "Sample users to only survey a portion of the users who match the criteria.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "surveys_styling",
- "name": "Custom colors & positioning",
- "description": "Customize the colors of your surveys to match your brand and set survey position.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "surveys_text_html",
- "name": "Custom HTML text",
- "description": "Add custom HTML to your survey text.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "surveys_api_mode",
- "name": "API mode",
- "description": "Using PostHog.js? No more code required. But if want to create your own UI, we have a full API.",
- "images": {
- "light": "https://posthog.com/images/products/surveys/api.png",
- "dark": "https://posthog.com/images/products/surveys/api-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "surveys_results_analysis",
- "name": "Aggregated results",
- "description": "See feedback summarized and broken down per response, plus completion rates and drop offs.",
- "images": null,
- "icon_key": "IconPieChart",
- "type": "secondary"
- },
- {
- "key": "surveys_templates",
- "name": "Templates",
- "description": "Use our templates to get started quickly with NPS, customer satisfaction surveys, user interviews, and more.",
- "images": {
- "light": "https://posthog.com/images/products/surveys/templates.png",
- "dark": "https://posthog.com/images/products/surveys/templates-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "surveys_data_retention",
- "name": "Data retention",
- "description": "Keep a historical record of your data.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "surveys_link_question_type",
- "name": "Link somewhere",
- "description": "Send users to a webpage or invite them to book a meeting with a calendar invite.",
- "images": {
- "light": "https://posthog.com/images/products/surveys/link-scheduler.png",
- "dark": "https://posthog.com/images/products/surveys/link-scheduler-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "surveys_slack_notifications",
- "name": "Slack notifications",
- "description": "Send realtime survey responses to a Slack channel.",
- "images": null,
- "icon_key": "IconNotification",
- "type": "secondary"
- },
- {
- "key": "surveys_wait_periods",
- "name": "Customizable wait periods",
- "description": "Set a delay before a survey opens.",
- "images": null,
- "icon_key": "IconClock",
- "type": "secondary"
- }
- ]
- },
- {
- "name": "Integrations",
- "headline": null,
- "description": "Connect PostHog to your favorite tools.",
- "price_description": null,
- "usage_key": null,
- "image_url": "https://posthog.com/images/product/product-icons/integrations.svg",
- "screenshot_url": null,
- "icon_key": "IconBolt",
- "docs_url": "https://posthog.com/docs/cdp",
- "subscribed": null,
- "plans": [
- {
- "plan_key": "free-20230117",
- "product_key": "integrations",
- "name": "Free",
- "description": "Connect PostHog to your favorite tools.",
- "image_url": "https://posthog.com/images/product/product-icons/integrations.svg",
- "docs_url": "https://posthog.com/docs/cdp",
- "note": null,
- "unit": null,
- "free_allocation": null,
- "features": [
- {
- "key": "zapier",
- "name": "Zapier",
- "description": "Zapier lets you connect PostHog with thousands of the most popular apps, so you can automate your work and have more time for what matters most—no code required.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "slack_integration",
- "name": "Slack",
- "description": "Get notified about new actions in Slack.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "microsoft_teams_integration",
- "name": "Microsoft Teams",
- "description": "Get notified about new actions in Microsoft Teams.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "discord_integration",
- "name": "Discord",
- "description": "Get notified about new actions in Discord.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "apps",
- "name": "Transformations",
- "description": "Use transformations to filter or modify your incoming data. (Destinations not included, see the Data pipelines addon for product analytics.)",
- "unit": null,
- "limit": null,
- "note": null
- }
- ],
- "tiers": null,
- "current_plan": true,
- "included_if": "no_active_subscription",
- "contact_support": null,
- "unit_amount_usd": null
- },
- {
- "plan_key": "paid-20230117",
- "product_key": "integrations",
- "name": "Paid",
- "description": "Connect PostHog to your favorite tools.",
- "image_url": "https://posthog.com/images/product/product-icons/integrations.svg",
- "docs_url": "https://posthog.com/docs/cdp",
- "note": null,
- "unit": null,
- "free_allocation": null,
- "features": [
- {
- "key": "zapier",
- "name": "Zapier",
- "description": "Zapier lets you connect PostHog with thousands of the most popular apps, so you can automate your work and have more time for what matters most—no code required.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "slack_integration",
- "name": "Slack",
- "description": "Get notified about new actions in Slack.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "microsoft_teams_integration",
- "name": "Microsoft Teams",
- "description": "Get notified about new actions in Microsoft Teams.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "discord_integration",
- "name": "Discord",
- "description": "Get notified about new actions in Discord.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "apps",
- "name": "Transformations",
- "description": "Use transformations to filter or modify your incoming data. (Destinations not included, see the Data pipelines addon for product analytics.)",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "app_metrics",
- "name": "Transformation & destination metrics",
- "description": "Get metrics on your transformation and destination metrics to see their usage, reliability, and more.",
- "unit": null,
- "limit": null,
- "note": null
- }
- ],
- "tiers": null,
- "current_plan": false,
- "included_if": "has_subscription",
- "contact_support": null,
- "unit_amount_usd": null
- }
- ],
- "type": "integrations",
- "free_allocation": 0,
- "tiers": null,
- "tiered": false,
- "unit_amount_usd": null,
- "current_amount_usd_before_addons": null,
- "current_amount_usd": null,
- "current_usage": 0,
- "usage_limit": 0,
- "has_exceeded_limit": false,
- "percentage_usage": 0,
- "projected_usage": 0,
- "projected_amount_usd": null,
- "projected_amount_usd_with_limit": null,
- "unit": null,
- "addons": [],
- "contact_support": false,
- "inclusion_only": true,
- "features": [
- {
- "key": "apps",
- "name": "Transformations",
- "description": "Use transformations to filter or modify your incoming data. (Destinations not included, see the Data pipelines addon for product analytics.)",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "slack_integration",
- "name": "Slack",
- "description": "Get notified about new actions in Slack.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "microsoft_teams_integration",
- "name": "Microsoft Teams",
- "description": "Get notified about new actions in Microsoft Teams.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "discord_integration",
- "name": "Discord",
- "description": "Get notified about new actions in Discord.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "zapier",
- "name": "Zapier",
- "description": "Zapier lets you connect PostHog with thousands of the most popular apps, so you can automate your work and have more time for what matters most—no code required.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "app_metrics",
- "name": "Transformation & destination metrics",
- "description": "Get metrics on your transformation and destination metrics to see their usage, reliability, and more.",
- "images": null,
- "icon_key": null,
- "type": null
- }
- ]
- },
- {
- "name": "Platform and support",
- "headline": null,
- "description": "SSO, permission management, and support.",
- "price_description": null,
- "usage_key": null,
- "image_url": "https://posthog.com/images/product/product-icons/platform.svg",
- "screenshot_url": null,
- "icon_key": "IconStack",
- "docs_url": "https://posthog.com/docs",
- "subscribed": null,
- "plans": [
- {
- "plan_key": "free-20230117",
- "product_key": "platform_and_support",
- "name": "Free",
- "description": "SSO, permission management, and support.",
- "image_url": "https://posthog.com/images/product/product-icons/platform.svg",
- "docs_url": "https://posthog.com/docs",
- "note": null,
- "unit": null,
- "free_allocation": null,
- "features": [
- {
- "key": "tracked_users",
- "name": "Tracked users",
- "description": "Track users across devices and sessions.",
- "unit": null,
- "limit": null,
- "note": "Unlimited"
- },
- {
- "key": "team_members",
- "name": "Team members",
- "description": "PostHog doesn't charge per seat add your entire team!",
- "unit": null,
- "limit": null,
- "note": "Unlimited"
- },
- {
- "key": "organizations_projects",
- "name": "Projects",
- "description": "Organize environments within a project. Share dashboards, insights and more across environments without duplicating work.",
- "unit": "project",
- "limit": 1,
- "note": null
- },
- {
- "key": "environments",
- "name": "Environments",
- "description": "Create separate silos of data within a project. Data belongs to a single environment and all queries are environment-specific.",
- "unit": "environment",
- "limit": 1,
- "note": null
- },
- {
- "key": "api_access",
- "name": "API access",
- "description": "Access your data via our developer-friendly API.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "social_sso",
- "name": "SSO via Google, Github, or Gitlab",
- "description": "Log in to PostHog with your Google, Github, or Gitlab account.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "community_support",
- "name": "Community support",
- "description": "Get help from other users and PostHog team members in our Community forums.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "2fa",
- "name": "2FA",
- "description": "Secure your PostHog account with two-factor authentication.",
- "unit": null,
- "limit": null,
- "note": null
- }
- ],
- "tiers": null,
- "current_plan": true,
- "included_if": "no_active_subscription",
- "contact_support": null,
- "unit_amount_usd": null
- },
- {
- "plan_key": "paid-20240208",
- "product_key": "platform_and_support",
- "name": "Pay-per-use",
- "description": "SSO, permission management, and support.",
- "image_url": "https://posthog.com/images/product/product-icons/platform.svg",
- "docs_url": "https://posthog.com/docs",
- "note": null,
- "unit": null,
- "free_allocation": null,
- "features": [
- {
- "key": "tracked_users",
- "name": "Tracked users",
- "description": "Track users across devices and sessions.",
- "unit": null,
- "limit": null,
- "note": "Unlimited"
- },
- {
- "key": "team_members",
- "name": "Team members",
- "description": "PostHog doesn't charge per seat add your entire team!",
- "unit": null,
- "limit": null,
- "note": "Unlimited"
- },
- {
- "key": "organizations_projects",
- "name": "Projects",
- "description": "Organize environments within a project. Share dashboards, insights and more across environments without duplicating work.",
- "unit": "projects",
- "limit": 2,
- "note": null
- },
- {
- "key": "environments",
- "name": "Environments",
- "description": "Create separate silos of data within a project. Data belongs to a single environment and all queries are environment-specific.",
- "unit": "environment",
- "limit": 2,
- "note": null
- },
- {
- "key": "api_access",
- "name": "API access",
- "description": "Access your data via our developer-friendly API.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "social_sso",
- "name": "SSO via Google, Github, or Gitlab",
- "description": "Log in to PostHog with your Google, Github, or Gitlab account.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "community_support",
- "name": "Community support",
- "description": "Get help from other users and PostHog team members in our Community forums.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "dedicated_support",
- "name": "Dedicated account manager",
- "description": "Work with a dedicated account manager via Slack or email to help you get the most out of PostHog.",
- "unit": null,
- "limit": null,
- "note": "$2k+/month spend"
- },
- {
- "key": "email_support",
- "name": "Email support",
- "description": "Get help directly from our product engineers via email. No wading through multiple support people before you get help.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "2fa",
- "name": "2FA",
- "description": "Secure your PostHog account with two-factor authentication.",
- "unit": null,
- "limit": null,
- "note": null
- }
- ],
- "tiers": null,
- "current_plan": false,
- "included_if": "has_subscription",
- "contact_support": null,
- "unit_amount_usd": null
- },
- {
- "plan_key": "teams-20240208",
- "product_key": "platform_and_support",
- "name": "Teams",
- "description": "SSO, permission management, and support.",
- "image_url": "https://posthog.com/images/product/product-icons/platform.svg",
- "docs_url": "https://posthog.com/docs",
- "note": null,
- "unit": null,
- "free_allocation": null,
- "features": [
- {
- "key": "tracked_users",
- "name": "Tracked users",
- "description": "Track users across devices and sessions.",
- "unit": null,
- "limit": null,
- "note": "Unlimited"
- },
- {
- "key": "team_members",
- "name": "Team members",
- "description": "PostHog doesn't charge per seat add your entire team!",
- "unit": null,
- "limit": null,
- "note": "Unlimited"
- },
- {
- "key": "organizations_projects",
- "name": "Projects",
- "description": "Organize environments within a project. Share dashboards, insights and more across environments without duplicating work.",
- "unit": null,
- "limit": null,
- "note": "Unlimited"
- },
- {
- "key": "environments",
- "name": "Environments",
- "description": "Create separate silos of data within a project. Data belongs to a single environment and all queries are environment-specific.",
- "unit": null,
- "limit": null,
- "note": "Unlimited"
- },
- {
- "key": "api_access",
- "name": "API access",
- "description": "Access your data via our developer-friendly API.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "social_sso",
- "name": "SSO via Google, Github, or Gitlab",
- "description": "Log in to PostHog with your Google, Github, or Gitlab account.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "sso_enforcement",
- "name": "Enforce SSO login",
- "description": "Users can only sign up and log in to your PostHog organization with your specified SSO provider.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "2fa",
- "name": "2FA",
- "description": "Secure your PostHog account with two-factor authentication.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "2fa_enforcement",
- "name": "Enforce 2FA",
- "description": "Require all users in your organization to enable two-factor authentication.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "community_support",
- "name": "Community support",
- "description": "Get help from other users and PostHog team members in our Community forums.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "email_support",
- "name": "Email support",
- "description": "Get help directly from our product engineers via email. No wading through multiple support people before you get help.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "dedicated_support",
- "name": "Dedicated account manager",
- "description": "Work with a dedicated account manager via Slack or email to help you get the most out of PostHog.",
- "unit": null,
- "limit": null,
- "note": "$2k+/month spend"
- },
- {
- "key": "priority_support",
- "name": "Priority support",
- "description": "Get help from our team faster than other customers.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "white_labelling",
- "name": "White labeling",
- "description": "Use your own branding on surveys, shared dashboards, shared insights, and more.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "project_based_permissioning",
- "name": "Project permissions",
- "description": "Restrict access to data within the organization to only those who need it.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "advanced_permissions",
- "name": "Advanced permissions",
- "description": "Control who can access and modify data and features within your organization.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "access_control",
- "name": "Access control",
- "description": "Control who can access and modify data and features within your organization.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "audit_logs",
- "name": "Audit logs",
- "description": "See who in your organization has accessed or modified entities within PostHog.",
- "unit": null,
- "limit": null,
- "note": "Basic"
- },
- {
- "key": "security_assessment",
- "name": "Security assessment",
- "description": "Security assessment",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "hipaa_baa",
- "name": "HIPAA BAA",
- "description": "Get a signed HIPAA Business Associate Agreement (BAA) to use PostHog in a HIPAA-compliant manner.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "ingestion_taxonomy",
- "name": "Ingestion taxonomy",
- "description": "Organize and manage your data with event and property definitions - set and update descriptions, verification status, hide/show, and assign ownership.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "tagging",
- "name": "Dashboard tags",
- "description": "Organize dashboards with tags.",
- "unit": null,
- "limit": null,
- "note": null
- }
- ],
- "tiers": [],
- "current_plan": false,
- "included_if": null,
- "contact_support": null,
- "unit_amount_usd": "450.00"
- },
- {
- "plan_key": "enterprise-20240208",
- "product_key": "platform_and_support",
- "name": "Enterprise",
- "description": "SSO, permission management, and support.",
- "image_url": "https://posthog.com/images/product/product-icons/platform.svg",
- "docs_url": "https://posthog.com/docs",
- "note": null,
- "unit": null,
- "free_allocation": null,
- "features": [
- {
- "key": "team_members",
- "name": "Team members",
- "description": "PostHog doesn't charge per seat add your entire team!",
- "unit": null,
- "limit": null,
- "note": "Unlimited"
- },
- {
- "key": "organizations_projects",
- "name": "Projects",
- "description": "Organize environments within a project. Share dashboards, insights and more across environments without duplicating work.",
- "unit": null,
- "limit": null,
- "note": "Unlimited"
- },
- {
- "key": "environments",
- "name": "Environments",
- "description": "Create separate silos of data within a project. Data belongs to a single environment and all queries are environment-specific.",
- "unit": null,
- "limit": null,
- "note": "Unlimited"
- },
- {
- "key": "tracked_users",
- "name": "Tracked users",
- "description": "Track users across devices and sessions.",
- "unit": null,
- "limit": null,
- "note": "Unlimited"
- },
- {
- "key": "api_access",
- "name": "API access",
- "description": "Access your data via our developer-friendly API.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "white_labelling",
- "name": "White labeling",
- "description": "Use your own branding on surveys, shared dashboards, shared insights, and more.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "ingestion_taxonomy",
- "name": "Ingestion taxonomy",
- "description": "Organize and manage your data with event and property definitions - set and update descriptions, verification status, hide/show, and assign ownership.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "tagging",
- "name": "Dashboard tags",
- "description": "Organize dashboards with tags.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "social_sso",
- "name": "SSO via Google, Github, or Gitlab",
- "description": "Log in to PostHog with your Google, Github, or Gitlab account.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "sso_enforcement",
- "name": "Enforce SSO login",
- "description": "Users can only sign up and log in to your PostHog organization with your specified SSO provider.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "saml",
- "name": "SAML SSO",
- "description": "Allow your organization's users to log in with SAML.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "2fa",
- "name": "2FA",
- "description": "Secure your PostHog account with two-factor authentication.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "2fa_enforcement",
- "name": "Enforce 2FA",
- "description": "Require all users in your organization to enable two-factor authentication.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "project_based_permissioning",
- "name": "Project permissions",
- "description": "Restrict access to data within the organization to only those who need it.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "role_based_access",
- "name": "Role-based access",
- "description": "Control access to features like experiments, session recordings, and feature flags with custom roles.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "advanced_permissions",
- "name": "Advanced permissions",
- "description": "Control who can access and modify data and features within your organization.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "access_control",
- "name": "Access control",
- "description": "Control who can access and modify data and features within your organization.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "audit_logs",
- "name": "Audit logs",
- "description": "See who in your organization has accessed or modified entities within PostHog.",
- "unit": null,
- "limit": null,
- "note": "Advanced"
- },
- {
- "key": "hipaa_baa",
- "name": "HIPAA BAA",
- "description": "Get a signed HIPAA Business Associate Agreement (BAA) to use PostHog in a HIPAA-compliant manner.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "custom_msa",
- "name": "Custom MSA",
- "description": "Get a custom Master Services Agreement (MSA) to use PostHog in a way that fits your company's needs.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "community_support",
- "name": "Community support",
- "description": "Get help from other users and PostHog team members in our Community forums.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "email_support",
- "name": "Email support",
- "description": "Get help directly from our product engineers via email. No wading through multiple support people before you get help.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "dedicated_support",
- "name": "Dedicated account manager",
- "description": "Work with a dedicated account manager via Slack or email to help you get the most out of PostHog.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "priority_support",
- "name": "Priority support",
- "description": "Get help from our team faster than other customers.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "security_assessment",
- "name": "Security assessment",
- "description": "Security assessment",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "training",
- "name": "Ongoing training",
- "description": "Get training from our team to help you quickly get up and running with PostHog.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "configuration_support",
- "name": "Personalized onboarding",
- "description": "Get help from our team to create dashboards that will help you understand your data and your business.",
- "unit": null,
- "limit": null,
- "note": null
- }
- ],
- "tiers": null,
- "current_plan": false,
- "included_if": null,
- "contact_support": true,
- "unit_amount_usd": null
- }
- ],
- "type": "platform_and_support",
- "free_allocation": 0,
- "tiers": null,
- "tiered": false,
- "unit_amount_usd": null,
- "current_amount_usd_before_addons": null,
- "current_amount_usd": null,
- "current_usage": 0,
- "usage_limit": 0,
- "has_exceeded_limit": false,
- "percentage_usage": 0,
- "projected_usage": 0,
- "projected_amount_usd": null,
- "projected_amount_usd_with_limit": null,
- "unit": null,
- "addons": [],
- "contact_support": false,
- "inclusion_only": true,
- "features": [
- {
- "key": "tracked_users",
- "name": "Tracked users",
- "description": "Track users across devices and sessions.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "team_members",
- "name": "Team members",
- "description": "PostHog doesn't charge per seat add your entire team!",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "api_access",
- "name": "API access",
- "description": "Access your data via our developer-friendly API.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "organizations_projects",
- "name": "Projects",
- "description": "Organize environments within a project. Share dashboards, insights and more across environments without duplicating work.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "environments",
- "name": "Environments",
- "description": "Create separate silos of data within a project. Data belongs to a single environment and all queries are environment-specific.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "social_sso",
- "name": "SSO via Google, Github, or Gitlab",
- "description": "Log in to PostHog with your Google, Github, or Gitlab account.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "role_based_access",
- "name": "Role-based access",
- "description": "Control access to features like experiments, session recordings, and feature flags with custom roles.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "project_based_permissioning",
- "name": "Project permissions",
- "description": "Restrict access to data within the organization to only those who need it.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "advanced_permissions",
- "name": "Advanced permissions",
- "description": "Control who can access and modify data and features within your organization.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "access_control",
- "name": "Access control",
- "description": "Control who can access and modify data and features within your organization.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "saml",
- "name": "SAML SSO",
- "description": "Allow your organization's users to log in with SAML.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "sso_enforcement",
- "name": "Enforce SSO login",
- "description": "Users can only sign up and log in to your PostHog organization with your specified SSO provider.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "2fa",
- "name": "2FA",
- "description": "Secure your PostHog account with two-factor authentication.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "2fa_enforcement",
- "name": "Enforce 2FA",
- "description": "Require all users in your organization to enable two-factor authentication.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "white_labelling",
- "name": "White labeling",
- "description": "Use your own branding on surveys, shared dashboards, shared insights, and more.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "community_support",
- "name": "Community support",
- "description": "Get help from other users and PostHog team members in our Community forums.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "dedicated_support",
- "name": "Dedicated account manager",
- "description": "Work with a dedicated account manager via Slack or email to help you get the most out of PostHog.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "email_support",
- "name": "Email support",
- "description": "Get help directly from our product engineers via email. No wading through multiple support people before you get help.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "priority_support",
- "name": "Priority support",
- "description": "Get help from our team faster than other customers.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "training",
- "name": "Ongoing training",
- "description": "Get training from our team to help you quickly get up and running with PostHog.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "configuration_support",
- "name": "Personalized onboarding",
- "description": "Get help from our team to create dashboards that will help you understand your data and your business.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "terms_and_conditions",
- "name": "Terms and conditions",
- "description": "Terms and conditions",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "security_assessment",
- "name": "Security assessment",
- "description": "Security assessment",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "bespoke_pricing",
- "name": "Bespoke pricing",
- "description": "Custom pricing to fit your company's needs.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "invoice_payments",
- "name": "Payment via invoicing",
- "description": "Pay for your PostHog subscription via invoice.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "support_response_time",
- "name": "Support response time",
- "description": "Get help from our team!",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "audit_logs",
- "name": "Audit logs",
- "description": "See who in your organization has accessed or modified entities within PostHog.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "hipaa_baa",
- "name": "HIPAA BAA",
- "description": "Get a signed HIPAA Business Associate Agreement (BAA) to use PostHog in a HIPAA-compliant manner.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "custom_msa",
- "name": "Custom MSA",
- "description": "Get a custom Master Services Agreement (MSA) to use PostHog in a way that fits your company's needs.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "ingestion_taxonomy",
- "name": "Ingestion taxonomy",
- "description": "Organize and manage your data with event and property definitions - set and update descriptions, verification status, hide/show, and assign ownership.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "tagging",
- "name": "Dashboard tags",
- "description": "Organize dashboards with tags.",
- "images": null,
- "icon_key": null,
- "type": null
- }
- ]
- }
- ],
- "custom_limits_usd": {},
- "usage_summary": {
- "events": {
- "usage": 0,
- "limit": 1000000
- },
- "recordings": {
- "usage": 0,
- "limit": 5000
- },
- "feature_flag_requests": {
- "usage": 0,
- "limit": 1000000
- },
- "survey_responses": {
- "usage": 0,
- "limit": 250
- }
- },
- "free_trial_until": null,
- "discount_percent": null,
- "discount_amount_usd": null,
- "amount_off_expires_at": null,
- "never_drop_data": null,
- "customer_trust_scores": {
- "surveys": 0,
- "feature_flags": 0,
- "session_replay": 3,
- "product_analytics": 3
- },
- "stripe_portal_url": "http://localhost:8000/api/billing/portal"
-}
diff --git a/playwright/mocks/billing/billing.json b/playwright/mocks/billing/billing.json
deleted file mode 100644
index 079965826bf5..000000000000
--- a/playwright/mocks/billing/billing.json
+++ /dev/null
@@ -1,3844 +0,0 @@
-{
- "license": {
- "plan": "dev"
- },
- "customer_id": "cus_Pg7PIL8MsKi6bx",
- "deactivated": false,
- "has_active_subscription": true,
- "subscription_level": "custom",
- "billing_period": {
- "current_period_start": "2024-03-07T23:21:20Z",
- "current_period_end": "2024-04-07T23:21:20Z",
- "interval": "month"
- },
- "available_product_features": [
- {
- "key": "surveys_unlimited_surveys",
- "name": "Unlimited surveys",
- "description": "Create as many surveys as you want.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_all_question_types",
- "name": "All question types",
- "description": "Rating scale (for NPS and the like), multiple choice, single choice, emoji rating, link, free text.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_user_targeting",
- "name": "Advanced user targeting",
- "description": "Target by URL, user property, or feature flag when used with Feature flags.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_user_sampling",
- "name": "User sampling",
- "description": "Sample users to only survey a portion of the users who match the criteria.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_api_mode",
- "name": "API mode",
- "description": "Using PostHog.js? No more code required. But if want to create your own UI, we have a full API.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_results_analysis",
- "name": "Aggregated results",
- "description": "See feedback summarized and broken down per response, plus completion rates and drop offs.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_templates",
- "name": "Templates",
- "description": "Use our templates to get started quickly with NPS, customer satisfaction surveys, user interviews, and more.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_data_retention",
- "name": "Data retention",
- "description": "Keep a historical record of your data.",
- "unit": "year",
- "limit": 1,
- "note": null
- },
- {
- "key": "zapier",
- "name": "Zapier",
- "description": "Zapier lets you connect PostHog with thousands of the most popular apps, so you can automate your work and have more time for what matters most—no code required.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "slack_integration",
- "name": "Slack",
- "description": "Get notified about new actions in Slack.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "microsoft_teams_integration",
- "name": "Microsoft Teams",
- "description": "Get notified about new actions in Microsoft Teams.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "discord_integration",
- "name": "Discord",
- "description": "Get notified about new actions in Discord.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "apps",
- "name": "Transformations",
- "description": "Use transformations to filter or modify your incoming data. (Destinations not included, see the Data pipelines addon for product analytics.)",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "app_metrics",
- "name": "Transformation & destination metrics",
- "description": "Get metrics on your transformation and destination metrics to see their usage, reliability, and more.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "boolean_flags",
- "name": "Boolean feature flags",
- "description": "Turn features on and off for specific users.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "multivariate_flags",
- "name": "Multivariate feature flags & experiments",
- "description": "Create three or more variants of a feature flag to test or release different versions of a feature.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "persist_flags_cross_authentication",
- "name": "Persist flags across authentication",
- "description": "Persist feature flags across authentication events so that flag values don't change when an anonymous user logs in and becomes identified.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "feature_flag_payloads",
- "name": "Test changes without code",
- "description": "Use JSON payloads to change text, visuals, or entire blocks of code without subsequent deployments.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "multiple_release_conditions",
- "name": "Multiple release conditions",
- "description": "Customize your rollout strategy by user or group properties, cohort, or traffic percentage.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "release_condition_overrides",
- "name": "Release condition overrides",
- "description": "For any release condition, specify which flag value the users or groups in that condition should receive.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "targeting_by_group",
- "name": "Flag targeting by groups",
- "description": "Target feature flag release conditions by group properties, not just user properties.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "local_evaluation_and_bootstrapping",
- "name": "Local evaluation & bootstrapping",
- "description": "Bootstrap flags on initialization so all flags are available immediately, without having to make extra network requests.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "flag_usage_stats",
- "name": "Flag usage stats",
- "description": "See how many times a flag has been evaluated, how many times each variant has been returned, and what values users received.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "experimentation",
- "name": "A/B testing",
- "description": "Test changes to your product and evaluate the impacts those changes make.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "funnel_experiments",
- "name": "Funnel & trend experiments",
- "description": "Measure the impact of a change on a aggregate values or a series of events, like a signup flow.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "secondary_metrics",
- "name": "Secondary experiment metrics",
- "description": "Track additional metrics to see how your experiment affects other parts of your app or different flows.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "statistical_analysis",
- "name": "Statistical analysis",
- "description": "Get a statistical analysis of your experiment results to see if the results are significant, or if they're likely just due to chance.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "feature_flags_data_retention",
- "name": "Data retention",
- "description": "Keep a historical record of your data.",
- "unit": "year",
- "limit": 1,
- "note": null
- },
- {
- "key": "console_logs",
- "name": "Console logs",
- "description": "Debug issues faster by browsing the user's console.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "recordings_performance",
- "name": "Network performance on recordings",
- "description": "See your end-user's network performance and information alongside session recordings.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "session_replay_network_payloads",
- "name": "Network monitor",
- "description": "Analyze performance and network calls.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "recordings_playlists",
- "name": "Recording playlists",
- "description": "Create playlists of certain session recordings to easily find and watch them again in the future.",
- "unit": "playlists",
- "limit": 5,
- "note": null
- },
- {
- "key": "session_replay_data_retention",
- "name": "Data retention",
- "description": "Keep a historical record of your data.",
- "unit": "month",
- "limit": 1,
- "note": null
- },
- {
- "key": "replay_mask_sensitive_data",
- "name": "Block sensitive data",
- "description": "Disable capturing data from any DOM element with HTML attributes or a customizable config.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_sharing_embedding",
- "name": "Share and embed",
- "description": "Share replays directly via URL or embed via iframe.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_product_analytics_integration",
- "name": "Event timeline",
- "description": "See a history of everything that happened in a user's session.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_filter_person_properties",
- "name": "Filter person properties",
- "description": "Filter by person properties to quickly find relevant recordings.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_filter_events",
- "name": "Filter events",
- "description": "Filter by events to quickly find relevant recordings.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_dom_explorer",
- "name": "DOM Explorer",
- "description": "Freeze snapshots of recordings and explore the DOM with your browser dev tools.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "session_replay_sampling",
- "name": "Sample recorded sessions",
- "description": "Restrict the percentage of sessions that will be recorded.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_recording_duration_minimum",
- "name": "Minimum duration",
- "description": "Only record sessions longer than the minimum duration.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_feature_flag_based_recording",
- "name": "Record via feature flag",
- "description": "Only record sessions for users that have the flag enabled.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "dashboards",
- "name": "Dashboards",
- "description": "Save trends, funnels, and other insights for easy reference by your whole team.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "funnels",
- "name": "Funnels",
- "description": "Visualize user dropoff between a sequence of events. See conversion rate over time, use flexible step ordering, set exclusion steps, and more.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "graphs_trends",
- "name": "Graphs & trends",
- "description": "Plot any number of events or actions over time.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "paths",
- "name": "User paths",
- "description": "Limited paths excludes: customizing path insights by setting the maximum number of paths, number of people on each path, how path names appear",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "subscriptions",
- "name": "Insight & dashboard subscriptions",
- "description": "Create a subscription for any insight or dashboard in PostHog to receive regular reports with their updates.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "paths_advanced",
- "name": "Advanced paths",
- "description": "Customize your path insights by setting the maximum number of paths, number of people on each path, and how path names should appear.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "correlation_analysis",
- "name": "Correlation analysis",
- "description": "Automatically highlight significant factors that affect the conversion rate of users within a funnel.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "behavioral_cohort_filtering",
- "name": "Lifecycle",
- "description": "Discover how your active users break down, highlighting those who have recently stopped being active or those who have just become active for the first time.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "product_analytics_data_retention",
- "name": "Data retention",
- "description": "Keep a historical record of your data.",
- "unit": "years",
- "limit": 7,
- "note": null
- },
- {
- "key": "tracked_users",
- "name": "Tracked users",
- "description": "Track users across devices and sessions.",
- "unit": null,
- "limit": null,
- "note": "Unlimited"
- },
- {
- "key": "team_members",
- "name": "Team members",
- "description": "PostHog doesn't charge per seat add your entire team!",
- "unit": null,
- "limit": null,
- "note": "Unlimited"
- },
- {
- "key": "organizations_projects",
- "name": "Projects",
- "description": "Organize environments within a project. Share dashboards, insights and more across environments without duplicating work.",
- "unit": "projects",
- "limit": 2,
- "note": null
- },
- {
- "key": "environments",
- "name": "Environments",
- "description": "Create separate silos of data within a project. Data belongs to a single environment and all queries are environment-specific.",
- "unit": "environment",
- "limit": 2,
- "note": null
- },
- {
- "key": "api_access",
- "name": "API access",
- "description": "Access your data via our developer-friendly API.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "social_sso",
- "name": "SSO via Google, Github, or Gitlab",
- "description": "Log in to PostHog with your Google, Github, or Gitlab account.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "community_support",
- "name": "Community support",
- "description": "Get help from other users and PostHog team members in our Community forums.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "dedicated_support",
- "name": "Dedicated account manager",
- "description": "Work with a dedicated account manager via Slack or email to help you get the most out of PostHog.",
- "unit": null,
- "limit": null,
- "note": "$2k+/month spend"
- },
- {
- "key": "email_support",
- "name": "Email support",
- "description": "Get help directly from our product engineers via email. No wading through multiple support people before you get help.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "2fa",
- "name": "2FA",
- "description": "Secure your PostHog account with two-factor authentication.",
- "unit": null,
- "limit": null,
- "note": null
- }
- ],
- "current_total_amount_usd": "0.00",
- "current_total_amount_usd_after_discount": "0.00",
- "products": [
- {
- "name": "Product analytics",
- "headline": "Product analytics with autocapture",
- "description": "A comprehensive product analytics platform built to natively work with session replay, feature flags, A/B testing, and surveys.",
- "price_description": null,
- "usage_key": "events",
- "image_url": "https://posthog.com/images/products/product-analytics/product-analytics.png",
- "screenshot_url": "https://posthog.com/images/products/product-analytics/screenshot-product-analytics.png",
- "icon_key": "IconGraph",
- "docs_url": "https://posthog.com/docs/product-analytics",
- "subscribed": true,
- "plans": [
- {
- "plan_key": "free-20230117",
- "product_key": "product_analytics",
- "name": "Free",
- "description": "A comprehensive product analytics platform built to natively work with session replay, feature flags, A/B testing, and surveys.",
- "image_url": "https://posthog.com/images/products/product-analytics/product-analytics.png",
- "docs_url": "https://posthog.com/docs/product-analytics",
- "note": null,
- "unit": "event",
- "free_allocation": 1000000,
- "features": [
- {
- "key": "dashboards",
- "name": "Dashboards",
- "description": "Save trends, funnels, and other insights for easy reference by your whole team.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "funnels",
- "name": "Funnels",
- "description": "Visualize user dropoff between a sequence of events. See conversion rate over time, use flexible step ordering, set exclusion steps, and more.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "graphs_trends",
- "name": "Graphs & trends",
- "description": "Plot any number of events or actions over time.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "paths",
- "name": "User paths",
- "description": "Limited paths excludes: customizing path insights by setting the maximum number of paths, number of people on each path, how path names appear",
- "unit": null,
- "limit": null,
- "note": "Limited"
- },
- {
- "key": "product_analytics_data_retention",
- "name": "Data retention",
- "description": "Keep a historical record of your data.",
- "unit": "year",
- "limit": 1,
- "note": null
- }
- ],
- "tiers": null,
- "current_plan": false,
- "included_if": null,
- "contact_support": null,
- "unit_amount_usd": null
- },
- {
- "plan_key": "paid-20240111",
- "product_key": "product_analytics",
- "name": "Paid",
- "description": "A comprehensive product analytics platform built to natively work with session replay, feature flags, A/B testing, and surveys.",
- "image_url": "https://posthog.com/images/products/product-analytics/product-analytics.png",
- "docs_url": "https://posthog.com/docs/product-analytics",
- "note": null,
- "unit": "event",
- "free_allocation": null,
- "features": [
- {
- "key": "dashboards",
- "name": "Dashboards",
- "description": "Save trends, funnels, and other insights for easy reference by your whole team.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "funnels",
- "name": "Funnels",
- "description": "Visualize user dropoff between a sequence of events. See conversion rate over time, use flexible step ordering, set exclusion steps, and more.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "graphs_trends",
- "name": "Graphs & trends",
- "description": "Plot any number of events or actions over time.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "paths",
- "name": "User paths",
- "description": "Limited paths excludes: customizing path insights by setting the maximum number of paths, number of people on each path, how path names appear",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "subscriptions",
- "name": "Insight & dashboard subscriptions",
- "description": "Create a subscription for any insight or dashboard in PostHog to receive regular reports with their updates.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "paths_advanced",
- "name": "Advanced paths",
- "description": "Customize your path insights by setting the maximum number of paths, number of people on each path, and how path names should appear.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "correlation_analysis",
- "name": "Correlation analysis",
- "description": "Automatically highlight significant factors that affect the conversion rate of users within a funnel.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "behavioral_cohort_filtering",
- "name": "Lifecycle",
- "description": "Discover how your active users break down, highlighting those who have recently stopped being active or those who have just become active for the first time.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "product_analytics_data_retention",
- "name": "Data retention",
- "description": "Keep a historical record of your data.",
- "unit": "years",
- "limit": 7,
- "note": null
- }
- ],
- "tiers": [
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0",
- "up_to": 1000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.00031",
- "up_to": 2000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.00013",
- "up_to": 15000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000819",
- "up_to": 50000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000455",
- "up_to": 100000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000234",
- "up_to": 250000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000052",
- "up_to": null,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- }
- ],
- "current_plan": true,
- "included_if": null,
- "contact_support": null,
- "unit_amount_usd": null
- }
- ],
- "type": "product_analytics",
- "free_allocation": 0,
- "tiers": [
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0",
- "up_to": 1000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.00031",
- "up_to": 2000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.00013",
- "up_to": 15000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000819",
- "up_to": 50000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000455",
- "up_to": 100000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000234",
- "up_to": 250000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000052",
- "up_to": null,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- }
- ],
- "tiered": true,
- "unit_amount_usd": null,
- "current_amount_usd_before_addons": "0.00",
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "usage_limit": null,
- "has_exceeded_limit": false,
- "percentage_usage": 0,
- "projected_usage": 0,
- "projected_amount_usd": "0.00",
- "projected_amount_usd_with_limit": "0.00",
- "unit": "event",
- "addons": [
- {
- "name": "Group analytics",
- "description": "Associate events with a group or entity - such as a company, community, or project. Analyze these events as if they were sent by that entity itself. Great for B2B, marketplaces, and more.",
- "price_description": null,
- "image_url": "https://posthog.com/images/product/product-icons/group-analytics.svg",
- "icon_key": "IconPeople",
- "docs_url": "https://posthog.com/docs/product-analytics/group-analytics",
- "type": "group_analytics",
- "tiers": [
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0",
- "up_to": 1000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000708",
- "up_to": 2000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.00003",
- "up_to": 15000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000189",
- "up_to": 50000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000105",
- "up_to": 100000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000054",
- "up_to": 250000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000012",
- "up_to": null,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- }
- ],
- "tiered": true,
- "included_with_main_product": false,
- "subscribed": false,
- "unit": "event",
- "unit_amount_usd": null,
- "current_amount_usd": null,
- "current_usage": 0,
- "projected_usage": 0,
- "projected_amount_usd": "0.00",
- "plans": [
- {
- "plan_key": "addon-20230509",
- "product_key": "group_analytics",
- "name": "Addon",
- "description": "Associate events with a group or entity - such as a company, community, or project. Analyze these events as if they were sent by that entity itself. Great for B2B, marketplaces, and more.",
- "image_url": "https://posthog.com/images/product/product-icons/group-analytics.svg",
- "docs_url": "https://posthog.com/docs/product-analytics/group-analytics",
- "note": null,
- "unit": "event",
- "free_allocation": null,
- "features": [
- {
- "key": "group_analytics",
- "name": "Group analytics",
- "description": "Associate events with a group - such as a company, community, or project - and analyze them in that context.",
- "unit": null,
- "limit": null,
- "note": null
- }
- ],
- "tiers": [
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0",
- "up_to": 1000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000708",
- "up_to": 2000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.00003",
- "up_to": 15000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000189",
- "up_to": 50000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000105",
- "up_to": 100000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000054",
- "up_to": 250000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000012",
- "up_to": null,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- }
- ],
- "current_plan": false,
- "included_if": null,
- "contact_support": null,
- "unit_amount_usd": null
- }
- ],
- "contact_support": null
- },
- {
- "name": "Data pipelines",
- "description": "Get your PostHog data into your data warehouse or other tools like BigQuery, Redshift, Customer.io, and more.",
- "price_description": null,
- "image_url": "None",
- "icon_key": "IconDecisionTree",
- "docs_url": "https://posthog.com/docs/cdp/batch-exports",
- "type": "data_pipelines",
- "tiers": [
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0",
- "up_to": 1000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.000248",
- "up_to": 2000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.000104",
- "up_to": 15000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000655",
- "up_to": 50000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000364",
- "up_to": 100000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000187",
- "up_to": 250000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000042",
- "up_to": null,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- }
- ],
- "tiered": true,
- "included_with_main_product": false,
- "subscribed": false,
- "unit": "event",
- "unit_amount_usd": null,
- "current_amount_usd": null,
- "current_usage": 0,
- "projected_usage": 0,
- "projected_amount_usd": "0.00",
- "plans": [
- {
- "plan_key": "addon-20240111",
- "product_key": "data_pipelines",
- "name": "Addon",
- "description": "Get your PostHog data into your data warehouse or other tools like BigQuery, Redshift, Customer.io, and more.",
- "image_url": null,
- "docs_url": "https://posthog.com/docs/cdp/batch-exports",
- "note": null,
- "unit": "event",
- "free_allocation": null,
- "features": [
- {
- "key": "data_pipelines",
- "name": "Data pipelines",
- "description": "Get your PostHog data into your data warehouse or other tools like BigQuery, Redshift, Customer.io, and more.",
- "unit": null,
- "limit": null,
- "note": null
- }
- ],
- "tiers": [
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0",
- "up_to": 1000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.000248",
- "up_to": 2000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.000104",
- "up_to": 15000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000655",
- "up_to": 50000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000364",
- "up_to": 100000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000187",
- "up_to": 250000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0000042",
- "up_to": null,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- }
- ],
- "current_plan": false,
- "included_if": null,
- "contact_support": null,
- "unit_amount_usd": null
- }
- ],
- "contact_support": null
- }
- ],
- "contact_support": false,
- "inclusion_only": false,
- "features": [
- {
- "key": "product_analytics_data_retention",
- "name": "Data retention",
- "description": "Keep a historical record of your data.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "dashboards",
- "name": "Dashboards",
- "description": "Save trends, funnels, and other insights for easy reference by your whole team.",
- "images": {
- "light": "https://posthog.com/images/products/product-analytics/screenshot-dashboards.png",
- "dark": "https://posthog.com/images/products/product-analytics/screenshot-dashboards-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "funnels",
- "name": "Funnels",
- "description": "Visualize user dropoff between a sequence of events. See conversion rate over time, use flexible step ordering, set exclusion steps, and more.",
- "images": {
- "light": "https://posthog.com/images/products/product-analytics/screenshot-funnels.png",
- "dark": "https://posthog.com/images/products/product-analytics/screenshot-funnels-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "graphs_trends",
- "name": "Graphs & trends",
- "description": "Plot any number of events or actions over time.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "paths",
- "name": "User paths",
- "description": "Limited paths excludes: customizing path insights by setting the maximum number of paths, number of people on each path, how path names appear",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "insights",
- "name": "Unlimited Insights",
- "description": "Trends, funnels, retention, user paths, stickiness, and lifecycle insights to visualize your data.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "subscriptions",
- "name": "Insight & dashboard subscriptions",
- "description": "Create a subscription for any insight or dashboard in PostHog to receive regular reports with their updates.",
- "images": null,
- "icon_key": "IconNotification",
- "type": "secondary"
- },
- {
- "key": "paths_advanced",
- "name": "Advanced paths",
- "description": "Customize your path insights by setting the maximum number of paths, number of people on each path, and how path names should appear.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "correlation_analysis",
- "name": "Correlation analysis",
- "description": "Automatically highlight significant factors that affect the conversion rate of users within a funnel.",
- "images": {
- "light": "https://posthog.com/images/products/product-analytics/screenshot-correlation-analysis.png",
- "dark": "https://posthog.com/images/products/product-analytics/screenshot-correlation-analysis-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "behavioral_cohort_filtering",
- "name": "Lifecycle",
- "description": "Discover how your active users break down, highlighting those who have recently stopped being active or those who have just become active for the first time.",
- "images": {
- "light": "https://posthog.com/images/products/product-analytics/screenshot-lifecycle.png",
- "dark": "https://posthog.com/images/products/product-analytics/screenshot-lifecycle-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "product_analytics_retention",
- "name": "Retention",
- "description": "See how many users return on subsequent days after performing an event the first time, or recurrently.",
- "images": {
- "light": "https://posthog.com/images/products/product-analytics/screenshot-retention.png",
- "dark": "https://posthog.com/images/products/product-analytics/screenshot-retention-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "product_analytics_stickiness",
- "name": "Stickiness",
- "description": "Learn how many times users perform a specific event in a period of time.",
- "images": {
- "light": "https://posthog.com/images/products/product-analytics/screenshot-stickiness.png",
- "dark": "https://posthog.com/images/products/product-analytics/screenshot-stickiness-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "autocapture",
- "name": "Autocapture",
- "description": "Add PostHog.js to your website or web app to track all event data and retroactively define events.",
- "images": null,
- "icon_key": "IconBolt",
- "type": "secondary"
- },
- {
- "key": "data_visualization",
- "name": "Data visualization",
- "description": "Filter data by user property, group data, and use formulas in queries.",
- "images": null,
- "icon_key": "IconPieChart",
- "type": "secondary"
- },
- {
- "key": "product_analytics_sql_queries",
- "name": "Query with SQL",
- "description": "Use PostHog’s filtering interface or switch into SQL mode for more powerful querying.",
- "images": null,
- "icon_key": "IconTerminal",
- "type": "secondary"
- }
- ]
- },
- {
- "name": "Session replay",
- "headline": "Watch how users experience your app",
- "description": "Session replay helps you diagnose issues and understand user behavior in your product or website.",
- "price_description": null,
- "usage_key": "recordings",
- "image_url": "https://posthog.com/images/products/session-replay/session-replay.png",
- "screenshot_url": "https://posthog.com/images/products/session-replay/screenshot-session-replay.png",
- "icon_key": "IconRewindPlay",
- "docs_url": "https://posthog.com/docs/session-replay",
- "subscribed": true,
- "plans": [
- {
- "plan_key": "free-20231218",
- "product_key": "session_replay",
- "name": "Free",
- "description": "Session replay helps you diagnose issues and understand user behavior in your product or website.",
- "image_url": "https://posthog.com/images/products/session-replay/session-replay.png",
- "docs_url": "https://posthog.com/docs/session-replay",
- "note": null,
- "unit": "recording",
- "free_allocation": 5000,
- "features": [
- {
- "key": "console_logs",
- "name": "Console logs",
- "description": "Debug issues faster by browsing the user's console.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "recordings_performance",
- "name": "Network performance on recordings",
- "description": "See your end-user's network performance and information alongside session recordings.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "session_replay_network_payloads",
- "name": "Network monitor",
- "description": "Analyze performance and network calls.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "recordings_playlists",
- "name": "Recording playlists",
- "description": "Create playlists of certain session recordings to easily find and watch them again in the future.",
- "unit": "playlists",
- "limit": 5,
- "note": null
- },
- {
- "key": "session_replay_data_retention",
- "name": "Data retention",
- "description": "Keep a historical record of your data.",
- "unit": "month",
- "limit": 1,
- "note": null
- },
- {
- "key": "replay_mask_sensitive_data",
- "name": "Block sensitive data",
- "description": "Disable capturing data from any DOM element with HTML attributes or a customizable config.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_sharing_embedding",
- "name": "Share and embed",
- "description": "Share replays directly via URL or embed via iframe.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_product_analytics_integration",
- "name": "Event timeline",
- "description": "See a history of everything that happened in a user's session.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_filter_person_properties",
- "name": "Filter person properties",
- "description": "Filter by person properties to quickly find relevant recordings.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_filter_events",
- "name": "Filter events",
- "description": "Filter by events to quickly find relevant recordings.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_dom_explorer",
- "name": "DOM Explorer",
- "description": "Freeze snapshots of recordings and explore the DOM with your browser dev tools.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "session_replay_sampling",
- "name": "Sample recorded sessions",
- "description": "Restrict the percentage of sessions that will be recorded.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_recording_duration_minimum",
- "name": "Minimum duration",
- "description": "Only record sessions longer than the minimum duration.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_feature_flag_based_recording",
- "name": "Record via feature flag",
- "description": "Only record sessions for users that have the flag enabled.",
- "unit": null,
- "limit": null,
- "note": null
- }
- ],
- "tiers": null,
- "current_plan": true,
- "included_if": null,
- "contact_support": null,
- "unit_amount_usd": null
- },
- {
- "plan_key": "paid-20231218",
- "product_key": "session_replay",
- "name": "Paid",
- "description": "Session replay helps you diagnose issues and understand user behavior in your product or website.",
- "image_url": "https://posthog.com/images/products/session-replay/session-replay.png",
- "docs_url": "https://posthog.com/docs/session-replay",
- "note": null,
- "unit": "recording",
- "free_allocation": null,
- "features": [
- {
- "key": "console_logs",
- "name": "Console logs",
- "description": "Debug issues faster by browsing the user's console.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "recordings_playlists",
- "name": "Recording playlists",
- "description": "Create playlists of certain session recordings to easily find and watch them again in the future.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "recordings_performance",
- "name": "Network performance on recordings",
- "description": "See your end-user's network performance and information alongside session recordings.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "session_replay_network_payloads",
- "name": "Network monitor",
- "description": "Analyze performance and network calls.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "recordings_file_export",
- "name": "Download recordings",
- "description": "Retain recordings beyond data retention limits.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "session_replay_data_retention",
- "name": "Data retention",
- "description": "Keep a historical record of your data.",
- "unit": "months",
- "limit": 3,
- "note": null
- },
- {
- "key": "replay_mask_sensitive_data",
- "name": "Block sensitive data",
- "description": "Disable capturing data from any DOM element with HTML attributes or a customizable config.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_sharing_embedding",
- "name": "Share and embed",
- "description": "Share replays directly via URL or embed via iframe.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_product_analytics_integration",
- "name": "Event timeline",
- "description": "See a history of everything that happened in a user's session.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_filter_person_properties",
- "name": "Filter person properties",
- "description": "Filter by person properties to quickly find relevant recordings.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_filter_events",
- "name": "Filter events",
- "description": "Filter by events to quickly find relevant recordings.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_dom_explorer",
- "name": "DOM Explorer",
- "description": "Freeze snapshots of recordings and explore the DOM with your browser dev tools.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "session_replay_sampling",
- "name": "Sample recorded sessions",
- "description": "Restrict the percentage of sessions that will be recorded.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_recording_duration_minimum",
- "name": "Minimum duration",
- "description": "Only record sessions longer than the minimum duration.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "replay_feature_flag_based_recording",
- "name": "Record via feature flag",
- "description": "Only record sessions for users that have the flag enabled.",
- "unit": null,
- "limit": null,
- "note": null
- }
- ],
- "tiers": [
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0",
- "up_to": 5000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.04",
- "up_to": 15000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.003",
- "up_to": 50000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0027",
- "up_to": 150000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0025",
- "up_to": 500000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.002",
- "up_to": null,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- }
- ],
- "current_plan": false,
- "included_if": null,
- "contact_support": null,
- "unit_amount_usd": null
- }
- ],
- "type": "session_replay",
- "free_allocation": 5000,
- "tiers": null,
- "tiered": true,
- "unit_amount_usd": null,
- "current_amount_usd_before_addons": null,
- "current_amount_usd": null,
- "current_usage": 0,
- "usage_limit": 5000,
- "has_exceeded_limit": false,
- "percentage_usage": 0.0,
- "projected_usage": 0,
- "projected_amount_usd": null,
- "projected_amount_usd_with_limit": null,
- "unit": "recording",
- "addons": [],
- "contact_support": false,
- "inclusion_only": false,
- "features": [
- {
- "key": "recordings_playlists",
- "name": "Recording playlists",
- "description": "Create playlists of certain session recordings to easily find and watch them again in the future.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "session_replay_data_retention",
- "name": "Data retention",
- "description": "Keep a historical record of your data.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "console_logs",
- "name": "Console logs",
- "description": "Debug issues faster by browsing the user's console.",
- "images": {
- "light": "https://posthog.com/images/products/session-replay/console.png",
- "dark": "https://posthog.com/images/products/session-replay/console-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "recordings_performance",
- "name": "Network performance on recordings",
- "description": "See your end-user's network performance and information alongside session recordings.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "session_replay_network_payloads",
- "name": "Network monitor",
- "description": "Analyze performance and network calls.",
- "images": {
- "light": "https://posthog.com/images/products/session-replay/network.png",
- "dark": "https://posthog.com/images/products/session-replay/network-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "recordings_file_export",
- "name": "Download recordings",
- "description": "Retain recordings beyond data retention limits.",
- "images": null,
- "icon_key": "IconDownload",
- "type": "secondary"
- },
- {
- "key": "session_replay_sampling",
- "name": "Sample recorded sessions",
- "description": "Restrict the percentage of sessions that will be recorded.",
- "images": null,
- "icon_key": "IconSampling",
- "type": "secondary"
- },
- {
- "key": "replay_recording_duration_minimum",
- "name": "Minimum duration",
- "description": "Only record sessions longer than the minimum duration.",
- "images": null,
- "icon_key": "IconClock",
- "type": "secondary"
- },
- {
- "key": "replay_feature_flag_based_recording",
- "name": "Record via feature flag",
- "description": "Only record sessions for users that have the flag enabled.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "replay_mask_sensitive_data",
- "name": "Block sensitive data",
- "description": "Disable capturing data from any DOM element with HTML attributes or a customizable config.",
- "images": null,
- "icon_key": "IconPassword",
- "type": "secondary"
- },
- {
- "key": "replay_sharing_embedding",
- "name": "Share and embed",
- "description": "Share replays directly via URL or embed via iframe.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "replay_product_analytics_integration",
- "name": "Event timeline",
- "description": "See a history of everything that happened in a user's session.",
- "images": {
- "light": "https://posthog.com/images/products/session-replay/timeline.png",
- "dark": "https://posthog.com/images/products/session-replay/timeline-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "replay_filter_person_properties",
- "name": "Filter person properties",
- "description": "Filter by person properties to quickly find relevant recordings.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "replay_filter_events",
- "name": "Filter events",
- "description": "Filter by events to quickly find relevant recordings.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "replay_dom_explorer",
- "name": "DOM Explorer",
- "description": "Freeze snapshots of recordings and explore the DOM with your browser dev tools.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "works_with_posthog_js",
- "name": "Capture sessions without extra code",
- "description": "Works with PostHog.js",
- "images": null,
- "icon_key": "IconBolt",
- "type": "secondary"
- },
- {
- "key": "replay_automatic_playlists",
- "name": "Automatic playlists",
- "description": "Filter by user behavior, user properties, or time.",
- "images": null,
- "icon_key": "IconPlaylist",
- "type": "secondary"
- }
- ]
- },
- {
- "name": "Feature flags & A/B testing",
- "headline": "Safely roll out features and A/B tests to specific users or groups",
- "description": "Test changes with small groups of users before rolling out wider. Analyze usage with product analytics and session replay.",
- "price_description": null,
- "usage_key": "feature_flag_requests",
- "image_url": "https://posthog.com/images/products/feature-flags/feature-flags.png",
- "screenshot_url": "https://posthog.com/images/products/feature-flags/screenshot-feature-flags.png",
- "icon_key": "IconToggle",
- "docs_url": "https://posthog.com/docs/feature-flags",
- "subscribed": false,
- "plans": [
- {
- "plan_key": "free-20230117",
- "product_key": "feature_flags",
- "name": "Free",
- "description": "Test changes with small groups of users before rolling out wider. Analyze usage with product analytics and session replay.",
- "image_url": "https://posthog.com/images/products/feature-flags/feature-flags.png",
- "docs_url": "https://posthog.com/docs/feature-flags",
- "note": null,
- "unit": "request",
- "free_allocation": 1000000,
- "features": [
- {
- "key": "boolean_flags",
- "name": "Boolean feature flags",
- "description": "Turn features on and off for specific users.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "multivariate_flags",
- "name": "Multivariate feature flags & experiments",
- "description": "Create three or more variants of a feature flag to test or release different versions of a feature.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "persist_flags_cross_authentication",
- "name": "Persist flags across authentication",
- "description": "Persist feature flags across authentication events so that flag values don't change when an anonymous user logs in and becomes identified.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "feature_flag_payloads",
- "name": "Test changes without code",
- "description": "Use JSON payloads to change text, visuals, or entire blocks of code without subsequent deployments.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "multiple_release_conditions",
- "name": "Multiple release conditions",
- "description": "Customize your rollout strategy by user or group properties, cohort, or trafic percentage.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "release_condition_overrides",
- "name": "Release condition overrides",
- "description": "For any release condition, specify which flag value the users or groups in that condition should receive.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "targeting_by_group",
- "name": "Flag targeting by groups",
- "description": "Target feature flag release conditions by group properties, not just user properties.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "local_evaluation_and_bootstrapping",
- "name": "Local evaluation & bootstrapping",
- "description": "Bootstrap flags on initialization so all flags are available immediately, without having to make extra network requests.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "flag_usage_stats",
- "name": "Flag usage stats",
- "description": "See how many times a flag has been evaluated, how many times each variant has been returned, and what values users received.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "experimentation",
- "name": "A/B testing",
- "description": "Test changes to your product and evaluate the impacts those changes make.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "funnel_experiments",
- "name": "Funnel & trend experiments",
- "description": "Measure the impact of a change on a aggregate values or a series of events, like a signup flow.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "secondary_metrics",
- "name": "Secondary experiment metrics",
- "description": "Track additional metrics to see how your experiment affects other parts of your app or different flows.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "statistical_analysis",
- "name": "Statistical analysis",
- "description": "Get a statistical analysis of your experiment results to see if the results are significant, or if they're likely just due to chance.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "feature_flags_data_retention",
- "name": "Data retention",
- "description": "Keep a historical record of your data.",
- "unit": "year",
- "limit": 1,
- "note": null
- }
- ],
- "tiers": null,
- "current_plan": true,
- "included_if": null,
- "contact_support": null,
- "unit_amount_usd": null
- },
- {
- "plan_key": "paid-20230623",
- "product_key": "feature_flags",
- "name": "Paid",
- "description": "Test changes with small groups of users before rolling out wider. Analyze usage with product analytics and session replay.",
- "image_url": "https://posthog.com/images/products/feature-flags/feature-flags.png",
- "docs_url": "https://posthog.com/docs/feature-flags",
- "note": null,
- "unit": "request",
- "free_allocation": null,
- "features": [
- {
- "key": "boolean_flags",
- "name": "Boolean feature flags",
- "description": "Turn features on and off for specific users.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "multivariate_flags",
- "name": "Multivariate feature flags & experiments",
- "description": "Create three or more variants of a feature flag to test or release different versions of a feature.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "persist_flags_cross_authentication",
- "name": "Persist flags across authentication",
- "description": "Persist feature flags across authentication events so that flag values don't change when an anonymous user logs in and becomes identified.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "feature_flag_payloads",
- "name": "Test changes without code",
- "description": "Use JSON payloads to change text, visuals, or entire blocks of code without subsequent deployments.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "multiple_release_conditions",
- "name": "Multiple release conditions",
- "description": "Customize your rollout strategy by user or group properties, cohort, or trafic percentage.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "release_condition_overrides",
- "name": "Release condition overrides",
- "description": "For any release condition, specify which flag value the users or groups in that condition should receive.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "targeting_by_group",
- "name": "Flag targeting by groups",
- "description": "Target feature flag release conditions by group properties, not just user properties.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "local_evaluation_and_bootstrapping",
- "name": "Local evaluation & bootstrapping",
- "description": "Bootstrap flags on initialization so all flags are available immediately, without having to make extra network requests.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "flag_usage_stats",
- "name": "Flag usage stats",
- "description": "See how many times a flag has been evaluated, how many times each variant has been returned, and what values users received.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "experimentation",
- "name": "A/B testing",
- "description": "Test changes to your product and evaluate the impacts those changes make.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "funnel_experiments",
- "name": "Funnel & trend experiments",
- "description": "Measure the impact of a change on a aggregate values or a series of events, like a signup flow.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "secondary_metrics",
- "name": "Secondary experiment metrics",
- "description": "Track additional metrics to see how your experiment affects other parts of your app or different flows.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "statistical_analysis",
- "name": "Statistical analysis",
- "description": "Get a statistical analysis of your experiment results to see if the results are significant, or if they're likely just due to chance.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "group_experiments",
- "name": "Group experiments",
- "description": "Target experiments to specific groups of users so everyone in the same group gets the same variant.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "feature_flags_data_retention",
- "name": "Data retention",
- "description": "Keep a historical record of your data.",
- "unit": "years",
- "limit": 7,
- "note": null
- }
- ],
- "tiers": [
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0",
- "up_to": 1000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.0001",
- "up_to": 2000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.000045",
- "up_to": 10000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.000025",
- "up_to": 50000000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.00001",
- "up_to": null,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- }
- ],
- "current_plan": false,
- "included_if": null,
- "contact_support": null,
- "unit_amount_usd": null
- }
- ],
- "type": "feature_flags",
- "free_allocation": 1000000,
- "tiers": null,
- "tiered": true,
- "unit_amount_usd": null,
- "current_amount_usd_before_addons": null,
- "current_amount_usd": null,
- "current_usage": 0,
- "usage_limit": 1000000,
- "has_exceeded_limit": false,
- "percentage_usage": 0.0,
- "projected_usage": 0,
- "projected_amount_usd": null,
- "projected_amount_usd_with_limit": null,
- "unit": "request",
- "addons": [],
- "contact_support": false,
- "inclusion_only": false,
- "features": [
- {
- "key": "boolean_flags",
- "name": "Boolean feature flags",
- "description": "Turn features on and off for specific users.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "feature_flags_data_retention",
- "name": "Data retention",
- "description": "Keep a historical record of your data.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "multivariate_flags",
- "name": "Multivariate feature flags & experiments",
- "description": "Create three or more variants of a feature flag to test or release different versions of a feature.",
- "images": {
- "light": "https://posthog.com/images/products/feature-flags/multivariate.png",
- "dark": "https://posthog.com/images/products/feature-flags/multivariate-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "persist_flags_cross_authentication",
- "name": "Persist flags across authentication",
- "description": "Persist feature flags across authentication events so that flag values don't change when an anonymous user logs in and becomes identified.",
- "images": null,
- "icon_key": "IconUnlock",
- "type": "secondary"
- },
- {
- "key": "feature_flag_payloads",
- "name": "Test changes without code",
- "description": "Use JSON payloads to change text, visuals, or entire blocks of code without subsequent deployments.",
- "images": {
- "light": "https://posthog.com/images/products/feature-flags/payloads.png",
- "dark": "https://posthog.com/images/products/feature-flags/payloads-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "multiple_release_conditions",
- "name": "Multiple release conditions",
- "description": "Customize your rollout strategy by user or group properties, cohort, or trafic percentage.",
- "images": {
- "light": "https://posthog.com/images/products/feature-flags/release-conditions.png",
- "dark": "https://posthog.com/images/products/feature-flags/release-conditions-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "release_condition_overrides",
- "name": "Release condition overrides",
- "description": "For any release condition, specify which flag value the users or groups in that condition should receive.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "targeting_by_group",
- "name": "Flag targeting by groups",
- "description": "Target feature flag release conditions by group properties, not just user properties.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "local_evaluation_and_bootstrapping",
- "name": "Local evaluation & bootstrapping",
- "description": "Bootstrap flags on initialization so all flags are available immediately, without having to make extra network requests.",
- "images": null,
- "icon_key": "IconDecisionTree",
- "type": "secondary"
- },
- {
- "key": "flag_usage_stats",
- "name": "Flag usage stats",
- "description": "See how many times a flag has been evaluated, how many times each variant has been returned, and what values users received.",
- "images": {
- "light": "https://posthog.com/images/products/feature-flags/reports.png",
- "dark": "https://posthog.com/images/products/feature-flags/reports-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "user_opt_in",
- "name": "Early access feature opt-in widget",
- "description": "Allow users to opt in to (or out of) specified features. Or use the API to build your own UI.",
- "images": {
- "light": "https://posthog.com/images/products/feature-flags/early-access.png",
- "dark": "https://posthog.com/images/products/feature-flags/early-access-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "instant_rollbacks",
- "name": "Instant rollbacks",
- "description": "Disable a feature without touching your codebase.",
- "images": null,
- "icon_key": "IconRevert",
- "type": "secondary"
- },
- {
- "key": "experimentation",
- "name": "A/B testing",
- "description": "Test changes to your product and evaluate the impacts those changes make.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "group_experiments",
- "name": "Group experiments",
- "description": "Target experiments to specific groups of users so everyone in the same group gets the same variant.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "funnel_experiments",
- "name": "Funnel & trend experiments",
- "description": "Measure the impact of a change on a aggregate values or a series of events, like a signup flow.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "secondary_metrics",
- "name": "Secondary experiment metrics",
- "description": "Track additional metrics to see how your experiment affects other parts of your app or different flows.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "statistical_analysis",
- "name": "Statistical analysis",
- "description": "Get a statistical analysis of your experiment results to see if the results are significant, or if they're likely just due to chance.",
- "images": null,
- "icon_key": null,
- "type": null
- }
- ]
- },
- {
- "name": "Surveys",
- "headline": "Ask anything with no-code surveys",
- "description": "Build in-app popups with freeform text responses, multiple choice, NPS, ratings, and emoji reactions. Or use the API for complete control.",
- "price_description": null,
- "usage_key": "survey_responses",
- "image_url": "https://posthog.com/images/products/surveys/surveys.png",
- "screenshot_url": "https://posthog.com/images/products/surveys/screenshot-surveys.png",
- "icon_key": "IconMessage",
- "docs_url": "https://posthog.com/docs/surveys",
- "subscribed": false,
- "plans": [
- {
- "plan_key": "free-20230928",
- "product_key": "surveys",
- "name": "Free",
- "description": "Build in-app popups with freeform text responses, multiple choice, NPS, ratings, and emoji reactions. Or use the API for complete control.",
- "image_url": "https://posthog.com/images/products/surveys/surveys.png",
- "docs_url": "https://posthog.com/docs/surveys",
- "note": null,
- "unit": "survey response",
- "free_allocation": 250,
- "features": [
- {
- "key": "surveys_unlimited_surveys",
- "name": "Unlimited surveys",
- "description": "Create as many surveys as you want.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_all_question_types",
- "name": "All question types",
- "description": "Rating scale (for NPS and the like), multiple choice, single choice, emoji rating, link, free text.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_user_targeting",
- "name": "Advanced user targeting",
- "description": "Target by URL, user property, or feature flag when used with Feature flags.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_user_sampling",
- "name": "User sampling",
- "description": "Sample users to only survey a portion of the users who match the criteria.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_api_mode",
- "name": "API mode",
- "description": "Using PostHog.js? No more code required. But if want to create your own UI, we have a full API.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_results_analysis",
- "name": "Aggregated results",
- "description": "See feedback summarized and broken down per response, plus completion rates and drop offs.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_templates",
- "name": "Templates",
- "description": "Use our templates to get started quickly with NPS, customer satisfaction surveys, user interviews, and more.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_data_retention",
- "name": "Data retention",
- "description": "Keep a historical record of your data.",
- "unit": "year",
- "limit": 1,
- "note": null
- }
- ],
- "tiers": null,
- "current_plan": true,
- "included_if": null,
- "contact_support": null,
- "unit_amount_usd": null
- },
- {
- "plan_key": "paid-20230928",
- "product_key": "surveys",
- "name": "Paid",
- "description": "Build in-app popups with freeform text responses, multiple choice, NPS, ratings, and emoji reactions. Or use the API for complete control.",
- "image_url": "https://posthog.com/images/products/surveys/surveys.png",
- "docs_url": "https://posthog.com/docs/surveys",
- "note": null,
- "unit": "survey response",
- "free_allocation": null,
- "features": [
- {
- "key": "surveys_unlimited_surveys",
- "name": "Unlimited surveys",
- "description": "Create as many surveys as you want.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_all_question_types",
- "name": "All question types",
- "description": "Rating scale (for NPS and the like), multiple choice, single choice, emoji rating, link, free text.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_multiple_questions",
- "name": "Multiple questions",
- "description": "Ask up to 10 questions in a single survey.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_user_targeting",
- "name": "Advanced user targeting",
- "description": "Target by URL, user property, or feature flag when used with Feature flags.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_user_sampling",
- "name": "User sampling",
- "description": "Sample users to only survey a portion of the users who match the criteria.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_styling",
- "name": "Custom colors & positioning",
- "description": "Customize the colors of your surveys to match your brand and set survey position.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_text_html",
- "name": "Custom HTML text",
- "description": "Add custom HTML to your survey text.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_api_mode",
- "name": "API mode",
- "description": "Using PostHog.js? No more code required. But if want to create your own UI, we have a full API.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_results_analysis",
- "name": "Aggregated results",
- "description": "See feedback summarized and broken down per response, plus completion rates and drop offs.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_templates",
- "name": "Templates",
- "description": "Use our templates to get started quickly with NPS, customer satisfaction surveys, user interviews, and more.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "surveys_data_retention",
- "name": "Data retention",
- "description": "Keep a historical record of your data.",
- "unit": "years",
- "limit": 7,
- "note": null
- }
- ],
- "tiers": [
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0",
- "up_to": 250,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.2",
- "up_to": 500,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.1",
- "up_to": 1000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.035",
- "up_to": 10000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.015",
- "up_to": 20000,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- },
- {
- "flat_amount_usd": "0",
- "unit_amount_usd": "0.01",
- "up_to": null,
- "current_amount_usd": "0.00",
- "current_usage": 0,
- "projected_usage": null,
- "projected_amount_usd": null
- }
- ],
- "current_plan": false,
- "included_if": null,
- "contact_support": null,
- "unit_amount_usd": null
- }
- ],
- "type": "surveys",
- "free_allocation": 250,
- "tiers": null,
- "tiered": true,
- "unit_amount_usd": null,
- "current_amount_usd_before_addons": null,
- "current_amount_usd": null,
- "current_usage": 0,
- "usage_limit": 250,
- "has_exceeded_limit": false,
- "percentage_usage": 0.0,
- "projected_usage": 0,
- "projected_amount_usd": null,
- "projected_amount_usd_with_limit": null,
- "unit": "survey response",
- "addons": [],
- "contact_support": false,
- "inclusion_only": false,
- "features": [
- {
- "key": "surveys_unlimited_surveys",
- "name": "Unlimited surveys",
- "description": "Create as many surveys as you want.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "surveys_all_question_types",
- "name": "All question types",
- "description": "Rating scale (for NPS and the like), multiple choice, single choice, emoji rating, link, free text.",
- "images": {
- "light": "https://posthog.com/images/products/surveys/question-types.png",
- "dark": "https://posthog.com/images/products/surveys/question-types-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "surveys_multiple_questions",
- "name": "Multiple questions",
- "description": "Ask up to 10 questions in a single survey.",
- "images": {
- "light": "https://posthog.com/images/products/surveys/steps.png",
- "dark": "https://posthog.com/images/products/surveys/steps-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "surveys_user_targeting",
- "name": "Advanced user targeting",
- "description": "Target by URL, user property, or feature flag when used with Feature flags.",
- "images": {
- "light": "https://posthog.com/images/products/surveys/targeting.png",
- "dark": "https://posthog.com/images/products/surveys/targeting-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "surveys_user_sampling",
- "name": "User sampling",
- "description": "Sample users to only survey a portion of the users who match the criteria.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "surveys_styling",
- "name": "Custom colors & positioning",
- "description": "Customize the colors of your surveys to match your brand and set survey position.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "surveys_text_html",
- "name": "Custom HTML text",
- "description": "Add custom HTML to your survey text.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "surveys_api_mode",
- "name": "API mode",
- "description": "Using PostHog.js? No more code required. But if want to create your own UI, we have a full API.",
- "images": {
- "light": "https://posthog.com/images/products/surveys/api.png",
- "dark": "https://posthog.com/images/products/surveys/api-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "surveys_results_analysis",
- "name": "Aggregated results",
- "description": "See feedback summarized and broken down per response, plus completion rates and drop offs.",
- "images": null,
- "icon_key": "IconPieChart",
- "type": "secondary"
- },
- {
- "key": "surveys_templates",
- "name": "Templates",
- "description": "Use our templates to get started quickly with NPS, customer satisfaction surveys, user interviews, and more.",
- "images": {
- "light": "https://posthog.com/images/products/surveys/templates.png",
- "dark": "https://posthog.com/images/products/surveys/templates-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "surveys_data_retention",
- "name": "Data retention",
- "description": "Keep a historical record of your data.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "surveys_link_question_type",
- "name": "Link somewhere",
- "description": "Send users to a webpage or invite them to book a meeting with a calendar invite.",
- "images": {
- "light": "https://posthog.com/images/products/surveys/link-scheduler.png",
- "dark": "https://posthog.com/images/products/surveys/link-scheduler-dark.png"
- },
- "icon_key": null,
- "type": "primary"
- },
- {
- "key": "surveys_slack_notifications",
- "name": "Slack notifications",
- "description": "Send realtime survey responses to a Slack channel.",
- "images": null,
- "icon_key": "IconNotification",
- "type": "secondary"
- },
- {
- "key": "surveys_wait_periods",
- "name": "Customizable wait periods",
- "description": "Set a delay before a survey opens.",
- "images": null,
- "icon_key": "IconClock",
- "type": "secondary"
- }
- ]
- },
- {
- "name": "Integrations",
- "headline": null,
- "description": "Connect PostHog to your favorite tools.",
- "price_description": null,
- "usage_key": null,
- "image_url": "https://posthog.com/images/product/product-icons/integrations.svg",
- "screenshot_url": null,
- "icon_key": "IconBolt",
- "docs_url": "https://posthog.com/docs/cdp",
- "subscribed": null,
- "plans": [
- {
- "plan_key": "free-20230117",
- "product_key": "integrations",
- "name": "Free",
- "description": "Connect PostHog to your favorite tools.",
- "image_url": "https://posthog.com/images/product/product-icons/integrations.svg",
- "docs_url": "https://posthog.com/docs/cdp",
- "note": null,
- "unit": null,
- "free_allocation": null,
- "features": [
- {
- "key": "zapier",
- "name": "Zapier",
- "description": "Zapier lets you connect PostHog with thousands of the most popular apps, so you can automate your work and have more time for what matters most—no code required.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "slack_integration",
- "name": "Slack",
- "description": "Get notified about new actions in Slack.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "microsoft_teams_integration",
- "name": "Microsoft Teams",
- "description": "Get notified about new actions in Microsoft Teams.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "discord_integration",
- "name": "Discord",
- "description": "Get notified about new actions in Discord.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "apps",
- "name": "Transformations",
- "description": "Use transformations to filter or modify your incoming data. (Destinations not included, see the Data pipelines addon for product analytics.)",
- "unit": null,
- "limit": null,
- "note": null
- }
- ],
- "tiers": null,
- "current_plan": false,
- "included_if": "no_active_subscription",
- "contact_support": null,
- "unit_amount_usd": null
- },
- {
- "plan_key": "paid-20230117",
- "product_key": "integrations",
- "name": "Paid",
- "description": "Connect PostHog to your favorite tools.",
- "image_url": "https://posthog.com/images/product/product-icons/integrations.svg",
- "docs_url": "https://posthog.com/docs/cdp",
- "note": null,
- "unit": null,
- "free_allocation": null,
- "features": [
- {
- "key": "zapier",
- "name": "Zapier",
- "description": "Zapier lets you connect PostHog with thousands of the most popular apps, so you can automate your work and have more time for what matters most—no code required.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "slack_integration",
- "name": "Slack",
- "description": "Get notified about new actions in Slack.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "microsoft_teams_integration",
- "name": "Microsoft Teams",
- "description": "Get notified about new actions in Microsoft Teams.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "discord_integration",
- "name": "Discord",
- "description": "Get notified about new actions in Discord.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "apps",
- "name": "Transformations",
- "description": "Use transformations to filter or modify your incoming data. (Destinations not included, see the Data pipelines addon for product analytics.)",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "app_metrics",
- "name": "Transformation & destination metrics",
- "description": "Get metrics on your transformation and destination metrics to see their usage, reliability, and more.",
- "unit": null,
- "limit": null,
- "note": null
- }
- ],
- "tiers": null,
- "current_plan": true,
- "included_if": "has_subscription",
- "contact_support": null,
- "unit_amount_usd": null
- }
- ],
- "type": "integrations",
- "free_allocation": 0,
- "tiers": null,
- "tiered": false,
- "unit_amount_usd": null,
- "current_amount_usd_before_addons": null,
- "current_amount_usd": null,
- "current_usage": 0,
- "usage_limit": 0,
- "has_exceeded_limit": false,
- "percentage_usage": 0,
- "projected_usage": 0,
- "projected_amount_usd": null,
- "projected_amount_usd_with_limit": null,
- "unit": null,
- "addons": [],
- "contact_support": false,
- "inclusion_only": true,
- "features": [
- {
- "key": "apps",
- "name": "Transformations",
- "description": "Use transformations to filter or modify your incoming data. (Destinations not included, see the Data pipelines addon for product analytics.)",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "slack_integration",
- "name": "Slack",
- "description": "Get notified about new actions in Slack.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "microsoft_teams_integration",
- "name": "Microsoft Teams",
- "description": "Get notified about new actions in Microsoft Teams.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "discord_integration",
- "name": "Discord",
- "description": "Get notified about new actions in Discord.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "zapier",
- "name": "Zapier",
- "description": "Zapier lets you connect PostHog with thousands of the most popular apps, so you can automate your work and have more time for what matters most—no code required.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "app_metrics",
- "name": "Transformation & destination metrics",
- "description": "Get metrics on your transformation and destination metrics to see their usage, reliability, and more.",
- "images": null,
- "icon_key": null,
- "type": null
- }
- ]
- },
- {
- "name": "Platform and support",
- "headline": null,
- "description": "SSO, permission management, and support.",
- "price_description": null,
- "usage_key": null,
- "image_url": "https://posthog.com/images/product/product-icons/platform.svg",
- "screenshot_url": null,
- "icon_key": "IconStack",
- "docs_url": "https://posthog.com/docs",
- "subscribed": null,
- "plans": [
- {
- "plan_key": "free-20230117",
- "product_key": "platform_and_support",
- "name": "Free",
- "description": "SSO, permission management, and support.",
- "image_url": "https://posthog.com/images/product/product-icons/platform.svg",
- "docs_url": "https://posthog.com/docs",
- "note": null,
- "unit": null,
- "free_allocation": null,
- "features": [
- {
- "key": "tracked_users",
- "name": "Tracked users",
- "description": "Track users across devices and sessions.",
- "unit": null,
- "limit": null,
- "note": "Unlimited"
- },
- {
- "key": "team_members",
- "name": "Team members",
- "description": "PostHog doesn't charge per seat add your entire team!",
- "unit": null,
- "limit": null,
- "note": "Unlimited"
- },
- {
- "key": "organizations_projects",
- "name": "Projects",
- "description": "Organize environments within a project. Share dashboards, insights and more across environments without duplicating work.",
- "unit": "project",
- "limit": 1,
- "note": null
- },
- {
- "key": "environments",
- "name": "Environments",
- "description": "Create separate silos of data within a project. Data belongs to a single environment and all queries are environment-specific.",
- "unit": "environment",
- "limit": 1,
- "note": null
- },
- {
- "key": "api_access",
- "name": "API access",
- "description": "Access your data via our developer-friendly API.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "social_sso",
- "name": "SSO via Google, Github, or Gitlab",
- "description": "Log in to PostHog with your Google, Github, or Gitlab account.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "community_support",
- "name": "Community support",
- "description": "Get help from other users and PostHog team members in our Community forums.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "2fa",
- "name": "2FA",
- "description": "Secure your PostHog account with two-factor authentication.",
- "unit": null,
- "limit": null,
- "note": null
- }
- ],
- "tiers": null,
- "current_plan": false,
- "included_if": "no_active_subscription",
- "contact_support": null,
- "unit_amount_usd": null
- },
- {
- "plan_key": "paid-20240208",
- "product_key": "platform_and_support",
- "name": "Pay-per-use",
- "description": "SSO, permission management, and support.",
- "image_url": "https://posthog.com/images/product/product-icons/platform.svg",
- "docs_url": "https://posthog.com/docs",
- "note": null,
- "unit": null,
- "free_allocation": null,
- "features": [
- {
- "key": "tracked_users",
- "name": "Tracked users",
- "description": "Track users across devices and sessions.",
- "unit": null,
- "limit": null,
- "note": "Unlimited"
- },
- {
- "key": "team_members",
- "name": "Team members",
- "description": "PostHog doesn't charge per seat add your entire team!",
- "unit": null,
- "limit": null,
- "note": "Unlimited"
- },
- {
- "key": "organizations_projects",
- "name": "Projects",
- "description": "Organize environments within a project. Share dashboards, insights and more across environments without duplicating work.",
- "unit": "projects",
- "limit": 2,
- "note": null
- },
- {
- "key": "environments",
- "name": "Environments",
- "description": "Create separate silos of data within a project. Data belongs to a single environment and all queries are environment-specific.",
- "unit": "environment",
- "limit": 2,
- "note": null
- },
- {
- "key": "api_access",
- "name": "API access",
- "description": "Access your data via our developer-friendly API.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "social_sso",
- "name": "SSO via Google, Github, or Gitlab",
- "description": "Log in to PostHog with your Google, Github, or Gitlab account.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "community_support",
- "name": "Community support",
- "description": "Get help from other users and PostHog team members in our Community forums.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "dedicated_support",
- "name": "Dedicated account manager",
- "description": "Work with a dedicated account manager via Slack or email to help you get the most out of PostHog.",
- "unit": null,
- "limit": null,
- "note": "$2k+/month spend"
- },
- {
- "key": "email_support",
- "name": "Email support",
- "description": "Get help directly from our product engineers via email. No wading through multiple support people before you get help.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "2fa",
- "name": "2FA",
- "description": "Secure your PostHog account with two-factor authentication.",
- "unit": null,
- "limit": null,
- "note": null
- }
- ],
- "tiers": null,
- "current_plan": true,
- "included_if": "has_subscription",
- "contact_support": null,
- "unit_amount_usd": null
- },
- {
- "plan_key": "teams-20240208",
- "product_key": "platform_and_support",
- "name": "Teams",
- "description": "SSO, permission management, and support.",
- "image_url": "https://posthog.com/images/product/product-icons/platform.svg",
- "docs_url": "https://posthog.com/docs",
- "note": null,
- "unit": null,
- "free_allocation": null,
- "features": [
- {
- "key": "tracked_users",
- "name": "Tracked users",
- "description": "Track users across devices and sessions.",
- "unit": null,
- "limit": null,
- "note": "Unlimited"
- },
- {
- "key": "team_members",
- "name": "Team members",
- "description": "PostHog doesn't charge per seat add your entire team!",
- "unit": null,
- "limit": null,
- "note": "Unlimited"
- },
- {
- "key": "organizations_projects",
- "name": "Projects",
- "description": "Organize environments within a project. Share dashboards, insights and more across environments without duplicating work.",
- "unit": null,
- "limit": null,
- "note": "Unlimited"
- },
- {
- "key": "environments",
- "name": "Environments",
- "description": "Create separate silos of data within a project. Data belongs to a single environment and all queries are environment-specific.",
- "unit": null,
- "limit": null,
- "note": "Unlimited"
- },
- {
- "key": "api_access",
- "name": "API access",
- "description": "Access your data via our developer-friendly API.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "social_sso",
- "name": "SSO via Google, Github, or Gitlab",
- "description": "Log in to PostHog with your Google, Github, or Gitlab account.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "sso_enforcement",
- "name": "Enforce SSO login",
- "description": "Users can only sign up and log in to your PostHog organization with your specified SSO provider.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "2fa",
- "name": "2FA",
- "description": "Secure your PostHog account with two-factor authentication.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "2fa_enforcement",
- "name": "Enforce 2FA",
- "description": "Require all users in your organization to enable two-factor authentication.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "community_support",
- "name": "Community support",
- "description": "Get help from other users and PostHog team members in our Community forums.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "email_support",
- "name": "Email support",
- "description": "Get help directly from our product engineers via email. No wading through multiple support people before you get help.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "dedicated_support",
- "name": "Dedicated account manager",
- "description": "Work with a dedicated account manager via Slack or email to help you get the most out of PostHog.",
- "unit": null,
- "limit": null,
- "note": "$2k+/month spend"
- },
- {
- "key": "priority_support",
- "name": "Priority support",
- "description": "Get help from our team faster than other customers.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "white_labelling",
- "name": "White labeling",
- "description": "Use your own branding on surveys, shared dashboards, shared insights, and more.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "project_based_permissioning",
- "name": "Project permissions",
- "description": "Restrict access to data within the organization to only those who need it.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "advanced_permissions",
- "name": "Advanced permissions",
- "description": "Control who can access and modify data and features within your organization.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "access_control",
- "name": "Access control",
- "description": "Control who can access and modify data and features within your organization.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "audit_logs",
- "name": "Audit logs",
- "description": "See who in your organization has accessed or modified entities within PostHog.",
- "unit": null,
- "limit": null,
- "note": "Basic"
- },
- {
- "key": "security_assessment",
- "name": "Security assessment",
- "description": "Security assessment",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "hipaa_baa",
- "name": "HIPAA BAA",
- "description": "Get a signed HIPAA Business Associate Agreement (BAA) to use PostHog in a HIPAA-compliant manner.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "ingestion_taxonomy",
- "name": "Ingestion taxonomy",
- "description": "Organize and manage your data with event and property definitions - set and update descriptions, verification status, hide/show, and assign ownership.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "tagging",
- "name": "Dashboard tags",
- "description": "Organize dashboards with tags.",
- "unit": null,
- "limit": null,
- "note": null
- }
- ],
- "tiers": [],
- "current_plan": false,
- "included_if": null,
- "contact_support": null,
- "unit_amount_usd": "450.00"
- },
- {
- "plan_key": "enterprise-20240208",
- "product_key": "platform_and_support",
- "name": "Enterprise",
- "description": "SSO, permission management, and support.",
- "image_url": "https://posthog.com/images/product/product-icons/platform.svg",
- "docs_url": "https://posthog.com/docs",
- "note": null,
- "unit": null,
- "free_allocation": null,
- "features": [
- {
- "key": "team_members",
- "name": "Team members",
- "description": "PostHog doesn't charge per seat add your entire team!",
- "unit": null,
- "limit": null,
- "note": "Unlimited"
- },
- {
- "key": "organizations_projects",
- "name": "Projects",
- "description": "Organize environments within a project. Share dashboards, insights and more across environments without duplicating work.",
- "unit": null,
- "limit": null,
- "note": "Unlimited"
- },
- {
- "key": "environments",
- "name": "Environments",
- "description": "Create separate silos of data within a project. Data belongs to a single environment and all queries are environment-specific.",
- "unit": null,
- "limit": null,
- "note": "Unlimited"
- },
- {
- "key": "tracked_users",
- "name": "Tracked users",
- "description": "Track users across devices and sessions.",
- "unit": null,
- "limit": null,
- "note": "Unlimited"
- },
- {
- "key": "api_access",
- "name": "API access",
- "description": "Access your data via our developer-friendly API.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "white_labelling",
- "name": "White labeling",
- "description": "Use your own branding on surveys, shared dashboards, shared insights, and more.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "ingestion_taxonomy",
- "name": "Ingestion taxonomy",
- "description": "Organize and manage your data with event and property definitions - set and update descriptions, verification status, hide/show, and assign ownership.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "tagging",
- "name": "Dashboard tags",
- "description": "Organize dashboards with tags.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "social_sso",
- "name": "SSO via Google, Github, or Gitlab",
- "description": "Log in to PostHog with your Google, Github, or Gitlab account.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "sso_enforcement",
- "name": "Enforce SSO login",
- "description": "Users can only sign up and log in to your PostHog organization with your specified SSO provider.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "saml",
- "name": "SAML SSO",
- "description": "Allow your organization's users to log in with SAML.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "2fa",
- "name": "2FA",
- "description": "Secure your PostHog account with two-factor authentication.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "2fa_enforcement",
- "name": "Enforce 2FA",
- "description": "Require all users in your organization to enable two-factor authentication.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "project_based_permissioning",
- "name": "Project permissions",
- "description": "Restrict access to data within the organization to only those who need it.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "role_based_access",
- "name": "Role-based access",
- "description": "Control access to features like experiments, session recordings, and feature flags with custom roles.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "advanced_permissions",
- "name": "Advanced permissions",
- "description": "Control who can access and modify data and features within your organization.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "access_control",
- "name": "Access control",
- "description": "Control who can access and modify data and features within your organization.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "audit_logs",
- "name": "Audit logs",
- "description": "See who in your organization has accessed or modified entities within PostHog.",
- "unit": null,
- "limit": null,
- "note": "Advanced"
- },
- {
- "key": "hipaa_baa",
- "name": "HIPAA BAA",
- "description": "Get a signed HIPAA Business Associate Agreement (BAA) to use PostHog in a HIPAA-compliant manner.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "custom_msa",
- "name": "Custom MSA",
- "description": "Get a custom Master Services Agreement (MSA) to use PostHog in a way that fits your company's needs.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "community_support",
- "name": "Community support",
- "description": "Get help from other users and PostHog team members in our Community forums.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "email_support",
- "name": "Email support",
- "description": "Get help directly from our product engineers via email. No wading through multiple support people before you get help.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "dedicated_support",
- "name": "Dedicated account manager",
- "description": "Work with a dedicated account manager via Slack or email to help you get the most out of PostHog.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "priority_support",
- "name": "Priority support",
- "description": "Get help from our team faster than other customers.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "security_assessment",
- "name": "Security assessment",
- "description": "Security assessment",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "training",
- "name": "Ongoing training",
- "description": "Get training from our team to help you quickly get up and running with PostHog.",
- "unit": null,
- "limit": null,
- "note": null
- },
- {
- "key": "configuration_support",
- "name": "Personalized onboarding",
- "description": "Get help from our team to create dashboards that will help you understand your data and your business.",
- "unit": null,
- "limit": null,
- "note": null
- }
- ],
- "tiers": null,
- "current_plan": false,
- "included_if": null,
- "contact_support": true,
- "unit_amount_usd": null
- }
- ],
- "type": "platform_and_support",
- "free_allocation": 0,
- "tiers": null,
- "tiered": false,
- "unit_amount_usd": null,
- "current_amount_usd_before_addons": null,
- "current_amount_usd": null,
- "current_usage": 0,
- "usage_limit": 0,
- "has_exceeded_limit": false,
- "percentage_usage": 0,
- "projected_usage": 0,
- "projected_amount_usd": null,
- "projected_amount_usd_with_limit": null,
- "unit": null,
- "addons": [],
- "contact_support": false,
- "inclusion_only": true,
- "features": [
- {
- "key": "tracked_users",
- "name": "Tracked users",
- "description": "Track users across devices and sessions.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "team_members",
- "name": "Team members",
- "description": "PostHog doesn't charge per seat add your entire team!",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "api_access",
- "name": "API access",
- "description": "Access your data via our developer-friendly API.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "organizations_projects",
- "name": "Projects",
- "description": "Organize environments within a project. Share dashboards, insights and more across environments without duplicating work.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "environments",
- "name": "Environments",
- "description": "Create separate silos of data within a project. Data belongs to a single environment and all queries are environment-specific.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "social_sso",
- "name": "SSO via Google, Github, or Gitlab",
- "description": "Log in to PostHog with your Google, Github, or Gitlab account.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "role_based_access",
- "name": "Role-based access",
- "description": "Control access to features like experiments, session recordings, and feature flags with custom roles.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "project_based_permissioning",
- "name": "Project permissions",
- "description": "Restrict access to data within the organization to only those who need it.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "advanced_permissions",
- "name": "Advanced permissions",
- "description": "Control who can access and modify data and features within your organization.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "access_control",
- "name": "Access control",
- "description": "Control who can access and modify data and features within your organization.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "saml",
- "name": "SAML SSO",
- "description": "Allow your organization's users to log in with SAML.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "sso_enforcement",
- "name": "Enforce SSO login",
- "description": "Users can only sign up and log in to your PostHog organization with your specified SSO provider.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "2fa",
- "name": "2FA",
- "description": "Secure your PostHog account with two-factor authentication.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "2fa_enforcement",
- "name": "Enforce 2FA",
- "description": "Require all users in your organization to enable two-factor authentication.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "white_labelling",
- "name": "White labeling",
- "description": "Use your own branding on surveys, shared dashboards, shared insights, and more.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "community_support",
- "name": "Community support",
- "description": "Get help from other users and PostHog team members in our Community forums.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "dedicated_support",
- "name": "Dedicated account manager",
- "description": "Work with a dedicated account manager via Slack or email to help you get the most out of PostHog.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "email_support",
- "name": "Email support",
- "description": "Get help directly from our product engineers via email. No wading through multiple support people before you get help.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "priority_support",
- "name": "Priority support",
- "description": "Get help from our team faster than other customers.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "training",
- "name": "Ongoing training",
- "description": "Get training from our team to help you quickly get up and running with PostHog.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "configuration_support",
- "name": "Personalized onboarding",
- "description": "Get help from our team to create dashboards that will help you understand your data and your business.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "terms_and_conditions",
- "name": "Terms and conditions",
- "description": "Terms and conditions",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "security_assessment",
- "name": "Security assessment",
- "description": "Security assessment",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "bespoke_pricing",
- "name": "Bespoke pricing",
- "description": "Custom pricing to fit your company's needs.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "invoice_payments",
- "name": "Payment via invoicing",
- "description": "Pay for your PostHog subscription via invoice.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "support_response_time",
- "name": "Support response time",
- "description": "Get help from our team!",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "audit_logs",
- "name": "Audit logs",
- "description": "See who in your organization has accessed or modified entities within PostHog.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "hipaa_baa",
- "name": "HIPAA BAA",
- "description": "Get a signed HIPAA Business Associate Agreement (BAA) to use PostHog in a HIPAA-compliant manner.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "custom_msa",
- "name": "Custom MSA",
- "description": "Get a custom Master Services Agreement (MSA) to use PostHog in a way that fits your company's needs.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "ingestion_taxonomy",
- "name": "Ingestion taxonomy",
- "description": "Organize and manage your data with event and property definitions - set and update descriptions, verification status, hide/show, and assign ownership.",
- "images": null,
- "icon_key": null,
- "type": null
- },
- {
- "key": "tagging",
- "name": "Dashboard tags",
- "description": "Organize dashboards with tags.",
- "images": null,
- "icon_key": null,
- "type": null
- }
- ]
- }
- ],
- "custom_limits_usd": {},
- "usage_summary": {
- "events": {
- "usage": 0,
- "limit": null
- },
- "recordings": {
- "usage": 0,
- "limit": 5000
- },
- "feature_flag_requests": {
- "usage": 0,
- "limit": 1000000
- },
- "survey_responses": {
- "usage": 0,
- "limit": 250
- }
- },
- "free_trial_until": null,
- "discount_percent": null,
- "discount_amount_usd": null,
- "amount_off_expires_at": null,
- "never_drop_data": null,
- "customer_trust_scores": {
- "surveys": 0,
- "feature_flags": 0,
- "session_replay": 3,
- "product_analytics": 3
- },
- "stripe_portal_url": "http://localhost:8000/api/billing/portal"
-}
diff --git a/playwright/mocks/events/browser_property_definitions.json b/playwright/mocks/events/browser_property_definitions.json
deleted file mode 100644
index 90175c03bf5c..000000000000
--- a/playwright/mocks/events/browser_property_definitions.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "count": 2,
- "next": null,
- "previous": null,
- "results": [
- {
- "id": "017dde0e-1cb5-0000-68b4-44835b7c8001",
- "name": "$browser",
- "is_numerical": false,
- "query_usage_30_day": null,
- "property_type": "String",
- "is_seen_on_filtered_events": null
- },
- {
- "id": "017dde0e-1cb5-0000-68b4-44835b7c894f",
- "name": "$browser_version",
- "is_numerical": true,
- "query_usage_30_day": null,
- "property_type": null,
- "is_seen_on_filtered_events": null
- }
- ]
-}
diff --git a/playwright/mocks/events/feature_flag_property_definition.json b/playwright/mocks/events/feature_flag_property_definition.json
deleted file mode 100644
index 836f14a51276..000000000000
--- a/playwright/mocks/events/feature_flag_property_definition.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "count": 2,
- "next": null,
- "previous": null,
- "results": [
- {
- "id": "017dde0e-1cb5-0000-68b4-44835b7c894f",
- "name": "$feature/awesome-new-hidden-thing",
- "is_numerical": false,
- "query_usage_30_day": null,
- "property_type": null,
- "is_seen_on_filtered_events": null
- },
- {
- "id": "017dde0e-1cb5-0000-68b4-44835b7c894f",
- "name": "$feature/our-cool-experiment",
- "is_numerical": false,
- "query_usage_30_day": null,
- "property_type": null,
- "is_seen_on_filtered_events": null
- }
- ]
-}
diff --git a/playwright/mocks/events/only_time_property_definition.json b/playwright/mocks/events/only_time_property_definition.json
deleted file mode 100644
index edfae1da71b5..000000000000
--- a/playwright/mocks/events/only_time_property_definition.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "count": 1,
- "next": null,
- "previous": null,
- "results": [
- {
- "id": "017dde0e-1cc9-0000-ed91-26909937767f",
- "name": "$time",
- "is_numerical": true,
- "query_usage_30_day": null,
- "property_type": "DateTime",
- "is_seen_on_filtered_events": null
- }
- ]
-}
diff --git a/playwright/mocks/events/property_definitions.json b/playwright/mocks/events/property_definitions.json
deleted file mode 100644
index 804ba2ca92f1..000000000000
--- a/playwright/mocks/events/property_definitions.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "count": 2,
- "next": null,
- "previous": null,
- "results": [
- {
- "id": "017dde0e-1cb5-0000-68b4-44835b7c894f",
- "name": "$browser",
- "is_numerical": true,
- "query_usage_30_day": null,
- "property_type": null,
- "is_seen_on_filtered_events": null
- },
- {
- "id": "017dde0e-1cc9-0000-ed91-26909937767f",
- "name": "$time",
- "is_numerical": true,
- "query_usage_30_day": null,
- "property_type": "DateTime",
- "is_seen_on_filtered_events": null
- }
- ]
-}
diff --git a/playwright/mocks/events/session_recording.json b/playwright/mocks/events/session_recording.json
deleted file mode 100644
index d712055c36b5..000000000000
--- a/playwright/mocks/events/session_recording.json
+++ /dev/null
@@ -1,2970 +0,0 @@
-{
- "result": {
- "snapshots": [
- { "data": {}, "type": 0, "timestamp": 1611914066510 },
- { "data": {}, "type": 1, "timestamp": 1611914066566 },
- {
- "data": { "href": "http://localhost:8000/demo/1", "width": 1276, "height": 1300 },
- "type": 4,
- "timestamp": 1611914066566
- },
- {
- "data": {
- "node": {
- "id": 1,
- "type": 0,
- "childNodes": [
- {
- "id": 2,
- "type": 2,
- "tagName": "html",
- "attributes": {},
- "childNodes": [
- {
- "id": 3,
- "type": 2,
- "tagName": "head",
- "attributes": {},
- "childNodes": [
- { "id": 4, "type": 3, "textContent": "\n " },
- {
- "id": 5,
- "type": 2,
- "tagName": "title",
- "attributes": {},
- "childNodes": [{ "id": 6, "type": 3, "textContent": "Hogflix" }]
- },
- { "id": 7, "type": 3, "textContent": "\n " },
- {
- "id": 8,
- "type": 2,
- "tagName": "script",
- "attributes": {
- "src": "http://localhost:8000/static/recorder.js?v=1.8.3",
- "type": "text/javascript"
- },
- "childNodes": []
- },
- {
- "id": 9,
- "type": 2,
- "tagName": "script",
- "attributes": { "src": "http://localhost:8000/static/array.js" },
- "childNodes": []
- },
- { "id": 10, "type": 3, "textContent": "\n " },
- {
- "id": 11,
- "type": 2,
- "tagName": "script",
- "attributes": {},
- "childNodes": [
- { "id": 12, "type": 3, "textContent": "SCRIPT_PLACEHOLDER" }
- ]
- },
- { "id": 13, "type": 3, "textContent": "\n " },
- {
- "id": 14,
- "type": 2,
- "tagName": "link",
- "attributes": {
- "rel": "stylesheet",
- "href": "https://cdn.jsdelivr.net/npm/rrweb@latest/dist/rrweb.min.css"
- },
- "childNodes": []
- },
- { "id": 15, "type": 3, "textContent": "\n " },
- {
- "id": 16,
- "type": 2,
- "tagName": "script",
- "attributes": {
- "src": "https://cdn.jsdelivr.net/npm/rrweb@latest/dist/rrweb.min.js"
- },
- "childNodes": []
- },
- { "id": 17, "type": 3, "textContent": "\n " },
- {
- "id": 18,
- "type": 2,
- "tagName": "link",
- "attributes": {
- "rel": "stylesheet",
- "href": "https://unpkg.com/mvp.css"
- },
- "childNodes": []
- },
- { "id": 19, "type": 3, "textContent": "\n\n " },
- {
- "id": 20,
- "type": 2,
- "tagName": "style",
- "attributes": {},
- "childNodes": [
- {
- "id": 21,
- "type": 3,
- "isStyle": true,
- "textContent": "\n :root {\n --color: #e9130c !important;\n --color-accent: #118bee15 !important;\n --color-bg: rgb(37, 37, 37) !important;\n --color-bg-secondary: #e9e9e9 !important;\n --color-secondary: #fa0303 !important;\n --color-secondary-accent: #eb1c1c0b !important;\n --color-shadow: #a8a8a8 !important;\n --color-text: rgb(231, 231, 231) !important;\n --color-text-secondary: rgb(212, 212, 212) !important;\n }\n\n video {\n max-width: 600px !important;\n margin: auto;\n display: block;\n }\n\n input {\n background-color: rgb(59, 59, 59);\n border-color: rgb(54, 54, 54);\n color: #fff;\n }\n "
- }
- ]
- },
- { "id": 22, "type": 3, "textContent": "\n" }
- ]
- },
- { "id": 23, "type": 3, "textContent": "\n\n" },
- {
- "id": 24,
- "type": 2,
- "tagName": "body",
- "attributes": {},
- "childNodes": [
- { "id": 25, "type": 3, "textContent": "\n\n " },
- {
- "id": 26,
- "type": 2,
- "tagName": "main",
- "attributes": {},
- "childNodes": [
- { "id": 27, "type": 3, "textContent": "\n " },
- {
- "id": 28,
- "type": 2,
- "tagName": "header",
- "attributes": {},
- "childNodes": [
- { "id": 29, "type": 3, "textContent": "\n " },
- {
- "id": 30,
- "type": 2,
- "tagName": "article",
- "attributes": {},
- "childNodes": [
- {
- "id": 31,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 32,
- "type": 2,
- "tagName": "aside",
- "attributes": {},
- "childNodes": [
- {
- "id": 33,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 34,
- "type": 2,
- "tagName": "p",
- "attributes": {},
- "childNodes": [
- {
- "id": 35,
- "type": 3,
- "textContent": "Welcome to the PostHog demo environment!"
- }
- ]
- },
- {
- "id": 36,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 37,
- "type": 2,
- "tagName": "small",
- "attributes": {},
- "childNodes": [
- {
- "id": 38,
- "type": 3,
- "textContent": "\n By going through this demo you can simulate a user going through a signup funnel. "
- },
- {
- "id": 39,
- "type": 2,
- "tagName": "a",
- "attributes": {
- "href": "http://localhost:8000/"
- },
- "childNodes": [
- {
- "id": 40,
- "type": 3,
- "textContent": "You can\n explore the data in PostHog within project \"Hogflix Demo App\"."
- }
- ]
- },
- {
- "id": 41,
- "type": 3,
- "textContent": "\n "
- }
- ]
- },
- {
- "id": 42,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 43,
- "type": 2,
- "tagName": "p",
- "attributes": {},
- "childNodes": [
- {
- "id": 44,
- "type": 3,
- "textContent": " "
- }
- ]
- },
- {
- "id": 45,
- "type": 3,
- "textContent": "\n "
- }
- ]
- },
- {
- "id": 46,
- "type": 3,
- "textContent": "\n "
- }
- ]
- },
- { "id": 47, "type": 3, "textContent": "\n " },
- {
- "id": 48,
- "type": 2,
- "tagName": "nav",
- "attributes": {},
- "childNodes": [
- {
- "id": 49,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 50,
- "type": 2,
- "tagName": "a",
- "attributes": {
- "href": "http://localhost:8000/demo",
- "style": "color: rgb(197, 197, 197)"
- },
- "childNodes": [
- {
- "id": 51,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 52,
- "type": 2,
- "tagName": "h3",
- "attributes": {},
- "childNodes": [
- {
- "id": 53,
- "type": 3,
- "textContent": "Hogflix"
- }
- ]
- },
- {
- "id": 54,
- "type": 3,
- "textContent": "\n "
- }
- ]
- },
- {
- "id": 55,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 56,
- "type": 2,
- "tagName": "ul",
- "attributes": {},
- "childNodes": [
- {
- "id": 57,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 58,
- "type": 2,
- "tagName": "li",
- "attributes": {},
- "childNodes": [
- {
- "id": 59,
- "type": 2,
- "tagName": "a",
- "attributes": {
- "href": "http://localhost:8000/demo/1"
- },
- "childNodes": [
- {
- "id": 60,
- "type": 3,
- "textContent": "Sign Up"
- }
- ]
- }
- ]
- },
- {
- "id": 61,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 62,
- "type": 2,
- "tagName": "li",
- "attributes": {},
- "childNodes": [
- {
- "id": 63,
- "type": 2,
- "tagName": "a",
- "attributes": {
- "href": "http://localhost:8000/demo/2"
- },
- "childNodes": [
- {
- "id": 64,
- "type": 3,
- "textContent": "Payment"
- }
- ]
- }
- ]
- },
- {
- "id": 65,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 66,
- "type": 2,
- "tagName": "li",
- "attributes": {},
- "childNodes": [
- {
- "id": 67,
- "type": 2,
- "tagName": "a",
- "attributes": {
- "href": "http://localhost:8000/demo/3"
- },
- "childNodes": [
- {
- "id": 68,
- "type": 3,
- "textContent": "Movies"
- }
- ]
- }
- ]
- },
- {
- "id": 69,
- "type": 3,
- "textContent": "\n "
- }
- ]
- },
- {
- "id": 70,
- "type": 3,
- "textContent": "\n "
- }
- ]
- },
- { "id": 71, "type": 3, "textContent": "\n " }
- ]
- },
- {
- "id": 72,
- "type": 3,
- "textContent": "\n\n \n\n \n "
- },
- {
- "id": 73,
- "type": 2,
- "tagName": "section",
- "attributes": {},
- "childNodes": [
- { "id": 74, "type": 3, "textContent": "\n " },
- {
- "id": 75,
- "type": 2,
- "tagName": "form",
- "attributes": { "action": "/demo/2" },
- "childNodes": [
- {
- "id": 76,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 77,
- "type": 2,
- "tagName": "h1",
- "attributes": {},
- "childNodes": [
- {
- "id": 78,
- "type": 3,
- "textContent": "Sign Up"
- }
- ]
- },
- {
- "id": 79,
- "type": 3,
- "textContent": "\n\n "
- },
- {
- "id": 80,
- "type": 2,
- "tagName": "label",
- "attributes": {},
- "childNodes": [
- {
- "id": 81,
- "type": 3,
- "textContent": "Username"
- }
- ]
- },
- {
- "id": 82,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 83,
- "type": 2,
- "tagName": "input",
- "attributes": {
- "name": "username",
- "type": "text",
- "class": "form-control"
- },
- "childNodes": []
- },
- {
- "id": 84,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 85,
- "type": 2,
- "tagName": "label",
- "attributes": {},
- "childNodes": [
- {
- "id": 86,
- "type": 3,
- "textContent": "Password"
- }
- ]
- },
- {
- "id": 87,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 88,
- "type": 2,
- "tagName": "input",
- "attributes": {
- "name": "password",
- "type": "password",
- "class": "form-control"
- },
- "childNodes": []
- },
- {
- "id": 89,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 90,
- "type": 2,
- "tagName": "button",
- "attributes": { "type": "submit" },
- "childNodes": [
- {
- "id": 91,
- "type": 3,
- "textContent": "Sign up!"
- }
- ]
- },
- {
- "id": 92,
- "type": 3,
- "textContent": "\n "
- }
- ]
- },
- { "id": 93, "type": 3, "textContent": "\n " }
- ]
- },
- {
- "id": 94,
- "type": 3,
- "textContent": "\n \n \n \n \n\n \n\n "
- },
- {
- "id": 95,
- "type": 2,
- "tagName": "script",
- "attributes": {},
- "childNodes": [
- { "id": 96, "type": 3, "textContent": "SCRIPT_PLACEHOLDER" }
- ]
- },
- { "id": 97, "type": 3, "textContent": "\n\n\n\n" }
- ]
- }
- ]
- }
- ]
- }
- ]
- },
- "initialOffset": { "top": 0, "left": 0 }
- },
- "type": 2,
- "timestamp": 1611914066570
- },
- {
- "data": { "source": 1, "positions": [{ "x": 610, "y": 498, "id": 75, "timeOffset": 0 }] },
- "type": 3,
- "timestamp": 1611914066574
- },
- {
- "data": {
- "source": 1,
- "positions": [
- { "x": 604, "y": 491, "id": 83, "timeOffset": -450 },
- { "x": 584, "y": 470, "id": 83, "timeOffset": -392 },
- { "x": 574, "y": 457, "id": 80, "timeOffset": -333 },
- { "x": 567, "y": 440, "id": 80, "timeOffset": -283 },
- { "x": 561, "y": 424, "id": 75, "timeOffset": -233 },
- { "x": 561, "y": 428, "id": 75, "timeOffset": -122 },
- { "x": 571, "y": 457, "id": 80, "timeOffset": -66 },
- { "x": 571, "y": 468, "id": 83, "timeOffset": -16 }
- ]
- },
- "type": 3,
- "timestamp": 1611914067074
- },
- { "data": { "x": 567, "y": 474, "id": 83, "type": 1, "source": 2 }, "type": 3, "timestamp": 1611914067135 },
- { "data": { "id": 83, "type": 5, "source": 2 }, "type": 3, "timestamp": 1611914067142 },
- { "data": { "x": 567, "y": 474, "id": 83, "type": 0, "source": 2 }, "type": 3, "timestamp": 1611914067252 },
- { "data": { "x": 567, "y": 474, "id": 83, "type": 2, "source": 2 }, "type": 3, "timestamp": 1611914067256 },
- {
- "data": {
- "source": 1,
- "positions": [
- { "x": 567, "y": 474, "id": 83, "timeOffset": -466 },
- { "x": 566, "y": 474, "id": 83, "timeOffset": -236 }
- ]
- },
- "type": 3,
- "timestamp": 1611914067574
- },
- {
- "data": { "id": 83, "text": "g", "source": 5, "isChecked": false },
- "type": 3,
- "timestamp": 1611914068464
- },
- {
- "data": { "id": 83, "text": "ge", "source": 5, "isChecked": false },
- "type": 3,
- "timestamp": 1611914068566
- },
- {
- "data": { "id": 83, "text": "gel", "source": 5, "isChecked": false },
- "type": 3,
- "timestamp": 1611914068728
- },
- {
- "data": { "id": 83, "text": "ge", "source": 5, "isChecked": false },
- "type": 3,
- "timestamp": 1611914069294
- },
- {
- "data": { "id": 83, "text": "g", "source": 5, "isChecked": false },
- "type": 3,
- "timestamp": 1611914069446
- },
- {
- "data": { "id": 83, "text": "", "source": 5, "isChecked": false },
- "type": 3,
- "timestamp": 1611914069576
- },
- {
- "data": { "id": 83, "text": "h", "source": 5, "isChecked": false },
- "type": 3,
- "timestamp": 1611914070054
- },
- {
- "data": { "id": 83, "text": "he", "source": 5, "isChecked": false },
- "type": 3,
- "timestamp": 1611914070136
- },
- {
- "data": { "id": 83, "text": "hel", "source": 5, "isChecked": false },
- "type": 3,
- "timestamp": 1611914070270
- },
- {
- "data": { "id": 83, "text": "hell", "source": 5, "isChecked": false },
- "type": 3,
- "timestamp": 1611914070421
- },
- {
- "data": { "id": 83, "text": "hello", "source": 5, "isChecked": false },
- "type": 3,
- "timestamp": 1611914070589
- },
- {
- "data": { "id": 83, "text": "hellow", "source": 5, "isChecked": false },
- "type": 3,
- "timestamp": 1611914070677
- },
- {
- "data": { "id": 83, "text": "hellowo", "source": 5, "isChecked": false },
- "type": 3,
- "timestamp": 1611914070829
- },
- {
- "data": { "id": 83, "text": "hellowor", "source": 5, "isChecked": false },
- "type": 3,
- "timestamp": 1611914070949
- },
- {
- "data": { "id": 83, "text": "helloworl", "source": 5, "isChecked": false },
- "type": 3,
- "timestamp": 1611914071109
- },
- {
- "data": { "id": 83, "text": "helloworld", "source": 5, "isChecked": false },
- "type": 3,
- "timestamp": 1611914071165
- },
- { "data": { "id": 83, "type": 6, "source": 2 }, "type": 3, "timestamp": 1611914071543 },
- { "data": { "id": 88, "type": 5, "source": 2 }, "type": 3, "timestamp": 1611914071548 },
- { "data": {}, "type": 0, "timestamp": 1611914073773 },
- { "data": {}, "type": 1, "timestamp": 1611914073782 },
- {
- "data": {
- "href": "http://localhost:8000/demo/2?username=helloworld&password=mynameis",
- "width": 1276,
- "height": 1300
- },
- "type": 4,
- "timestamp": 1611914073783
- },
- {
- "data": {
- "node": {
- "id": 1,
- "type": 0,
- "childNodes": [
- {
- "id": 2,
- "type": 2,
- "tagName": "html",
- "attributes": {},
- "childNodes": [
- {
- "id": 3,
- "type": 2,
- "tagName": "head",
- "attributes": {},
- "childNodes": [
- { "id": 4, "type": 3, "textContent": "\n " },
- {
- "id": 5,
- "type": 2,
- "tagName": "title",
- "attributes": {},
- "childNodes": [{ "id": 6, "type": 3, "textContent": "Hogflix" }]
- },
- { "id": 7, "type": 3, "textContent": "\n " },
- {
- "id": 8,
- "type": 2,
- "tagName": "script",
- "attributes": {
- "src": "http://localhost:8000/static/recorder.js?v=1.8.3",
- "type": "text/javascript"
- },
- "childNodes": []
- },
- {
- "id": 9,
- "type": 2,
- "tagName": "script",
- "attributes": { "src": "http://localhost:8000/static/array.js" },
- "childNodes": []
- },
- { "id": 10, "type": 3, "textContent": "\n " },
- {
- "id": 11,
- "type": 2,
- "tagName": "script",
- "attributes": {},
- "childNodes": [
- { "id": 12, "type": 3, "textContent": "SCRIPT_PLACEHOLDER" }
- ]
- },
- { "id": 13, "type": 3, "textContent": "\n " },
- {
- "id": 14,
- "type": 2,
- "tagName": "link",
- "attributes": {
- "rel": "stylesheet",
- "href": "https://cdn.jsdelivr.net/npm/rrweb@latest/dist/rrweb.min.css"
- },
- "childNodes": []
- },
- { "id": 15, "type": 3, "textContent": "\n " },
- {
- "id": 16,
- "type": 2,
- "tagName": "script",
- "attributes": {
- "src": "https://cdn.jsdelivr.net/npm/rrweb@latest/dist/rrweb.min.js"
- },
- "childNodes": []
- },
- { "id": 17, "type": 3, "textContent": "\n " },
- {
- "id": 18,
- "type": 2,
- "tagName": "link",
- "attributes": {
- "rel": "stylesheet",
- "href": "https://unpkg.com/mvp.css"
- },
- "childNodes": []
- },
- { "id": 19, "type": 3, "textContent": "\n\n " },
- {
- "id": 20,
- "type": 2,
- "tagName": "style",
- "attributes": {},
- "childNodes": [
- {
- "id": 21,
- "type": 3,
- "isStyle": true,
- "textContent": "\n :root {\n --color: #e9130c !important;\n --color-accent: #118bee15 !important;\n --color-bg: rgb(37, 37, 37) !important;\n --color-bg-secondary: #e9e9e9 !important;\n --color-secondary: #fa0303 !important;\n --color-secondary-accent: #eb1c1c0b !important;\n --color-shadow: #a8a8a8 !important;\n --color-text: rgb(231, 231, 231) !important;\n --color-text-secondary: rgb(212, 212, 212) !important;\n }\n\n video {\n max-width: 600px !important;\n margin: auto;\n display: block;\n }\n\n input {\n background-color: rgb(59, 59, 59);\n border-color: rgb(54, 54, 54);\n color: #fff;\n }\n "
- }
- ]
- },
- { "id": 22, "type": 3, "textContent": "\n" }
- ]
- },
- { "id": 23, "type": 3, "textContent": "\n\n" },
- {
- "id": 24,
- "type": 2,
- "tagName": "body",
- "attributes": {},
- "childNodes": [
- { "id": 25, "type": 3, "textContent": "\n\n " },
- {
- "id": 26,
- "type": 2,
- "tagName": "main",
- "attributes": {},
- "childNodes": [
- { "id": 27, "type": 3, "textContent": "\n " },
- {
- "id": 28,
- "type": 2,
- "tagName": "header",
- "attributes": {},
- "childNodes": [
- { "id": 29, "type": 3, "textContent": "\n " },
- {
- "id": 30,
- "type": 2,
- "tagName": "article",
- "attributes": {},
- "childNodes": [
- {
- "id": 31,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 32,
- "type": 2,
- "tagName": "aside",
- "attributes": {},
- "childNodes": [
- {
- "id": 33,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 34,
- "type": 2,
- "tagName": "p",
- "attributes": {},
- "childNodes": [
- {
- "id": 35,
- "type": 3,
- "textContent": "Welcome to the PostHog demo environment!"
- }
- ]
- },
- {
- "id": 36,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 37,
- "type": 2,
- "tagName": "small",
- "attributes": {},
- "childNodes": [
- {
- "id": 38,
- "type": 3,
- "textContent": "\n By going through this demo you can simulate a user going through a signup funnel. "
- },
- {
- "id": 39,
- "type": 2,
- "tagName": "a",
- "attributes": {
- "href": "http://localhost:8000/"
- },
- "childNodes": [
- {
- "id": 40,
- "type": 3,
- "textContent": "You can\n explore the data in PostHog within project \"Hogflix Demo App\"."
- }
- ]
- },
- {
- "id": 41,
- "type": 3,
- "textContent": "\n "
- }
- ]
- },
- {
- "id": 42,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 43,
- "type": 2,
- "tagName": "p",
- "attributes": {},
- "childNodes": [
- {
- "id": 44,
- "type": 3,
- "textContent": " "
- }
- ]
- },
- {
- "id": 45,
- "type": 3,
- "textContent": "\n "
- }
- ]
- },
- {
- "id": 46,
- "type": 3,
- "textContent": "\n "
- }
- ]
- },
- { "id": 47, "type": 3, "textContent": "\n " },
- {
- "id": 48,
- "type": 2,
- "tagName": "nav",
- "attributes": {},
- "childNodes": [
- {
- "id": 49,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 50,
- "type": 2,
- "tagName": "a",
- "attributes": {
- "href": "http://localhost:8000/demo",
- "style": "color: rgb(197, 197, 197)"
- },
- "childNodes": [
- {
- "id": 51,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 52,
- "type": 2,
- "tagName": "h3",
- "attributes": {},
- "childNodes": [
- {
- "id": 53,
- "type": 3,
- "textContent": "Hogflix"
- }
- ]
- },
- {
- "id": 54,
- "type": 3,
- "textContent": "\n "
- }
- ]
- },
- {
- "id": 55,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 56,
- "type": 2,
- "tagName": "ul",
- "attributes": {},
- "childNodes": [
- {
- "id": 57,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 58,
- "type": 2,
- "tagName": "li",
- "attributes": {},
- "childNodes": [
- {
- "id": 59,
- "type": 2,
- "tagName": "a",
- "attributes": {
- "href": "http://localhost:8000/demo/1"
- },
- "childNodes": [
- {
- "id": 60,
- "type": 3,
- "textContent": "Sign Up"
- }
- ]
- }
- ]
- },
- {
- "id": 61,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 62,
- "type": 2,
- "tagName": "li",
- "attributes": {},
- "childNodes": [
- {
- "id": 63,
- "type": 2,
- "tagName": "a",
- "attributes": {
- "href": "http://localhost:8000/demo/2"
- },
- "childNodes": [
- {
- "id": 64,
- "type": 3,
- "textContent": "Payment"
- }
- ]
- }
- ]
- },
- {
- "id": 65,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 66,
- "type": 2,
- "tagName": "li",
- "attributes": {},
- "childNodes": [
- {
- "id": 67,
- "type": 2,
- "tagName": "a",
- "attributes": {
- "href": "http://localhost:8000/demo/3"
- },
- "childNodes": [
- {
- "id": 68,
- "type": 3,
- "textContent": "Movies"
- }
- ]
- }
- ]
- },
- {
- "id": 69,
- "type": 3,
- "textContent": "\n "
- }
- ]
- },
- {
- "id": 70,
- "type": 3,
- "textContent": "\n "
- }
- ]
- },
- { "id": 71, "type": 3, "textContent": "\n " }
- ]
- },
- {
- "id": 72,
- "type": 3,
- "textContent": "\n\n \n\n \n \n "
- },
- {
- "id": 73,
- "type": 2,
- "tagName": "section",
- "attributes": {},
- "childNodes": [
- { "id": 74, "type": 3, "textContent": "\n " },
- {
- "id": 75,
- "type": 2,
- "tagName": "form",
- "attributes": { "action": "/demo/3" },
- "childNodes": [
- {
- "id": 76,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 77,
- "type": 2,
- "tagName": "h1",
- "attributes": {},
- "childNodes": [
- {
- "id": 78,
- "type": 3,
- "textContent": "Pay for Hogflix"
- }
- ]
- },
- {
- "id": 79,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 80,
- "type": 2,
- "tagName": "label",
- "attributes": {},
- "childNodes": [
- {
- "id": 81,
- "type": 3,
- "textContent": "Credit card number"
- }
- ]
- },
- {
- "id": 82,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 83,
- "type": 2,
- "tagName": "input",
- "attributes": {
- "name": "creditcard",
- "type": "text",
- "class": "form-control",
- "placeholder": "4000 0000 0000 0000"
- },
- "childNodes": []
- },
- {
- "id": 84,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 85,
- "type": 2,
- "tagName": "button",
- "attributes": { "type": "submit" },
- "childNodes": [
- {
- "id": 86,
- "type": 3,
- "textContent": "Pay $10!"
- }
- ]
- },
- { "id": 87, "type": 3, "textContent": "\n " }
- ]
- }
- ]
- },
- {
- "id": 88,
- "type": 3,
- "textContent": "\n \n \n \n \n\n \n\n "
- },
- {
- "id": 89,
- "type": 2,
- "tagName": "script",
- "attributes": {},
- "childNodes": [
- { "id": 90, "type": 3, "textContent": "SCRIPT_PLACEHOLDER" }
- ]
- },
- { "id": 91, "type": 3, "textContent": "\n\n\n\n" }
- ]
- }
- ]
- }
- ]
- }
- ]
- },
- "initialOffset": { "top": 0, "left": 0 }
- },
- "type": 2,
- "timestamp": 1611914073787
- },
- {
- "data": { "source": 1, "positions": [{ "x": 566, "y": 474, "id": 83, "timeOffset": 0 }] },
- "type": 3,
- "timestamp": 1611914074641
- },
- {
- "data": {
- "source": 1,
- "positions": [
- { "x": 568, "y": 471, "id": 83, "timeOffset": -427 },
- { "x": 568, "y": 471, "id": 83, "timeOffset": -297 },
- { "x": 569, "y": 472, "id": 83, "timeOffset": -92 },
- { "x": 576, "y": 480, "id": 83, "timeOffset": -27 }
- ]
- },
- "type": 3,
- "timestamp": 1611914075141
- },
- { "data": { "x": 589, "y": 490, "id": 83, "type": 1, "source": 2 }, "type": 3, "timestamp": 1611914075341 },
- { "data": { "id": 83, "type": 5, "source": 2 }, "type": 3, "timestamp": 1611914075348 },
- { "data": { "x": 589, "y": 490, "id": 83, "type": 0, "source": 2 }, "type": 3, "timestamp": 1611914075442 },
- { "data": { "x": 589, "y": 490, "id": 83, "type": 2, "source": 2 }, "type": 3, "timestamp": 1611914075446 },
- {
- "data": {
- "source": 1,
- "positions": [
- { "x": 584, "y": 488, "id": 83, "timeOffset": -462 },
- { "x": 589, "y": 490, "id": 83, "timeOffset": -318 }
- ]
- },
- "type": 3,
- "timestamp": 1611914075642
- },
- {
- "data": { "id": 83, "text": "1", "source": 5, "isChecked": false },
- "type": 3,
- "timestamp": 1611914076240
- },
- {
- "data": { "id": 83, "text": "12", "source": 5, "isChecked": false },
- "type": 3,
- "timestamp": 1611914076281
- },
- {
- "data": { "id": 83, "text": "123", "source": 5, "isChecked": false },
- "type": 3,
- "timestamp": 1611914076421
- },
- {
- "data": { "id": 83, "text": "1231", "source": 5, "isChecked": false },
- "type": 3,
- "timestamp": 1611914076583
- },
- {
- "data": { "id": 83, "text": "12314", "source": 5, "isChecked": false },
- "type": 3,
- "timestamp": 1611914076678
- },
- { "data": {}, "type": 0, "timestamp": 1611914077869 },
- { "data": {}, "type": 1, "timestamp": 1611914079313 },
- {
- "data": { "href": "http://localhost:8000/demo/3?creditcard=12314143", "width": 1276, "height": 1300 },
- "type": 4,
- "timestamp": 1611914079317
- },
- {
- "data": {
- "node": {
- "id": 1,
- "type": 0,
- "childNodes": [
- {
- "id": 2,
- "type": 2,
- "tagName": "html",
- "attributes": {},
- "childNodes": [
- {
- "id": 3,
- "type": 2,
- "tagName": "head",
- "attributes": {},
- "childNodes": [
- { "id": 4, "type": 3, "textContent": "\n " },
- {
- "id": 5,
- "type": 2,
- "tagName": "title",
- "attributes": {},
- "childNodes": [{ "id": 6, "type": 3, "textContent": "Hogflix" }]
- },
- { "id": 7, "type": 3, "textContent": "\n " },
- {
- "id": 8,
- "type": 2,
- "tagName": "script",
- "attributes": {
- "src": "http://localhost:8000/static/recorder.js?v=1.8.3",
- "type": "text/javascript"
- },
- "childNodes": []
- },
- {
- "id": 9,
- "type": 2,
- "tagName": "script",
- "attributes": { "src": "http://localhost:8000/static/array.js" },
- "childNodes": []
- },
- { "id": 10, "type": 3, "textContent": "\n " },
- {
- "id": 11,
- "type": 2,
- "tagName": "script",
- "attributes": {},
- "childNodes": [
- { "id": 12, "type": 3, "textContent": "SCRIPT_PLACEHOLDER" }
- ]
- },
- { "id": 13, "type": 3, "textContent": "\n " },
- {
- "id": 14,
- "type": 2,
- "tagName": "link",
- "attributes": {
- "rel": "stylesheet",
- "href": "https://cdn.jsdelivr.net/npm/rrweb@latest/dist/rrweb.min.css"
- },
- "childNodes": []
- },
- { "id": 15, "type": 3, "textContent": "\n " },
- {
- "id": 16,
- "type": 2,
- "tagName": "script",
- "attributes": {
- "src": "https://cdn.jsdelivr.net/npm/rrweb@latest/dist/rrweb.min.js"
- },
- "childNodes": []
- },
- { "id": 17, "type": 3, "textContent": "\n " },
- {
- "id": 18,
- "type": 2,
- "tagName": "link",
- "attributes": {
- "rel": "stylesheet",
- "href": "https://unpkg.com/mvp.css"
- },
- "childNodes": []
- },
- { "id": 19, "type": 3, "textContent": "\n\n " },
- {
- "id": 20,
- "type": 2,
- "tagName": "style",
- "attributes": {},
- "childNodes": [
- {
- "id": 21,
- "type": 3,
- "isStyle": true,
- "textContent": "\n :root {\n --color: #e9130c !important;\n --color-accent: #118bee15 !important;\n --color-bg: rgb(37, 37, 37) !important;\n --color-bg-secondary: #e9e9e9 !important;\n --color-secondary: #fa0303 !important;\n --color-secondary-accent: #eb1c1c0b !important;\n --color-shadow: #a8a8a8 !important;\n --color-text: rgb(231, 231, 231) !important;\n --color-text-secondary: rgb(212, 212, 212) !important;\n }\n\n video {\n max-width: 600px !important;\n margin: auto;\n display: block;\n }\n\n input {\n background-color: rgb(59, 59, 59);\n border-color: rgb(54, 54, 54);\n color: #fff;\n }\n "
- }
- ]
- },
- { "id": 22, "type": 3, "textContent": "\n" }
- ]
- },
- { "id": 23, "type": 3, "textContent": "\n\n" },
- {
- "id": 24,
- "type": 2,
- "tagName": "body",
- "attributes": {},
- "childNodes": [
- { "id": 25, "type": 3, "textContent": "\n\n " },
- {
- "id": 26,
- "type": 2,
- "tagName": "main",
- "attributes": {},
- "childNodes": [
- { "id": 27, "type": 3, "textContent": "\n " },
- {
- "id": 28,
- "type": 2,
- "tagName": "header",
- "attributes": {},
- "childNodes": [
- { "id": 29, "type": 3, "textContent": "\n " },
- {
- "id": 30,
- "type": 2,
- "tagName": "article",
- "attributes": {},
- "childNodes": [
- {
- "id": 31,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 32,
- "type": 2,
- "tagName": "aside",
- "attributes": {},
- "childNodes": [
- {
- "id": 33,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 34,
- "type": 2,
- "tagName": "p",
- "attributes": {},
- "childNodes": [
- {
- "id": 35,
- "type": 3,
- "textContent": "Welcome to the PostHog demo environment!"
- }
- ]
- },
- {
- "id": 36,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 37,
- "type": 2,
- "tagName": "small",
- "attributes": {},
- "childNodes": [
- {
- "id": 38,
- "type": 3,
- "textContent": "\n By going through this demo you can simulate a user going through a signup funnel. "
- },
- {
- "id": 39,
- "type": 2,
- "tagName": "a",
- "attributes": {
- "href": "http://localhost:8000/"
- },
- "childNodes": [
- {
- "id": 40,
- "type": 3,
- "textContent": "You can\n explore the data in PostHog within project \"Hogflix Demo App\"."
- }
- ]
- },
- {
- "id": 41,
- "type": 3,
- "textContent": "\n "
- }
- ]
- },
- {
- "id": 42,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 43,
- "type": 2,
- "tagName": "p",
- "attributes": {},
- "childNodes": [
- {
- "id": 44,
- "type": 3,
- "textContent": " "
- }
- ]
- },
- {
- "id": 45,
- "type": 3,
- "textContent": "\n "
- }
- ]
- },
- {
- "id": 46,
- "type": 3,
- "textContent": "\n "
- }
- ]
- },
- { "id": 47, "type": 3, "textContent": "\n " },
- {
- "id": 48,
- "type": 2,
- "tagName": "nav",
- "attributes": {},
- "childNodes": [
- {
- "id": 49,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 50,
- "type": 2,
- "tagName": "a",
- "attributes": {
- "href": "http://localhost:8000/demo",
- "style": "color: rgb(197, 197, 197)"
- },
- "childNodes": [
- {
- "id": 51,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 52,
- "type": 2,
- "tagName": "h3",
- "attributes": {},
- "childNodes": [
- {
- "id": 53,
- "type": 3,
- "textContent": "Hogflix"
- }
- ]
- },
- {
- "id": 54,
- "type": 3,
- "textContent": "\n "
- }
- ]
- },
- {
- "id": 55,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 56,
- "type": 2,
- "tagName": "ul",
- "attributes": {},
- "childNodes": [
- {
- "id": 57,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 58,
- "type": 2,
- "tagName": "li",
- "attributes": {},
- "childNodes": [
- {
- "id": 59,
- "type": 2,
- "tagName": "a",
- "attributes": {
- "href": "http://localhost:8000/demo/1"
- },
- "childNodes": [
- {
- "id": 60,
- "type": 3,
- "textContent": "Sign Up"
- }
- ]
- }
- ]
- },
- {
- "id": 61,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 62,
- "type": 2,
- "tagName": "li",
- "attributes": {},
- "childNodes": [
- {
- "id": 63,
- "type": 2,
- "tagName": "a",
- "attributes": {
- "href": "http://localhost:8000/demo/2"
- },
- "childNodes": [
- {
- "id": 64,
- "type": 3,
- "textContent": "Payment"
- }
- ]
- }
- ]
- },
- {
- "id": 65,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 66,
- "type": 2,
- "tagName": "li",
- "attributes": {},
- "childNodes": [
- {
- "id": 67,
- "type": 2,
- "tagName": "a",
- "attributes": {
- "href": "http://localhost:8000/demo/3"
- },
- "childNodes": [
- {
- "id": 68,
- "type": 3,
- "textContent": "Movies"
- }
- ]
- }
- ]
- },
- {
- "id": 69,
- "type": 3,
- "textContent": "\n "
- }
- ]
- },
- {
- "id": 70,
- "type": 3,
- "textContent": "\n "
- }
- ]
- },
- { "id": 71, "type": 3, "textContent": "\n " }
- ]
- },
- {
- "id": 72,
- "type": 3,
- "textContent": "\n\n \n\n \n \n \n "
- },
- {
- "id": 73,
- "type": 2,
- "tagName": "section",
- "attributes": { "style": "margin-top: -100px" },
- "childNodes": [
- { "id": 74, "type": 3, "textContent": "\n " },
- {
- "id": 75,
- "type": 2,
- "tagName": "header",
- "attributes": {},
- "childNodes": [
- {
- "id": 76,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 77,
- "type": 2,
- "tagName": "h1",
- "attributes": {},
- "childNodes": [
- {
- "id": 78,
- "type": 3,
- "textContent": "Watch some Flix!"
- }
- ]
- },
- {
- "id": 79,
- "type": 3,
- "textContent": "\n "
- }
- ]
- },
- { "id": 80, "type": 3, "textContent": "\n " },
- {
- "id": 81,
- "type": 2,
- "tagName": "aside",
- "attributes": {},
- "childNodes": [
- {
- "id": 82,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 83,
- "type": 2,
- "tagName": "img",
- "attributes": {
- "src": "https://m.media-amazon.com/images/M/MV5BNDc1ZTlmOWUtNDY2YS00OGU5LTg2MTYtYTk2MmQzMGE2NzUwXkEyXkFqcGdeQXVyODkzNTgxMDg@._V1_SY1000_CR0,0,675,1000_AL_.jpg",
- "class": "card-img-top"
- },
- "childNodes": []
- },
- {
- "id": 84,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 85,
- "type": 2,
- "tagName": "div",
- "attributes": { "class": "card-body" },
- "childNodes": [
- {
- "id": 86,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 87,
- "type": 2,
- "tagName": "h5",
- "attributes": { "class": "card-title" },
- "childNodes": [
- {
- "id": 88,
- "type": 3,
- "textContent": "Sonic The Hedgehog (2020)"
- }
- ]
- },
- {
- "id": 89,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 90,
- "type": 2,
- "tagName": "p",
- "attributes": { "class": "card-text" },
- "childNodes": [
- {
- "id": 91,
- "type": 3,
- "textContent": "Based on the global blockbuster videogame franchise from Sega, SONIC THE\n HEDGEHOG tells the story of the world's speediest hedgehog as he embraces his new home on Earth.\n "
- }
- ]
- },
- {
- "id": 92,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 93,
- "type": 2,
- "tagName": "a",
- "attributes": {
- "href": "https://netflix.com/",
- "target": "_blank"
- },
- "childNodes": [
- {
- "id": 94,
- "type": 2,
- "tagName": "button",
- "attributes": {},
- "childNodes": [
- {
- "id": 95,
- "type": 3,
- "textContent": "Watch now!"
- }
- ]
- }
- ]
- },
- {
- "id": 96,
- "type": 3,
- "textContent": "\n "
- }
- ]
- },
- {
- "id": 97,
- "type": 3,
- "textContent": "\n "
- }
- ]
- },
- { "id": 98, "type": 3, "textContent": "\n " },
- {
- "id": 99,
- "type": 2,
- "tagName": "aside",
- "attributes": {},
- "childNodes": [
- {
- "id": 100,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 101,
- "type": 2,
- "tagName": "img",
- "attributes": {
- "src": "https://m.media-amazon.com/images/M/MV5BMTc0Mzg3OTQyN15BMl5BanBnXkFtZTcwODA2OTc4NQ@@._V1_SY1000_CR0,0,677,1000_AL_.jpg",
- "class": "card-img-top"
- },
- "childNodes": []
- },
- {
- "id": 102,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 103,
- "type": 2,
- "tagName": "div",
- "attributes": { "class": "card-body" },
- "childNodes": [
- {
- "id": 104,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 105,
- "type": 2,
- "tagName": "h5",
- "attributes": { "class": "card-title" },
- "childNodes": [
- {
- "id": 106,
- "type": 3,
- "textContent": "The Hedgehog (2009)"
- }
- ]
- },
- {
- "id": 107,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 108,
- "type": 2,
- "tagName": "p",
- "attributes": { "class": "card-text" },
- "childNodes": [
- {
- "id": 109,
- "type": 3,
- "textContent": "While planning her suicide, a precocious 11-year-old (Garance Le Guillermic)\n befriends a new neighbor (Togo Igawa) and a prickly recluse (Josiane Balasko)."
- }
- ]
- },
- {
- "id": 110,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 111,
- "type": 2,
- "tagName": "a",
- "attributes": {
- "href": "https://netflix.com/",
- "target": "_blank"
- },
- "childNodes": [
- {
- "id": 112,
- "type": 2,
- "tagName": "button",
- "attributes": {},
- "childNodes": [
- {
- "id": 113,
- "type": 3,
- "textContent": "Watch now!"
- }
- ]
- }
- ]
- },
- {
- "id": 114,
- "type": 3,
- "textContent": "\n "
- }
- ]
- },
- {
- "id": 115,
- "type": 3,
- "textContent": "\n "
- }
- ]
- },
- { "id": 116, "type": 3, "textContent": "\n " },
- {
- "id": 117,
- "type": 2,
- "tagName": "aside",
- "attributes": {},
- "childNodes": [
- {
- "id": 118,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 119,
- "type": 2,
- "tagName": "img",
- "attributes": {
- "src": "https://posthog-static-files.s3.us-east-2.amazonaws.com/Product-Assets/Big_buck_bunny_poster_big.jpg",
- "class": "card-img-top"
- },
- "childNodes": []
- },
- {
- "id": 120,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 121,
- "type": 2,
- "tagName": "div",
- "attributes": { "class": "card-body" },
- "childNodes": [
- {
- "id": 122,
- "type": 2,
- "tagName": "br",
- "attributes": {},
- "childNodes": []
- },
- {
- "id": 123,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 124,
- "type": 2,
- "tagName": "h5",
- "attributes": { "class": "card-title" },
- "childNodes": [
- {
- "id": 125,
- "type": 3,
- "textContent": "Big Buck Bunny (2008)"
- }
- ]
- },
- {
- "id": 126,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 127,
- "type": 2,
- "tagName": "p",
- "attributes": { "class": "card-text" },
- "childNodes": [
- {
- "id": 128,
- "type": 3,
- "textContent": "A large and lovable rabbit deals with three tiny bullies, led by a flying\n squirrel, who are determined to squelch his happiness."
- }
- ]
- },
- {
- "id": 129,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 130,
- "type": 2,
- "tagName": "a",
- "attributes": {
- "href": "http://localhost:8000/demo/4"
- },
- "childNodes": [
- {
- "id": 131,
- "type": 2,
- "tagName": "button",
- "attributes": {},
- "childNodes": [
- {
- "id": 132,
- "type": 3,
- "textContent": "Watch now!"
- }
- ]
- }
- ]
- },
- {
- "id": 133,
- "type": 3,
- "textContent": "\n "
- }
- ]
- },
- {
- "id": 134,
- "type": 3,
- "textContent": "\n "
- }
- ]
- },
- { "id": 135, "type": 3, "textContent": "\n " }
- ]
- },
- {
- "id": 136,
- "type": 3,
- "textContent": "\n\n\n \n \n\n \n\n "
- },
- {
- "id": 137,
- "type": 2,
- "tagName": "script",
- "attributes": {},
- "childNodes": [
- {
- "id": 138,
- "type": 3,
- "textContent": "SCRIPT_PLACEHOLDER"
- }
- ]
- },
- { "id": 139, "type": 3, "textContent": "\n\n\n\n" }
- ]
- }
- ]
- }
- ]
- }
- ]
- },
- "initialOffset": { "top": 0, "left": 0 }
- },
- "type": 2,
- "timestamp": 1611914079333
- },
- {
- "data": { "source": 1, "positions": [{ "x": 513, "y": 415, "id": 101, "timeOffset": 0 }] },
- "type": 3,
- "timestamp": 1611914079341
- },
- {
- "data": { "source": 1, "positions": [{ "x": 516, "y": 416, "id": 101, "timeOffset": -19 }] },
- "type": 3,
- "timestamp": 1611914079841
- },
- {
- "data": {
- "source": 1,
- "positions": [
- { "x": 844, "y": 400, "id": 117, "timeOffset": -455 },
- { "x": 982, "y": 341, "id": 75, "timeOffset": -388 },
- { "x": 982, "y": 324, "id": 75, "timeOffset": -339 },
- { "x": 958, "y": 217, "id": 28, "timeOffset": -289 },
- { "x": 948, "y": 144, "id": 58, "timeOffset": -239 },
- { "x": 946, "y": 97, "id": 39, "timeOffset": -189 },
- { "x": 939, "y": 67, "id": 34, "timeOffset": -138 },
- { "x": 940, "y": 68, "id": 34, "timeOffset": -52 }
- ]
- },
- "type": 3,
- "timestamp": 1611914080341
- },
- {
- "data": {
- "source": 1,
- "positions": [
- { "x": 988, "y": 115, "id": 39, "timeOffset": -488 },
- { "x": 994, "y": 131, "id": 48, "timeOffset": -438 },
- { "x": 1002, "y": 152, "id": 56, "timeOffset": -371 },
- { "x": 1002, "y": 153, "id": 56, "timeOffset": -144 },
- { "x": 991, "y": 159, "id": 59, "timeOffset": -89 },
- { "x": 988, "y": 160, "id": 59, "timeOffset": -3 }
- ]
- },
- "type": 3,
- "timestamp": 1611914080841
- },
- { "data": { "x": 987, "y": 160, "id": 59, "type": 1, "source": 2 }, "type": 3, "timestamp": 1611914080869 },
- { "data": { "id": 59, "type": 5, "source": 2 }, "type": 3, "timestamp": 1611914080875 },
- { "data": {}, "type": 0, "timestamp": 1611914082476 },
- { "data": {}, "type": 1, "timestamp": 1611914082484 },
- {
- "data": { "href": "http://localhost:8000/demo/3", "width": 1276, "height": 1300 },
- "type": 4,
- "timestamp": 1611914082485
- },
- {
- "data": {
- "node": {
- "id": 1,
- "type": 0,
- "childNodes": [
- {
- "id": 2,
- "type": 2,
- "tagName": "html",
- "attributes": {},
- "childNodes": [
- {
- "id": 3,
- "type": 2,
- "tagName": "head",
- "attributes": {},
- "childNodes": [
- { "id": 4, "type": 3, "textContent": "\n " },
- {
- "id": 5,
- "type": 2,
- "tagName": "title",
- "attributes": {},
- "childNodes": [{ "id": 6, "type": 3, "textContent": "Hogflix" }]
- },
- { "id": 7, "type": 3, "textContent": "\n " },
- {
- "id": 8,
- "type": 2,
- "tagName": "script",
- "attributes": {
- "src": "http://localhost:8000/static/recorder.js?v=1.8.3",
- "type": "text/javascript"
- },
- "childNodes": []
- },
- {
- "id": 9,
- "type": 2,
- "tagName": "script",
- "attributes": { "src": "http://localhost:8000/static/array.js" },
- "childNodes": []
- },
- { "id": 10, "type": 3, "textContent": "\n " },
- {
- "id": 11,
- "type": 2,
- "tagName": "script",
- "attributes": {},
- "childNodes": [
- { "id": 12, "type": 3, "textContent": "SCRIPT_PLACEHOLDER" }
- ]
- },
- { "id": 13, "type": 3, "textContent": "\n " },
- {
- "id": 14,
- "type": 2,
- "tagName": "link",
- "attributes": {
- "rel": "stylesheet",
- "href": "https://cdn.jsdelivr.net/npm/rrweb@latest/dist/rrweb.min.css"
- },
- "childNodes": []
- },
- { "id": 15, "type": 3, "textContent": "\n " },
- {
- "id": 16,
- "type": 2,
- "tagName": "script",
- "attributes": {
- "src": "https://cdn.jsdelivr.net/npm/rrweb@latest/dist/rrweb.min.js"
- },
- "childNodes": []
- },
- { "id": 17, "type": 3, "textContent": "\n " },
- {
- "id": 18,
- "type": 2,
- "tagName": "link",
- "attributes": {
- "rel": "stylesheet",
- "href": "https://unpkg.com/mvp.css"
- },
- "childNodes": []
- },
- { "id": 19, "type": 3, "textContent": "\n\n " },
- {
- "id": 20,
- "type": 2,
- "tagName": "style",
- "attributes": {},
- "childNodes": [
- {
- "id": 21,
- "type": 3,
- "isStyle": true,
- "textContent": "\n :root {\n --color: #e9130c !important;\n --color-accent: #118bee15 !important;\n --color-bg: rgb(37, 37, 37) !important;\n --color-bg-secondary: #e9e9e9 !important;\n --color-secondary: #fa0303 !important;\n --color-secondary-accent: #eb1c1c0b !important;\n --color-shadow: #a8a8a8 !important;\n --color-text: rgb(231, 231, 231) !important;\n --color-text-secondary: rgb(212, 212, 212) !important;\n }\n\n video {\n max-width: 600px !important;\n margin: auto;\n display: block;\n }\n\n input {\n background-color: rgb(59, 59, 59);\n border-color: rgb(54, 54, 54);\n color: #fff;\n }\n "
- }
- ]
- },
- { "id": 22, "type": 3, "textContent": "\n" }
- ]
- },
- { "id": 23, "type": 3, "textContent": "\n\n" },
- {
- "id": 24,
- "type": 2,
- "tagName": "body",
- "attributes": {},
- "childNodes": [
- { "id": 25, "type": 3, "textContent": "\n\n " },
- {
- "id": 26,
- "type": 2,
- "tagName": "main",
- "attributes": {},
- "childNodes": [
- { "id": 27, "type": 3, "textContent": "\n " },
- {
- "id": 28,
- "type": 2,
- "tagName": "header",
- "attributes": {},
- "childNodes": [
- { "id": 29, "type": 3, "textContent": "\n " },
- {
- "id": 30,
- "type": 2,
- "tagName": "article",
- "attributes": {},
- "childNodes": [
- {
- "id": 31,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 32,
- "type": 2,
- "tagName": "aside",
- "attributes": {},
- "childNodes": [
- {
- "id": 33,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 34,
- "type": 2,
- "tagName": "p",
- "attributes": {},
- "childNodes": [
- {
- "id": 35,
- "type": 3,
- "textContent": "Welcome to the PostHog demo environment!"
- }
- ]
- },
- {
- "id": 36,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 37,
- "type": 2,
- "tagName": "small",
- "attributes": {},
- "childNodes": [
- {
- "id": 38,
- "type": 3,
- "textContent": "\n By going through this demo you can simulate a user going through a signup funnel. "
- },
- {
- "id": 39,
- "type": 2,
- "tagName": "a",
- "attributes": {
- "href": "http://localhost:8000/"
- },
- "childNodes": [
- {
- "id": 40,
- "type": 3,
- "textContent": "You can\n explore the data in PostHog within project \"Hogflix Demo App\"."
- }
- ]
- },
- {
- "id": 41,
- "type": 3,
- "textContent": "\n "
- }
- ]
- },
- {
- "id": 42,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 43,
- "type": 2,
- "tagName": "p",
- "attributes": {},
- "childNodes": [
- {
- "id": 44,
- "type": 3,
- "textContent": " "
- }
- ]
- },
- {
- "id": 45,
- "type": 3,
- "textContent": "\n "
- }
- ]
- },
- {
- "id": 46,
- "type": 3,
- "textContent": "\n "
- }
- ]
- },
- { "id": 47, "type": 3, "textContent": "\n " },
- {
- "id": 48,
- "type": 2,
- "tagName": "nav",
- "attributes": {},
- "childNodes": [
- {
- "id": 49,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 50,
- "type": 2,
- "tagName": "a",
- "attributes": {
- "href": "http://localhost:8000/demo",
- "style": "color: rgb(197, 197, 197)"
- },
- "childNodes": [
- {
- "id": 51,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 52,
- "type": 2,
- "tagName": "h3",
- "attributes": {},
- "childNodes": [
- {
- "id": 53,
- "type": 3,
- "textContent": "Hogflix"
- }
- ]
- },
- {
- "id": 54,
- "type": 3,
- "textContent": "\n "
- }
- ]
- },
- {
- "id": 55,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 56,
- "type": 2,
- "tagName": "ul",
- "attributes": {},
- "childNodes": [
- {
- "id": 57,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 58,
- "type": 2,
- "tagName": "li",
- "attributes": {},
- "childNodes": [
- {
- "id": 59,
- "type": 2,
- "tagName": "a",
- "attributes": {
- "href": "http://localhost:8000/demo/1"
- },
- "childNodes": [
- {
- "id": 60,
- "type": 3,
- "textContent": "Sign Up"
- }
- ]
- }
- ]
- },
- {
- "id": 61,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 62,
- "type": 2,
- "tagName": "li",
- "attributes": {},
- "childNodes": [
- {
- "id": 63,
- "type": 2,
- "tagName": "a",
- "attributes": {
- "href": "http://localhost:8000/demo/2"
- },
- "childNodes": [
- {
- "id": 64,
- "type": 3,
- "textContent": "Payment"
- }
- ]
- }
- ]
- },
- {
- "id": 65,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 66,
- "type": 2,
- "tagName": "li",
- "attributes": {},
- "childNodes": [
- {
- "id": 67,
- "type": 2,
- "tagName": "a",
- "attributes": {
- "href": "http://localhost:8000/demo/3"
- },
- "childNodes": [
- {
- "id": 68,
- "type": 3,
- "textContent": "Movies"
- }
- ]
- }
- ]
- },
- {
- "id": 69,
- "type": 3,
- "textContent": "\n "
- }
- ]
- },
- {
- "id": 70,
- "type": 3,
- "textContent": "\n "
- }
- ]
- },
- { "id": 71, "type": 3, "textContent": "\n " }
- ]
- },
- {
- "id": 72,
- "type": 3,
- "textContent": "\n\n \n\n \n \n \n "
- },
- {
- "id": 73,
- "type": 2,
- "tagName": "section",
- "attributes": { "style": "margin-top: -100px" },
- "childNodes": [
- { "id": 74, "type": 3, "textContent": "\n " },
- {
- "id": 75,
- "type": 2,
- "tagName": "header",
- "attributes": {},
- "childNodes": [
- {
- "id": 76,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 77,
- "type": 2,
- "tagName": "h1",
- "attributes": {},
- "childNodes": [
- {
- "id": 78,
- "type": 3,
- "textContent": "Watch some Flix!"
- }
- ]
- },
- {
- "id": 79,
- "type": 3,
- "textContent": "\n "
- }
- ]
- },
- { "id": 80, "type": 3, "textContent": "\n " },
- {
- "id": 81,
- "type": 2,
- "tagName": "aside",
- "attributes": {},
- "childNodes": [
- {
- "id": 82,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 83,
- "type": 2,
- "tagName": "img",
- "attributes": {
- "src": "https://m.media-amazon.com/images/M/MV5BNDc1ZTlmOWUtNDY2YS00OGU5LTg2MTYtYTk2MmQzMGE2NzUwXkEyXkFqcGdeQXVyODkzNTgxMDg@._V1_SY1000_CR0,0,675,1000_AL_.jpg",
- "class": "card-img-top"
- },
- "childNodes": []
- },
- {
- "id": 84,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 85,
- "type": 2,
- "tagName": "div",
- "attributes": { "class": "card-body" },
- "childNodes": [
- {
- "id": 86,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 87,
- "type": 2,
- "tagName": "h5",
- "attributes": { "class": "card-title" },
- "childNodes": [
- {
- "id": 88,
- "type": 3,
- "textContent": "Sonic The Hedgehog (2020)"
- }
- ]
- },
- {
- "id": 89,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 90,
- "type": 2,
- "tagName": "p",
- "attributes": { "class": "card-text" },
- "childNodes": [
- {
- "id": 91,
- "type": 3,
- "textContent": "Based on the global blockbuster videogame franchise from Sega, SONIC THE\n HEDGEHOG tells the story of the world's speediest hedgehog as he embraces his new home on Earth.\n "
- }
- ]
- },
- {
- "id": 92,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 93,
- "type": 2,
- "tagName": "a",
- "attributes": {
- "href": "https://netflix.com/",
- "target": "_blank"
- },
- "childNodes": [
- {
- "id": 94,
- "type": 2,
- "tagName": "button",
- "attributes": {},
- "childNodes": [
- {
- "id": 95,
- "type": 3,
- "textContent": "Watch now!"
- }
- ]
- }
- ]
- },
- {
- "id": 96,
- "type": 3,
- "textContent": "\n "
- }
- ]
- },
- {
- "id": 97,
- "type": 3,
- "textContent": "\n "
- }
- ]
- },
- { "id": 98, "type": 3, "textContent": "\n " },
- {
- "id": 99,
- "type": 2,
- "tagName": "aside",
- "attributes": {},
- "childNodes": [
- {
- "id": 100,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 101,
- "type": 2,
- "tagName": "img",
- "attributes": {
- "src": "https://m.media-amazon.com/images/M/MV5BMTc0Mzg3OTQyN15BMl5BanBnXkFtZTcwODA2OTc4NQ@@._V1_SY1000_CR0,0,677,1000_AL_.jpg",
- "class": "card-img-top"
- },
- "childNodes": []
- },
- {
- "id": 102,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 103,
- "type": 2,
- "tagName": "div",
- "attributes": { "class": "card-body" },
- "childNodes": [
- {
- "id": 104,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 105,
- "type": 2,
- "tagName": "h5",
- "attributes": { "class": "card-title" },
- "childNodes": [
- {
- "id": 106,
- "type": 3,
- "textContent": "The Hedgehog (2009)"
- }
- ]
- },
- {
- "id": 107,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 108,
- "type": 2,
- "tagName": "p",
- "attributes": { "class": "card-text" },
- "childNodes": [
- {
- "id": 109,
- "type": 3,
- "textContent": "While planning her suicide, a precocious 11-year-old (Garance Le Guillermic)\n befriends a new neighbor (Togo Igawa) and a prickly recluse (Josiane Balasko)."
- }
- ]
- },
- {
- "id": 110,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 111,
- "type": 2,
- "tagName": "a",
- "attributes": {
- "href": "https://netflix.com/",
- "target": "_blank"
- },
- "childNodes": [
- {
- "id": 112,
- "type": 2,
- "tagName": "button",
- "attributes": {},
- "childNodes": [
- {
- "id": 113,
- "type": 3,
- "textContent": "Watch now!"
- }
- ]
- }
- ]
- },
- {
- "id": 114,
- "type": 3,
- "textContent": "\n "
- }
- ]
- },
- {
- "id": 115,
- "type": 3,
- "textContent": "\n "
- }
- ]
- },
- { "id": 116, "type": 3, "textContent": "\n " },
- {
- "id": 117,
- "type": 2,
- "tagName": "aside",
- "attributes": {},
- "childNodes": [
- {
- "id": 118,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 119,
- "type": 2,
- "tagName": "img",
- "attributes": {
- "src": "https://posthog-static-files.s3.us-east-2.amazonaws.com/Product-Assets/Big_buck_bunny_poster_big.jpg",
- "class": "card-img-top"
- },
- "childNodes": []
- },
- {
- "id": 120,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 121,
- "type": 2,
- "tagName": "div",
- "attributes": { "class": "card-body" },
- "childNodes": [
- {
- "id": 122,
- "type": 2,
- "tagName": "br",
- "attributes": {},
- "childNodes": []
- },
- {
- "id": 123,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 124,
- "type": 2,
- "tagName": "h5",
- "attributes": { "class": "card-title" },
- "childNodes": [
- {
- "id": 125,
- "type": 3,
- "textContent": "Big Buck Bunny (2008)"
- }
- ]
- },
- {
- "id": 126,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 127,
- "type": 2,
- "tagName": "p",
- "attributes": { "class": "card-text" },
- "childNodes": [
- {
- "id": 128,
- "type": 3,
- "textContent": "A large and lovable rabbit deals with three tiny bullies, led by a flying\n squirrel, who are determined to squelch his happiness."
- }
- ]
- },
- {
- "id": 129,
- "type": 3,
- "textContent": "\n "
- },
- {
- "id": 130,
- "type": 2,
- "tagName": "a",
- "attributes": {
- "href": "http://localhost:8000/demo/4"
- },
- "childNodes": [
- {
- "id": 131,
- "type": 2,
- "tagName": "button",
- "attributes": {},
- "childNodes": [
- {
- "id": 132,
- "type": 3,
- "textContent": "Watch now!"
- }
- ]
- }
- ]
- },
- {
- "id": 133,
- "type": 3,
- "textContent": "\n "
- }
- ]
- },
- {
- "id": 134,
- "type": 3,
- "textContent": "\n "
- }
- ]
- },
- { "id": 135, "type": 3, "textContent": "\n " }
- ]
- },
- {
- "id": 136,
- "type": 3,
- "textContent": "\n\n\n \n \n\n \n\n "
- },
- {
- "id": 137,
- "type": 2,
- "tagName": "script",
- "attributes": {},
- "childNodes": [
- {
- "id": 138,
- "type": 3,
- "textContent": "SCRIPT_PLACEHOLDER"
- }
- ]
- },
- { "id": 139, "type": 3, "textContent": "\n\n\n\n" }
- ]
- }
- ]
- }
- ]
- }
- ]
- },
- "initialOffset": { "top": 0, "left": 0 }
- },
- "type": 2,
- "timestamp": 1611914082490
- },
- {
- "data": { "source": 1, "positions": [{ "x": 1120, "y": 164, "id": 67, "timeOffset": 0 }] },
- "type": 3,
- "timestamp": 1611914084433
- },
- {
- "data": {
- "source": 1,
- "positions": [
- { "x": 942, "y": 107, "id": 39, "timeOffset": -445 },
- { "x": 692, "y": 41, "id": 26, "timeOffset": -395 },
- { "x": 272, "y": 1, "id": 24, "timeOffset": -93 },
- { "x": 194, "y": 16, "id": 26, "timeOffset": -28 }
- ]
- },
- "type": 3,
- "timestamp": 1611914084934
- },
- {
- "data": { "source": 1, "positions": [{ "x": 99, "y": 36, "id": 26, "timeOffset": -479 }] },
- "type": 3,
- "timestamp": 1611914085435
- }
- ],
- "person": {
- "id": 737,
- "name": "1774d90b2a432d-06cf818ba37a9e-1e2a1f04-384000-1774d90b2a5870",
- "distinct_ids": ["1774d90b2a432d-06cf818ba37a9e-1e2a1f04-384000-1774d90b2a5870"],
- "properties": {},
- "is_identified": false,
- "created_at": "2021-01-29T09:54:26.598129Z",
- "uuid": "01774d90-baa5-0000-4061-865a81bf1a15"
- },
- "start_time": "2021-01-29T09:54:26.715764Z"
- }
-}
diff --git a/playwright/mocks/events/single_person_events.json b/playwright/mocks/events/single_person_events.json
deleted file mode 100644
index 4a486090d463..000000000000
--- a/playwright/mocks/events/single_person_events.json
+++ /dev/null
@@ -1,132 +0,0 @@
-{
- "next": null,
- "results": [
- {
- "id": "6e190b56-64dd-443d-832f-b889ea2df252",
- "distinct_id": "01779064-53be-000c-683f-23b1a8c8eb4c",
- "properties": {
- "$current_url": "http://hogflix.com/3",
- "$browser": "Firefox",
- "$lib": "web"
- },
- "event": "$pageview",
- "timestamp": "2021-02-11T09:21:30.202993+00:00",
- "person": {
- "distinct_ids": ["01777279-ff1b-0051-1fbd-b89614430f72"],
- "is_identified": true,
- "properties": { "email": "[email protected]" }
- },
- "elements": [],
- "elements_chain": ""
- },
- {
- "id": "fb9e0e59-04aa-42e9-b561-61ecdc258c32",
- "distinct_id": "01779064-53be-000c-683f-23b1a8c8eb4c",
- "properties": {
- "price": 10
- },
- "event": "purchase",
- "timestamp": "2021-02-11T09:21:30.202961+00:00",
- "person": {
- "distinct_ids": ["01777279-ff1b-0051-1fbd-b89614430f72"],
- "is_identified": true,
- "properties": { "email": "[email protected]" }
- },
- "elements": [],
- "elements_chain": ""
- },
- {
- "id": "903ca401-5824-4907-a00a-f6dd0484fde5",
- "distinct_id": "01779064-53be-000c-683f-23b1a8c8eb4c",
- "properties": {
- "$current_url": "http://hogflix.com/2",
- "$browser": "Firefox",
- "$lib": "web",
- "$event_type": "click"
- },
- "event": "$autocapture",
- "timestamp": "2021-02-11T09:21:29.202931+00:00",
- "person": {
- "distinct_ids": ["01777279-ff1b-0051-1fbd-b89614430f72"],
- "is_identified": true,
- "properties": { "email": "[email protected]" }
- },
- "elements": [],
- "elements_chain": ""
- },
- {
- "id": "730ce2d4-f73b-4517-9e9b-743cca25497d",
- "distinct_id": "01779064-53be-000c-683f-23b1a8c8eb4c",
- "properties": {
- "$current_url": "http://hogflix.com/2",
- "$browser": "Firefox",
- "$lib": "web"
- },
- "event": "$pageview",
- "timestamp": "2021-02-11T09:21:00.202901+00:00",
- "person": {
- "distinct_ids": ["01777279-ff1b-0051-1fbd-b89614430f72"],
- "is_identified": true,
- "properties": { "email": "[email protected]" }
- },
- "elements": [],
- "elements_chain": ""
- },
- {
- "id": "ef872ab0-56c5-4e46-bc87-b3bebbf0274b",
- "distinct_id": "01779064-53be-000c-683f-23b1a8c8eb4c",
- "properties": {
- "$current_url": "http://hogflix.com/1",
- "$browser": "Firefox",
- "$lib": "web",
- "$event_type": "click"
- },
- "event": "$autocapture",
- "timestamp": "2021-02-11T09:20:59.202869+00:00",
- "person": {
- "distinct_ids": ["01777279-ff1b-0051-1fbd-b89614430f72"],
- "is_identified": true,
- "properties": { "email": "[email protected]" }
- },
- "elements": [],
- "elements_chain": ""
- },
- {
- "id": "b0cfbc8d-203d-4af7-b663-2308f9fab579",
- "distinct_id": "01779064-53be-000c-683f-23b1a8c8eb4c",
- "properties": {
- "$current_url": "http://hogflix.com",
- "$browser": "Firefox",
- "$lib": "web",
- "$event_type": "click"
- },
- "event": "$autocapture",
- "timestamp": "2021-02-11T09:20:44.202832+00:00",
- "person": {
- "distinct_ids": ["01777279-ff1b-0051-1fbd-b89614430f72"],
- "is_identified": true,
- "properties": { "email": "[email protected]" }
- },
- "elements": [],
- "elements_chain": ""
- },
- {
- "id": "96b47179-4ab2-43da-94d8-8df753b7bb3d",
- "distinct_id": "01779064-53be-000c-683f-23b1a8c8eb4c",
- "properties": {
- "$current_url": "http://hogflix.com",
- "$browser": "Firefox",
- "$lib": "web"
- },
- "event": "$pageview",
- "timestamp": "2021-02-11T09:20:30.202779+00:00",
- "person": {
- "distinct_ids": ["01777279-ff1b-0051-1fbd-b89614430f72"],
- "is_identified": true,
- "properties": { "email": "[email protected]" }
- },
- "elements": [],
- "elements_chain": ""
- }
- ]
-}
diff --git a/playwright/mocks/logs/logs_query_response.json b/playwright/mocks/logs/logs_query_response.json
deleted file mode 100644
index 0dc25edde4e2..000000000000
--- a/playwright/mocks/logs/logs_query_response.json
+++ /dev/null
@@ -1,64 +0,0 @@
-{
- "results": [
- {
- "uuid": "test-log-1",
- "trace_id": "trace-abc123",
- "span_id": "span-def456",
- "body": "User authentication successful",
- "attributes": {
- "user_id": "user-123"
- },
- "timestamp": "2024-01-15T10:00:00.000Z",
- "observed_timestamp": "2024-01-15T10:00:00.100Z",
- "severity_text": "info",
- "severity_number": 9,
- "level": "info",
- "resource_attributes": {
- "service.name": "api-service"
- },
- "instrumentation_scope": "posthog.api",
- "event_name": "log"
- },
- {
- "uuid": "test-log-2",
- "trace_id": "trace-xyz789",
- "span_id": "span-uvw012",
- "body": "Database connection failed: timeout after 30s",
- "attributes": {
- "db_host": "postgres-primary",
- "error_code": "ETIMEDOUT"
- },
- "timestamp": "2024-01-15T10:01:00.000Z",
- "observed_timestamp": "2024-01-15T10:01:00.050Z",
- "severity_text": "error",
- "severity_number": 17,
- "level": "error",
- "resource_attributes": {
- "service.name": "api-service"
- },
- "instrumentation_scope": "posthog.db",
- "event_name": "log"
- },
- {
- "uuid": "test-log-3",
- "trace_id": "trace-lmn345",
- "span_id": "span-opq678",
- "body": "Page view event processed",
- "attributes": {
- "event_type": "$pageview"
- },
- "timestamp": "2024-01-15T10:02:00.000Z",
- "observed_timestamp": "2024-01-15T10:02:00.025Z",
- "severity_text": "debug",
- "severity_number": 5,
- "level": "debug",
- "resource_attributes": {
- "service.name": "web-frontend"
- },
- "instrumentation_scope": "posthog.events",
- "event_name": "log"
- }
- ],
- "hasMore": false,
- "nextCursor": null
-}
diff --git a/playwright/mocks/logs/logs_sparkline_response.json b/playwright/mocks/logs/logs_sparkline_response.json
deleted file mode 100644
index fe51488c7066..000000000000
--- a/playwright/mocks/logs/logs_sparkline_response.json
+++ /dev/null
@@ -1 +0,0 @@
-[]
diff --git a/playwright/mocks/logs/logs_values_response.json b/playwright/mocks/logs/logs_values_response.json
deleted file mode 100644
index 69e13bdc6d12..000000000000
--- a/playwright/mocks/logs/logs_values_response.json
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "results": [
- { "name": "api-service" },
- { "name": "web-frontend" },
- { "name": "worker-service" },
- { "name": "ingestion-pipeline" }
- ],
- "refreshing": false
-}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 58d5e4171a7e..69ded06f8d43 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -3192,6 +3192,10 @@ importers:
react:
specifier: 18.3.1
version: 18.3.1
+ devDependencies:
+ kea-test-utils:
+ specifier: 'catalog:'
products/endpoints:
dependencies:
diff --git a/products/early_access_features/frontend/earlyAccessFeatureLogic.test.ts b/products/early_access_features/frontend/earlyAccessFeatureLogic.test.ts
new file mode 100644
index 000000000000..7123be348268
--- /dev/null
+++ b/products/early_access_features/frontend/earlyAccessFeatureLogic.test.ts
@@ -0,0 +1,142 @@
+import { MOCK_TEAM_ID } from 'lib/api.mock'
+
+import { router } from 'kea-router'
+/* oxlint-disable react-hooks/rules-of-hooks -- useMocks is a test helper, not a React hook */
+import { expectLogic } from 'kea-test-utils'
+
+import { useMocks } from '~/mocks/jest'
+import { initKeaTests } from '~/test/init'
+import { EarlyAccessFeatureStage, EarlyAccessFeatureType, FeatureFlagBasicType } from '~/types'
+
+import { earlyAccessFeatureLogic } from './earlyAccessFeatureLogic'
+import { earlyAccessFeaturesLogic } from './earlyAccessFeaturesLogic'
+
+const FEATURE_FLAG: FeatureFlagBasicType = {
+ id: 1,
+ team_id: MOCK_TEAM_ID,
+ key: 'my-flag',
+ name: '',
+ filters: { groups: [] },
+ deleted: false,
+ active: true,
+ ensure_experience_continuity: null,
+}
+
+const mockFeature = (overrides: Partial<EarlyAccessFeatureType> = {}): EarlyAccessFeatureType => ({
+ id: 'abc-123',
+ feature_flag: FEATURE_FLAG,
+ name: 'My feature',
+ description: '',
+ stage: EarlyAccessFeatureStage.Draft,
+ documentation_url: '',
+ created_at: '2024-01-01T00:00:00Z',
+ ...overrides,
+})
+
+// Covers the create -> save-as-draft -> edit -> delete UI wiring the deleted early-access
+// Playwright spec used to guard. The regressions are real: a save that silently POSTs nothing
+// (or to the wrong endpoint), an Edit toggle that never reaches Save, or a delete that leaves the
+// feature in the list and the user stranded on a dead detail page. These assert the observable
+// results — the request body, the mode flag the Edit/Save button reads, and the navigation — not
+// the choreography that produces them.
+describe('earlyAccessFeatureLogic', () => {
+ let logic: ReturnType<typeof earlyAccessFeatureLogic.build>
+
+ beforeEach(() => {
+ initKeaTests()
+ })
+
+ afterEach(() => {
+ logic?.unmount()
+ })
+
+ it('saves a new feature as draft and navigates to it', async () => {
+ let createBody: any = null
+ useMocks({
+ post: {
+ '/api/projects/:team_id/early_access_feature': async ({ request }) => {
+ createBody = await request.json()
+ return [201, mockFeature({ id: 'created-id', name: createBody.name })]
+ },
+ },
+ })
+
+ logic = earlyAccessFeatureLogic({ id: 'new' })
+ logic.mount()
+ logic.actions.setEarlyAccessFeatureValue('name', 'My new feature')
+
+ await expectLogic(logic, () => {
+ logic.actions.submitEarlyAccessFeature()
+ }).toDispatchActions(['saveEarlyAccessFeature', 'saveEarlyAccessFeatureSuccess'])
+
+ // Draft is the default stage — this is the "save as draft" path.
+ expect(createBody).toMatchObject({
+ name: 'My new feature',
+ stage: EarlyAccessFeatureStage.Draft,
+ _create_in_folder: 'Unfiled/Early Access Features',
+ })
+ expect(router.values.location.pathname).toMatch(/\/early_access_features\/created-id$/)
+ })
+
+ it('toggles edit mode and updates an existing feature', async () => {
+ let updateBody: any = null
+ useMocks({
+ get: {
+ '/api/projects/:team_id/early_access_feature/:id': mockFeature(),
+ },
+ patch: {
+ '/api/projects/:team_id/early_access_feature/:id': async ({ request }) => {
+ updateBody = await request.json()
+ return [200, mockFeature({ name: updateBody.name })]
+ },
+ },
+ })
+
+ logic = earlyAccessFeatureLogic({ id: 'abc-123' })
+ logic.mount()
+ await expectLogic(logic).toDispatchActions(['loadEarlyAccessFeatureSuccess'])
+
+ expect(logic.values.isEditingFeature).toBe(false)
+ logic.actions.editFeature(true)
+ expect(logic.values.isEditingFeature).toBe(true)
+
+ logic.actions.setEarlyAccessFeatureValue('name', 'Renamed feature')
+ await expectLogic(logic, () => {
+ logic.actions.submitEarlyAccessFeature()
+ }).toDispatchActions(['saveEarlyAccessFeature', 'saveEarlyAccessFeatureSuccess'])
+
+ expect(updateBody).toMatchObject({ name: 'Renamed feature' })
+ // A successful save drops the scene back out of edit mode.
+ expect(logic.values.isEditingFeature).toBe(false)
+ })
+
+ it('deletes a feature, removes it from the list, and returns to the list page', async () => {
+ let deleted = false
+ useMocks({
+ get: {
+ '/api/projects/:team_id/early_access_feature/:id': mockFeature(),
+ },
+ delete: {
+ '/api/projects/:team_id/early_access_feature/:id': () => {
+ deleted = true
+ return [204, {}]
+ },
+ },
+ })
+
+ earlyAccessFeaturesLogic.mount()
+ earlyAccessFeaturesLogic.actions.loadEarlyAccessFeaturesSuccess([mockFeature()])
+
+ logic = earlyAccessFeatureLogic({ id: 'abc-123' })
+ logic.mount()
+ await expectLogic(logic).toDispatchActions(['loadEarlyAccessFeatureSuccess'])
+
+ await expectLogic(logic, () => {
+ logic.actions.deleteEarlyAccessFeature('abc-123')
+ }).toFinishAllListeners()
+
+ expect(deleted).toBe(true)
+ expect(earlyAccessFeaturesLogic.values.earlyAccessFeatures).toEqual([])
+ expect(router.values.location.pathname).toMatch(/\/early_access_features$/)
+ })
+})
diff --git a/products/early_access_features/package.json b/products/early_access_features/package.json
index 7fe8fcd9ba54..ee8af1c0bd5e 100644
--- a/products/early_access_features/package.json
+++ b/products/early_access_features/package.json
@@ -10,6 +10,9 @@
"kea-router": "catalog:",
"kea-subscriptions": "catalog:"
},
+ "devDependencies": {
+ "kea-test-utils": "catalog:"
+ },
"peerDependencies": {
"@posthog/icons": "catalog:",
"@storybook/react": "catalog:",
diff --git a/products/surveys/backend/api/test/test_survey.py b/products/surveys/backend/api/test/test_survey.py
index de74e899c01b..d8f5bd77245f 100644
--- a/products/surveys/backend/api/test/test_survey.py
+++ b/products/surveys/backend/api/test/test_survey.py
@@ -4392,6 +4392,21 @@ class TestSurveyQuestionValidationWithEnterpriseFeatures(APIBaseTest):
assert response.status_code == status.HTTP_201_CREATED, response_data
assert response_data["appearance"]["surveyPopupDelaySeconds"] == 6000
+ def test_create_survey_with_responses_limit(self):
+ response = self.client.post(
+ f"/api/projects/{self.team.id}/surveys/",
+ data={
+ "name": "Notebooks beta release survey",
+ "type": "popover",
+ "responses_limit": 228,
+ },
+ format="json",
+ )
+ response_data = response.json()
+ assert response.status_code == status.HTTP_201_CREATED, response_data
+ assert response_data["responses_limit"] == 228
+ assert Survey.objects.get(id=response_data["id"]).responses_limit == 228
+
def test_validate_survey_popup_delay(self):
response = self.client.post(
f"/api/projects/{self.team.id}/surveys/",
diff --git a/products/surveys/frontend/e2e/crud.spec.ts b/products/surveys/frontend/e2e/crud.spec.ts
index 8c3e4166b93c..fbd966ee79fa 100644
--- a/products/surveys/frontend/e2e/crud.spec.ts
+++ b/products/surveys/frontend/e2e/crud.spec.ts
@@ -2,28 +2,6 @@ import { randomString } from '@playwright-utils'
import { PlaywrightWorkspaceSetupResult, expect, test } from '@playwright-utils/workspace-test-base'
import { Page } from '@playwright/test'
-async function deleteSurvey(page: Page, name: string): Promise<void> {
- // Only archived surveys (or drafts) expose the "Delete permanently" action.
- await page.locator('[data-attr=open-context-panel-button]').first().click()
- await page.locator('[data-attr=survey-archive]').click()
-
- const archiveDialog = page.locator('.LemonModal__layout').filter({ hasText: 'Archive this survey?' })
- await expect(archiveDialog).toBeVisible()
- // The confirm button reads "Archive" when stopped but "Stop and archive" if the
- // dialog still sees the survey as running (end_date not yet propagated), so match both.
- await archiveDialog.getByRole('button', { name: /^(Archive|Stop and archive)$/ }).click()
- await expect(archiveDialog).not.toBeVisible()
-
- // Context menu is open again after archiving, so we can click "Delete permanently" right away
- await page.locator('[data-attr=survey-delete]').click()
-
- const deleteDialog = page.locator('.LemonModal__layout').filter({ hasText: 'Permanently delete this survey?' })
- await expect(deleteDialog).toBeVisible()
- await deleteDialog.getByRole('button', { name: 'Delete permanently' }).click()
-
- await expect(page.locator(`[data-row-key="${name}"]`)).not.toBeVisible()
-}
-
async function expectNoToastErrors(page: Page): Promise<void> {
const toastErrors = await page.locator('[data-attr="toast-error"]').all()
if (toastErrors.length > 0) {
@@ -31,34 +9,11 @@ async function expectNoToastErrors(page: Page): Promise<void> {
}
}
-async function launchSurveyEvenIfDisabled(page: Page): Promise<void> {
- // check if page.getByText('Surveys are currently disabled') is visible
- if (await page.getByText('Surveys are currently disabled').isVisible()) {
- await page.getByRole('button', { name: 'Configure' }).click()
- await page.getByTestId('opt-in-surveys-switch').click()
- await page.getByRole('button', { name: 'Done' }).click()
- }
-
- // The launch control is now a split button, so two elements carry data-attr="launch-survey"
- // ("Launch" and "Launch survey"). Target the primary "Launch" button explicitly.
- await page.getByRole('button', { name: 'Launch', exact: true }).click()
- await expect(page.locator('.LemonModal__layout')).toBeVisible()
- await expect(page.getByText('Launch this survey?')).toBeVisible()
- const launchResponsePromise = page.waitForResponse(
- (resp) => resp.url().includes('/surveys') && resp.request().method() === 'PATCH'
- )
- await page.locator('.LemonModal__footer').getByRole('button', { name: 'Launch' }).click()
- await launchResponsePromise
-}
-
-// CI is too slow, these all fail when run in parallel, will try to find a better solution soon
-test.describe.configure({ mode: 'serial' })
-
test.describe('CRUD Survey', () => {
let name: string
let workspace: PlaywrightWorkspaceSetupResult | null = null
- // Keep demo data: one test targets the `email` person property in the taxonomic filter.
+ // Keep demo data: the test targets the `email` person property in the taxonomic filter.
test.beforeAll(async ({ playwrightSetup }) => {
workspace = await playwrightSetup.createWorkspace({ skip_onboarding: true })
})
@@ -69,7 +24,9 @@ test.describe('CRUD Survey', () => {
await page.goToMenuItem('surveys')
})
- test('creates, launches, edits and deletes new survey', async ({ page }) => {
+ test('rating question type, scale, and display-condition targeting update the editor and preview', async ({
+ page,
+ }) => {
await expect(page.locator('h1')).toContainText('Surveys')
await expect(page).toHaveTitle('Surveys • PostHog')
@@ -141,93 +98,5 @@ test.describe('CRUD Survey', () => {
await expect(page.getByText('Display conditions summary')).toBeVisible()
await expect(page.locator('.FeatureConditionCard')).toContainText('Rolled out to 50% of users in this set.')
-
- await launchSurveyEvenIfDisabled(page)
-
- await page.getByText('Stop').click()
- await expect(page.locator('.LemonModal__layout')).toBeVisible()
- await expect(page.getByText('Stop this survey?')).toBeVisible()
- await page.locator('.LemonModal__footer').getByRole('button', { name: 'Stop' }).click()
-
- await page.goToMenuItem('surveys')
- await expect(page.locator('[data-attr=surveys-table]')).toContainText(name)
-
- await page.locator(`[data-row-key="${name}"]`).getByText(name).click()
-
- await page.locator('.LemonTabs').getByText('Overview').click()
- await expect(page.getByText('Display conditions summary')).toBeVisible()
- await expect(
- page.getByText('Surveys will be displayed to users that match the following conditions')
- ).toBeVisible()
-
- await deleteSurvey(page, name)
- })
-
- test('can set responses limit', async ({ page }) => {
- await expect(page.locator('h1')).toContainText('Surveys')
- // This test exercises the full editor's adaptive sampling UI. The
- // "new survey" URL auto-redirects to whichever editor the user
- // previously preferred (default: guided wizard), so force the
- // preference to 'full' before navigating.
- await page.addInitScript(() => {
- localStorage.setItem('scenes.surveys.surveysLogic.preferredEditor', JSON.stringify('full'))
- })
- await page.goto('/surveys/new')
-
- await page.locator('[data-attr="scene-title-textarea"]').fill(name)
-
- await page.locator('.LemonCollapsePanel', { hasText: 'Completion conditions' }).click()
- await page.locator('[data-attr=survey-collection-until-limit]').first().click()
- await page.locator('[data-attr=survey-responses-limit-input]').fill('228')
- await page.locator('[data-attr="scene-title-textarea"]').click()
-
- const saveButton = page.locator('[data-attr=save-survey]').first()
- await expect(saveButton).toBeEnabled()
- const saveResponsePromise = page.waitForResponse(
- (resp) => resp.url().includes('/surveys') && resp.request().method() === 'POST'
- )
- await saveButton.click()
- await saveResponsePromise
-
- await expect(page.locator('button[data-attr="launch-survey"]').first()).toContainText('Launch')
-
- await page.reload()
- await expect(page.getByText('The survey will be stopped once 228 responses are received.')).toBeVisible()
-
- await deleteSurvey(page, name)
- })
-
- test('can set cancellation events', async ({ page }) => {
- await expect(page.locator('h1')).toContainText('Surveys')
- // Cancellation events aren't exposed in the guided wizard. Force the
- // editor preference to 'full' so the /surveys/new redirect doesn't
- // send us into the wizard.
- await page.addInitScript(() => {
- localStorage.setItem('scenes.surveys.surveysLogic.preferredEditor', JSON.stringify('full'))
- })
- await page.goto('/surveys/new')
-
- await page.locator('[data-attr="scene-title-textarea"]').fill(name)
-
- await page.getByText('Customization').click()
- await page.locator('[data-attr="survey-popup-delay-input"]').fill('5')
-
- await page.locator('.LemonButton').getByText('Display conditions').click()
- // Display conditions is now a LemonRadio whose outer data-attr is not
- // forwarded to the DOM (only inner option `data-attr`s are). Click the
- // "match conditions" radio option directly.
- await page.locator('[data-attr="survey-display-conditions-select-users"]').click()
-
- await expect(page.getByText('Cancel survey on events')).toBeVisible()
-
- await page.locator('.LemonButton').getByText('Add cancel event').click()
- await page.locator('span[aria-label="Autocapture"]').getByText('Autocapture').click()
-
- await page.locator('[data-attr=save-survey]').first().click()
- await expect(page.locator('button[data-attr="launch-survey"]').first()).toContainText('Launch')
-
- await page.locator('.LemonTabs__tab').getByText('Overview').click()
- await expect(page.getByText('Delay before showing: 5 seconds')).toBeVisible()
- await expect(page.getByText('Cancel survey if user sends:$autocapture')).toBeVisible()
})
})
diff --git a/tools/playwright_area_map.json b/tools/playwright_area_map.json
index 27efe930fe75..947239658ac6 100644
--- a/tools/playwright_area_map.json
+++ b/tools/playwright_area_map.json
@@ -53,7 +53,6 @@
"surveys": ["products/surveys/frontend/e2e/"],
"session-recordings": ["products/replay/frontend/e2e/"],
"sessions": ["products/replay/frontend/e2e/"],
- "billing": ["playwright/e2e/billing/"],
"experiments": ["playwright/e2e/experiments/"],
"cohorts": ["playwright/e2e/product-analytics/cohorts.spec.ts"],
"dashboard": [
@@ -68,7 +67,6 @@
"saved-insights": ["playwright/e2e/product-analytics/insights-list.spec.ts"],
"insights": [
"playwright/e2e/product-analytics/",
- "playwright/e2e/api-insight-creation.spec.ts",
"playwright/e2e/insight-sharing-password.spec.ts",
"playwright/e2e/shared-insight-unauthenticated.spec.ts"
],
@@ -76,27 +74,17 @@
"paths": ["playwright/e2e/product-analytics/"],
"paths-v2": ["playwright/e2e/product-analytics/"],
"retention": ["playwright/e2e/product-analytics/retention.spec.ts"],
- "web-analytics": ["playwright/e2e/web-analytics.spec.ts"],
"persons": ["playwright/e2e/persons/persons.spec.ts"],
"persons-management": ["playwright/e2e/persons/persons.spec.ts"],
"authentication": ["playwright/e2e/auth.spec.ts", "playwright/e2e/auth-password-reset.spec.ts"],
"onboarding": ["playwright/e2e/before-onboarding.spec.ts", "playwright/e2e/signup.spec.ts"],
- "data-management": [
- "playwright/e2e/event-definitions.spec.ts",
- "playwright/e2e/events.spec.ts",
- "playwright/e2e/annotations.spec.ts"
- ],
+ "data-management": ["playwright/e2e/event-definitions.spec.ts", "playwright/e2e/annotations.spec.ts"],
"annotations": ["playwright/e2e/annotations.spec.ts"],
- "toolbar-launch": ["playwright/e2e/toolbar.spec.ts"],
- "project-homepage": ["playwright/e2e/project-home-page.spec.ts"]
+ "toolbar-launch": ["playwright/e2e/toolbar.spec.ts"]
},
"explicit": {
"products/product_analytics/frontend/**": ["playwright/e2e/product-analytics/"],
- "products/batch_exports/frontend/**": ["playwright/e2e/batch-exports/"],
- "products/logs/frontend/**": ["playwright/e2e/logs/"],
- "products/cdp/frontend/**": ["playwright/e2e/cdp/"],
"products/experiments/frontend/**": ["playwright/e2e/experiments/"],
- "products/web_analytics/frontend/**": ["playwright/e2e/web-analytics.spec.ts"],
"products/persons/frontend/**": ["playwright/e2e/persons/persons.spec.ts"],
"products/cohorts/frontend/**": ["playwright/e2e/product-analytics/cohorts.spec.ts"],
"products/notebooks/frontend/**": [