: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
fix(onboarding): Update example posthog.capture call in python onboarding doc (#47825)
Shen Licea8404b492f
diff --git a/docs/onboarding/product-analytics/_snippets/python-event-capture.tsx b/docs/onboarding/product-analytics/_snippets/python-event-capture.tsxindex 4e17477a2e5f..c398aceb71cd 100644--- a/docs/onboarding/product-analytics/_snippets/python-event-capture.tsx+++ b/docs/onboarding/product-analytics/_snippets/python-event-capture.tsx@@ -15,7 +15,7 @@ export const PythonEventCapture = (): JSX.Element => {file: 'Python',code: dedent`import posthog- posthog.capture('user_123', 'user_signed_up', properties={'example_property': 'example_value'})+ posthog.capture('user_signed_up', distinct_id='user_123', properties={'example_property': 'example_value'})`,},]}