Skip to content

Document sending multiple experiments per exposure event - #151

Open
claude[bot] wants to merge 3 commits into
mainfrom
docs-experiments-multi-experiment-exposure
Open

Document sending multiple experiments per exposure event#151
claude[bot] wants to merge 3 commits into
mainfrom
docs-experiments-multi-experiment-exposure

Conversation

@claude

@claude claude Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Requested by Rishi Patel · Slack thread

Before / After

Before: The "Implementation for Experimentation" section on /docs/experiments only described sending an exposure event that carries a single experiment — one $experiment_started event 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_started event 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:

  • Dictionary (Key-value pairs) — shown with an example event where each experiment key is a property key and its value is the bucketed variant key.
  • List (Ordered values) — mentioned as an available option, pointing readers to the Experiment Event Format settings for its exact shape (no example is invented).

How

Added a #### subsection directly after the existing single-experiment example and settings screenshot in docs/experiments.mdx, mirroring the page's existing tone and its json code-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

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
@mintlify

mintlify Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
mixpanel-docs 🟢 Ready View Preview Aug 7, 2026, 10:34 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@greptile-apps

greptile-apps Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5

The PR appears safe to merge.

No blocking failure remains.

Important Files Changed

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

Comment thread docs/experiments.mdx
claude added 2 commits August 7, 2026 22:34
…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
@claude
claude Bot marked this pull request as ready for review August 7, 2026 22:41
@claude
claude Bot requested a review from a team as a code owner August 7, 2026 22:41
@claude
claude Bot requested a review from kathmath August 7, 2026 22:41
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