Skip to content

docs(nimbus): add comprehensive desktop targeting guide#799

Merged
jaredlockhart merged 4 commits intomainfrom
2026-03-18-desktop-targeting-guide
Mar 19, 2026
Merged

docs(nimbus): add comprehensive desktop targeting guide#799
jaredlockhart merged 4 commits intomainfrom
2026-03-18-desktop-targeting-guide

Conversation

@jaredlockhart
Copy link
Contributor

Because

  • Desktop has no first-class targeting guide — targeting docs are scattered
    across FAQ, custom-audiences, targeting-debug, and workflow pages
  • Android and iOS each have custom-targeting guides but desktop doesn't
  • Experiment creators need a single reference for targeting attributes, JEXL
    syntax, and how targeting works end-to-end

This commit

  • Adds a new Desktop Targeting Guide at docs/platform-guides/desktop/targeting.md
    covering how targeting works, the evaluation flow, basic vs advanced targeting,
    the full targeting attributes reference (sourced from TargetingContextRecorder.sys.mjs),
    JEXL expression syntax (sourced from mozjexl and FilterExpressions.sys.mjs),
    sticky targeting mechanics, first-run targeting, common patterns, the recorded
    targeting context telemetry ping, testing with Nimbus DevTools, and how to add
    new targeting options

Fixes #798

Because

* Desktop has no first-class targeting guide — targeting docs are scattered
  across FAQ, custom-audiences, targeting-debug, and workflow pages
* Android and iOS each have custom-targeting guides but desktop doesn't
* Experiment creators need a single reference for targeting attributes, JEXL
  syntax, and how targeting works end-to-end

This commit

* Adds a new Desktop Targeting Guide covering how targeting works, the
  evaluation flow, basic vs advanced targeting, the full targeting attributes
  reference (sourced from TargetingContextRecorder.sys.mjs), JEXL expression
  syntax (sourced from mozjexl and FilterExpressions.sys.mjs), sticky
  targeting mechanics, first-run targeting, common patterns, the recorded
  targeting context telemetry ping, testing with Nimbus DevTools, and how to
  add new targeting options

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Because

* The build failed due to a broken link referencing
  /platform-guides/desktop/onboarding-feature-desktop which doesn't exist

This commit

* Updates the link to use the correct slug /platform-guides/desktop/onboarding

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Because

* PR review feedback from freshstrangemusic

This commit

* Merges enrollment/sticky into a single evaluation flow step and mentions
  unenrollment of existing enrollments that no longer match targeting
* Breaks out homePageSettings sub-properties for consistency with os and
  attributionData patterns
* Adds the intersect binary operator to the operators table

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link
Member

@freshstrangemusic freshstrangemusic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r+ with the wording changed as we discussed

Because

* The evaluation flow section should be a simple overview — sticky details
  belong in the dedicated Sticky Targeting section below

This commit

* Removes the sticky clause parenthetical from the enrollment step

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@jaredlockhart jaredlockhart enabled auto-merge (squash) March 19, 2026 18:20
@jaredlockhart jaredlockhart merged commit ca70f68 into main Mar 19, 2026
2 checks passed
@jaredlockhart jaredlockhart deleted the 2026-03-18-desktop-targeting-guide branch March 19, 2026 18:23
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.

Add comprehensive Desktop Targeting Guide

2 participants