Skip to content

docs: Add device targeting for feature flags#15339

Draft
andehen wants to merge 1 commit intomasterfrom
docs/flags-device-targeting
Draft

docs: Add device targeting for feature flags#15339
andehen wants to merge 1 commit intomasterfrom
docs/flags-device-targeting

Conversation

@andehen
Copy link
Contributor

@andehen andehen commented Feb 26, 2026

Summary

  • Adds a new "Targeting by device" section to the feature flag targeting docs, explaining when and how to use the new "Match by Device" option in release conditions
  • Documents the "Match by" dropdown (User, Device, Group) in the release conditions section of the flag creation docs
  • Adds a tip in the flag persistence section recommending device targeting as a simpler alternative for anonymous user flows
  • Updates best practices to mention device targeting for anonymous users

Test plan

  • Verify targeting-groups page renders correctly with the new section and comparison table
  • Verify creating-feature-flags page renders the Match by dropdown list correctly
  • Check all internal links resolve (anchors to #targeting-by-device, #targeting-groups-teams-or-organizations)
  • Verify nav label update shows correctly in sidebar

🤖 Generated with Claude Code

Document the new "Match by Device" option in feature flag release
conditions. Device targeting ensures consistent flag values for
anonymous users through the login flow by evaluating based on
device ID rather than distinct ID.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Feb 26, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
posthog Building Building Preview Feb 26, 2026 4:00pm

Request Review

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