Product Benefits Pricing Guides Docs About Contact us Try it out
Analytics tools

PostHog Android Survey Targeting Flag Event Tracking

PostHog Android survey targeting flag tracking: stop noisy $feature_flag_called events and keep exposure counts clean with SDK 3.75.2.

· 3 min read

Feature flag exposure data is only useful if it is clean. When an SDK fires an event every time it checks a flag, including checks you never made yourself, your exposure counts drift upward. Experiment results then rest on numbers that include internal housekeeping, and nobody can say why the totals changed.

PostHog Android 3.75.2 fixes one source of that noise. When the SDK checks whether a user is eligible for a survey, it no longer sends $feature_flag_called events for flag keys that start with survey-targeting-. This matches the behaviour of posthog-js. Other flag keys keep the tracking you configured, and linked-variant lookups stay silent.

If you upgrade, expect a drop in $feature_flag_called volume. That drop is correct, but it can look like a tracking failure if nobody warned your team.

Data Points to Track

  • $feature_flag key and $feature_flag_response value on called events
  • flag_called_event_count per day, split by flag key
  • survey_targeting_flag_events (should fall to zero after the upgrade)
  • survey_shown, survey_dismissed and survey_sent counts
  • survey_id and survey_eligibility_result
  • sdk_version and app_version
  • experiment_exposure_count for any experiment that shares a dashboard
  • platform (Android, iOS, web) to compare against posthog-js

Setup Steps

  1. Upgrade posthog-android to 3.75.2 or later and record the date of the release in your changelog.
  2. Take a baseline: export $feature_flag_called counts per flag key for the 14 days before the upgrade.
  3. Annotate your dashboards with the upgrade date so a drop is explained at a glance.
  4. Filter any chart that counts exposures to exclude keys starting with survey-targeting-, so older and newer data compare fairly.
  5. Check surveys still show to the right users on a test device, using a targeting rule you know should match.
  6. Confirm your own flags still send their called events and that the counts match your baseline.
  7. Review experiments that were running during the change and note the date in the results.

Actionable Insights

Start with the gap between old and new counts. If most of the drop sits in survey-targeting- keys, the change did what it should and your normal flags are untouched. If a regular flag also fell, check that its tracking setting did not change in the same release.

Next, look at experiments that ran across the upgrade. Exposure totals that include survey checks inflate the denominator, so conversion rates can look slightly lower before the upgrade than after. Do not compare the two halves without the filter from step 4.

Survey performance is the second thing to read. Fewer noise events do not change who sees a survey, so show rate, response rate and dismissal rate should stay flat. If they move, the cause is something else, such as a targeting rule or an app version.

Finally, use the change to set a rule for your team: any dashboard built on a flag event should list which keys it includes. That small habit prevents the next SDK change from quietly altering a number the business relies on.