Skip to content

feat(analytics): emit flag exposure — $feature_flag_called + $feature/ props for wizard flags#980

Draft
gewenyu99 wants to merge 1 commit into
mainfrom
posthog-code/emit-flag-exposure
Draft

feat(analytics): emit flag exposure — $feature_flag_called + $feature/ props for wizard flags#980
gewenyu99 wants to merge 1 commit into
mainfrom
posthog-code/emit-flag-exposure

Conversation

@gewenyu99

@gewenyu99 gewenyu99 commented Jul 25, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

…/ props for wizard flags

The bulk flag fetch emits no per-flag events, so experiments on wizard
flags never counted an exposure (387866 ran blind). After the snapshot
loads, emit $feature_flag_called once per wizard-owned flag, and stamp
$feature/<key> onto every subsequent capture so metrics filter by
variant.

Generated-By: PostHog Code
Task-Id: 2d43c175-646e-4d73-a974-760280c8c95b
@gewenyu99
gewenyu99 requested a review from a team as a code owner July 25, 2026 01:15
@github-actions

Copy link
Copy Markdown

🧙 Wizard CI

Run the Wizard CI and test your changes against wizard-workbench example apps by replying with a GitHub comment using one of the following commands:

Test all apps:

  • /wizard-ci all

Test all apps in a directory:

  • /wizard-ci basic-integration
  • /wizard-ci mcp-analytics
  • /wizard-ci revenue

Test an individual app:

  • /wizard-ci basic-integration/android
  • /wizard-ci basic-integration/angular
  • /wizard-ci basic-integration/astro
Show more apps
  • /wizard-ci basic-integration/django
  • /wizard-ci basic-integration/fastapi
  • /wizard-ci basic-integration/flask
  • /wizard-ci basic-integration/javascript-node
  • /wizard-ci basic-integration/javascript-web
  • /wizard-ci basic-integration/laravel
  • /wizard-ci basic-integration/next-js
  • /wizard-ci basic-integration/nuxt
  • /wizard-ci basic-integration/python
  • /wizard-ci basic-integration/rails
  • /wizard-ci basic-integration/react-native
  • /wizard-ci basic-integration/react-router
  • /wizard-ci basic-integration/sveltekit
  • /wizard-ci basic-integration/swift
  • /wizard-ci basic-integration/tanstack-router
  • /wizard-ci basic-integration/tanstack-start
  • /wizard-ci basic-integration/vue
  • /wizard-ci mcp-analytics/custom-dispatcher
  • /wizard-ci mcp-analytics/typescript-sdk
  • /wizard-ci revenue/stripe

Results will be posted here when complete.

@gewenyu99
gewenyu99 marked this pull request as draft July 25, 2026 01:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant