:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
docs(workflows): use projectToken in the iOS push setup snippet (#129699)
Anna Garciaa4328dee6ec7
diff --git a/products/workflows/frontend/setupGuide/wizard/WizardPushStep.tsx b/products/workflows/frontend/setupGuide/wizard/WizardPushStep.tsxindex 91190cabaf9c..5dcb6d344b30 100644--- a/products/workflows/frontend/setupGuide/wizard/WizardPushStep.tsx+++ b/products/workflows/frontend/setupGuide/wizard/WizardPushStep.tsx@@ -21,7 +21,7 @@ const PLATFORMS: Record<PushPlatform, { label: string; provider: 'apns' | 'firebfunction sdkSnippet(platform: PushPlatform, token: string, host: string, appId: string | undefined): string {if (platform === 'ios') {- return `let config = PostHogConfig(apiKey: "${token}", host: "${host}")+ return `let config = PostHogConfig(projectToken: "${token}", host: "${host}")config.capturePushNotificationSubscriptions = true // on by defaultPostHogSDK.shared.setup(config)