Document sending multiple experiments per exposure event - #151
Open
claude[bot] wants to merge 3 commits into
Open
Document sending multiple experiments per exposure event#151claude[bot] wants to merge 3 commits into
claude[bot] wants to merge 3 commits into
Conversation
Add guidance to the Implementation for Experimentation section covering the "Experiments in each Exposure Event" = "More than one" setting, including the Dictionary (Key-value pairs) exposure event format and a note on the List (Ordered values) option. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XYqQ7B5hGcCbczDgnYanVw
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
Contributor
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains.
|
| Filename | Overview |
|---|---|
| docs/experiments.mdx | Adds multi-experiment exposure formats and resolves the previously contradictory per-experiment event guidance. |
Reviews (2): Last reviewed commit: "docs(experiments): replace placeholder L..." | Re-trigger Greptile
…ent subsection Reword the 'multiple experiments' bullet so it reflects both the default (one exposure event per experiment) and the option to record all of a user's experiments on a single $experiment_started event when 'Experiments in each Exposure Event' is set to 'More than one'. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XYqQ7B5hGcCbczDgnYanVw
Document the 'List (Ordered values)' exposure-event format: an ordered array under a single list property (default key 'Experiments'), each entry pairing the experiment key with its variant key joined by a configurable String Separator (default ':'), with a JSON example matching the Dictionary example. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XYqQ7B5hGcCbczDgnYanVw
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Rishi Patel · Slack thread
Before / After
Before: The "Implementation for Experimentation" section on
/docs/experimentsonly described sending an exposure event that carries a single experiment — one$experiment_startedevent with an "Experiment name" property and a "Variant name" property. A reader would come away thinking a user in multiple experiments requires a separate exposure event for each one.After: The section now adds a subsection, "Sending multiple experiments in a single exposure event," explaining that one
$experiment_startedevent can record several experiments at once. It documents the Experiment Event Format setting "Experiments in each Exposure Event" → "More than one," and the two resulting Experiment and Variant format options:How
Added a
####subsection directly after the existing single-experiment example and settings screenshot indocs/experiments.mdx, mirroring the page's existing tone and itsjsoncode-block convention. Only content was added — no unrelated content was restructured. The Dictionary example matches the real settings-UI shape; the List format is referenced rather than fabricated because no concrete List JSON shape was available to verify.Generated by Claude Code