Mintlify commit backfills#28
Conversation
… 90170327) * [Exp / FF] Docs for Multi Environment Selector * Edits to Multi Environment docs (#2712) * Clarify Multiple Environments docs - Add intro blurb framing the dev/staging/prod use case - Fix location: Configuration tab > More section (not Settings) - Clarify push direction (source/original -> linked destination) - Document the actual Duplicate UI path (overflow menu) - Note Mixpanel-flag vs third-party-flag duplication behavior - Tighten copy and fix typos Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> * Mention both experiments and flags in intro; drop competitor names Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> * Add callout about cross-project feature flag billing Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com> * comment --------- Co-authored-by: russell-loube-mixpanel <russell.loube@mixpanel.com> Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
…rom 268fab43) Document the business_context scope, which is required by the Get-Business-Context and Update-Business-Context tools. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…m dd184ff3) Notion's marketplace will list Mixpanel as a connector, so users connect through an Agent's Tools and Access settings rather than the old custom MCP URL flow. Linear: AIE-281 Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
…ackfill from e77186ea) Adds a callout to the Custom RCA Settings section stating that instructions only influence which properties RCA prioritizes, not analysis sequencing or methodology. Sets expectations after customer feedback that the RCA agent "did not follow the steps specified in the AI settings." Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
… + 6af183a5) (manual backfill from 47943746)
Updating docs to align more with Project deletion Co-authored-by: myronkaifung <97630035+myronkaifung@users.noreply.github.com>
…oup analytics (#2741) (backfill from f0dfb24b)
…l backfill from d9d62b0c) * docs: add Instructions field documentation for KPI Monitors Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * Update agentic-automations.mdx * Add 'What's in a digest' section to documentation Added section explaining the contents of a digest. * Update agentic-automations.mdx --------- Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Co-authored-by: Michelle Medina <35179910+mmedina3@users.noreply.github.com>
…om c5e5a18f) Co-authored-by: Kaan Barmore-Genc <176322908+kaan-barmore-genc-mixpanel@users.noreply.github.com>
… backfill from f8714e70) * [audit log] move tracked events to new reference page * organize by topic * remove redundant toc * revert to tables * add meta, use relative paths * fix meta (manual backfill from f8714e70)
* Update mixpanel-agent.mdx Updated security and privacy section to reference new compliance page * Update mixpanel-agent.mdx Updated numbers in FAQ (manual backfill from 600d87ff)
… ce9109f2) Clarified export limitations for CSV user profiles.
…1) (backfill from bf53f323)
… fffbfb74) * [audit log] ability to export as ndjson * add missing "the"s * run through branding guidelines (manual backfill from fffbfb74)
…ill from a4f0d69a) * Add service account authentication docs for MCP server Add a new "Service Account Authentication" section to the MCP docs covering how to connect using a Mixpanel service account instead of OAuth. Includes per-platform setup instructions for Claude Code, Claude Desktop, Cursor, VS Code, Windsurf, Codex CLI, Gemini CLI, and a generic mcp-remote fallback for other clients. Closes AIE-297 * Fix spellcheck: use hyphenated example secret * Restructure into OAuth and Service Account sections with beta callout * Remove mcp-remote header escaping note * Add source links, fix Claude Desktop config, remove Codex CLI * Mirror all OAuth platform sections in Service Account section * Match SA sections exactly to OAuth: remove Claude Code, Desktop, VS Code, Windsurf * Add Claude Code section to both OAuth and Service Account
…(#2755) (backfill from a0fe9279) * Fix Claude and ChatGPT SA sections: use custom connector with mcp-remote * Revert Claude/ChatGPT SA sections: web connectors only support OAuth * Clarify Claude Desktop and ChatGPT Desktop in SA sections * Fix Claude SA section with Desktop config, remove ChatGPT from SA
…c8db8a) Add MIXPANEL AI section to guides navigation. Note: In Mintlify repo, this change was part of the initial migration. Navigation structure differences mean no file changes needed here.
… b10d3bb3) * Document serverURL option for Flutter SDK init Document the serverURL parameter on Mixpanel.init() (added in mixpanel-flutter v2.9.0) as the recommended way to route data for EU data residency and proxy tracking, with setServerURL as an alternative. * Document serverURL init option for India data residency
…(backfill from ab116f37) Add the recommended init()-time serverURL approach to the EU and India data residency sections, with setServerURL() as the alternative.
…ckfill from 7327c571) * Add "Previously Block was called Drop" callout to Lexicon docs * docs(lexicon): expand Block/Drop rename callout with status detail * docs(lexicon): move Block/Drop callout to below Blocking Events header --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
…ual backfill from e2cc6cbc)
… (#2769) (backfill from c63540f3) Adds brief plain-language detail to the RCA How it works section: (1) notes that anomaly validation uses a z-score to separate real changes from normal variation and seasonality, and (2) defines contribution as each segment's share of the total change. No behavior change, docs only. Co-authored-by: myronkaifung <97630035+myronkaifung@users.noreply.github.com>
…86c907c) * Add segmentation section to experiments docs Documents how to break experiment results down by a property using the breakdown picker, the risk of post-hoc segmentation and p-hacking, and why Mixpanel applies a Benjamini-Hochberg correction across breakdown segments by default. * Update cspell.json --------- Co-authored-by: Kaan Barmore-Genc <176322908+kaan-barmore-genc-mixpanel@users.noreply.github.com> Co-authored-by: myronkaifung <97630035+myronkaifung@users.noreply.github.com>
…2765) (backfill from 04eec0b4) * docs(session-replay): add Data Residency section to each SDK guide Adds a Data Residency section to the JavaScript, Swift, Android, React Native, and Flutter Session Replay docs covering how to route replay traffic to the EU or India data center or a self-hosted proxy. Each section sits right after the basic init/install step so EU/India customers see it during integration rather than after they've shipped, and documents the SDK-native `DataResidency`/`MPDataResidency` constants plus the minimum SDK version where the option is available. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> * Update flutter-replay.mdx * Update flutter-replay.mdx * Fix formatting of code block in flutter-replay.mdx --------- Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com> Co-authored-by: myronkaifung <97630035+myronkaifung@users.noreply.github.com>
updating the aggregation options to match the current UI Co-authored-by: myronkaifung <97630035+myronkaifung@users.noreply.github.com>
added guard to prevent duplicate device prefixes Co-authored-by: myronkaifung <97630035+myronkaifung@users.noreply.github.com>
…(#2735) (backfill from f88a8267) The section described using separate projects per environment as a workaround; this is now properly covered by the Multiple Environments feature documented at #multiple-environments. Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> Co-authored-by: myronkaifung <97630035+myronkaifung@users.noreply.github.com>
…s to Multi-Environment docs (#2743) (backfill from 82045a0d) Addresses questions raised in the #shipped thread about who can copy between projects, what resets after duplicating, cohort assumptions, and what happens when an inter-project connection is removed. Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> Co-authored-by: myronkaifung <97630035+myronkaifung@users.noreply.github.com>
…ck (#2729) (backfill from b4e14e1e) * docs: add Benjamini-Hochberg correction and configurable CUPED lookback - Document Benjamini-Hochberg as a multiple-testing correction option alongside Bonferroni, with worked example and guidance on choosing between FDR and FWER methods. - Document the configurable CUPED Pre-Exposure Period (1W, 2W default, 4W, 60D, 90D) and tradeoffs for choosing a window. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> * Address Kaan's review: fix FDR abbreviation and CUPED pre-exposure period guidance - Remove unused (FDR) abbreviation in BH section - Correct CUPED pre-exposure period description: longer windows pick up more users (not fewer); guidance now covers overlap with other experiments, capturing infrequent users, and the stale-data caveat Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * Add Benjamini and Hochberg to cspell allowlist Unblocks CI spell-check for the BH correction docs. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com> Co-authored-by: myronkaifung <97630035+myronkaifung@users.noreply.github.com>
…ackfill from 882839a0)
Confidence Score: 4/5Safe to merge with the RudderStack snippet fix — the double-prefix bug would propagate incorrect identity data to any user following that integration guide. The RudderStack integration snippet in javascript-replay.mdx introduces a code bug: on every page load after the first, rudderAnonymousId holds the already-prefixed ID, causing $device_id and $distinct_id to be registered with incorrect values. All other changes are documentation content additions that look correct. docs/tracking-methods/sdks/javascript/javascript-replay.mdx (RudderStack identity snippet)
|
| Filename | Overview |
|---|---|
| docs/tracking-methods/sdks/javascript/javascript-replay.mdx | Adds Data Residency section and updates the RudderStack integration snippet, but the idempotency guard introduces a double-prefix bug on repeat page loads. |
| docs/mcp.mdx | Adds comprehensive Service Account authentication section alongside the existing OAuth flows; content looks correct and well-structured. |
| openapi/feature-flags.openapi.yaml | Refactored to reference external $ref files under openapi/common/ which do not exist in the repo; also adds ServiceAccount auth and ProjectId parameter — previously flagged in review. |
| docs.json | Adds audit-log-reference to nav, headless guide to Empower Your Team, a new top-level MIXPANEL AI group, and a spark→mixpanel-agent redirect — previously flagged duplicate nav entries remain. |
| docs/access-security/audit-log-reference.mdx | New reference page cataloguing all audit log event types; content is well-organized and no issues found. |
| docs/mixpanel-agent.mdx | Removes beta notice and cleans up security/privacy section; FAQ numbering skips from 3 to 5. |
| guides/guides-by-use-case/empower-your-team/headless.mdx | New guide for Mixpanel Headless SDK; content is clear and correctly uses Mintlify components. |
| docs/orgs-and-projects/organizations.mdx | Rewrites the Delete Organization section with clearer steps and callouts; uses an absolute URL for an internal link that should be relative. |
Flowchart
%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[User opens page] --> B{rudderAnonymousId starts with '$device:'?}
B -- No / First load --> C[setAnonymousId '$device:' + rawId]
C --> D[register rawId as $device_id]
B -- Yes / Repeat load --> E[Skip setAnonymousId guard fires]
E --> F[register PREFIXED ID as $device_id and double-prefix distinct_id]
D --> G[Correct identity in Mixpanel]
F --> H[Broken identity in Mixpanel]
%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%%
flowchart TD
A[User opens page] --> B{rudderAnonymousId starts with '$device:'?}
B -- No / First load --> C[setAnonymousId '$device:' + rawId]
C --> D[register rawId as $device_id]
B -- Yes / Repeat load --> E[Skip setAnonymousId guard fires]
E --> F[register PREFIXED ID as $device_id and double-prefix distinct_id]
D --> G[Correct identity in Mixpanel]
F --> H[Broken identity in Mixpanel]
Reviews (3): Last reviewed commit: "Update flutter-replay.mdx" | Re-trigger Greptile
| Use the Feature Flags API to evaluate feature flags for users and retrieve feature flag definitions. | ||
| contact: | ||
| url: https://mixpanel.com/get-support | ||
| url: 'https://mixpanel.com/get-support' |
There was a problem hiding this comment.
Broken external
$ref paths — openapi/common/ does not exist
The refactored YAML now references ./common/feature-flags-api.yaml, ./common/responses.yaml, and ./common/securitySchemes.yaml, but the openapi/common/ directory is not present in the repository. Every resolver that processes this spec (Mintlify, redocly lint, swagger-ui, CI validation) will fail with "reference not found" errors, making the API reference page un-renderable. The referenced files need to be added alongside this change.
| "group": "MIXPANEL AI", | ||
| "icon": "/icons/flower.svg", | ||
| "pages": [ | ||
| "guides/guides-by-use-case/empower-your-team/mixpanel-agent", | ||
| "guides/guides-by-use-case/empower-your-team/mcp", | ||
| "guides/guides-by-use-case/empower-your-team/mcp/mcp-by-industry", | ||
| "guides/guides-by-use-case/empower-your-team/mcp/integrations", | ||
| "guides/guides-by-use-case/empower-your-team/headless" | ||
| ] |
There was a problem hiding this comment.
The new top-level "MIXPANEL AI" group lists mixpanel-agent, mcp, mcp/mcp-by-industry, mcp/integrations, and headless, but all five of these paths are already registered under the "Empower Your Team" nested section (lines 596–621). Mintlify may render the same pages in both sidebar locations or silently dedup them; either way the intent is unclear. If this is meant to be a standalone top-level shortcut group, the sub-page nesting (mcp/mcp-by-industry and mcp/integrations) inside a flat list is also inconsistent with how the rest of the navigation is structured.
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
Summary
Backfills 40 commits from the old Nextra docs repo (May 28 - June 18, 2026) into the Mintlify docs repo, preserving original authors and chronological order.
Changes
This PR brings the Mintlify repo up to date with recent documentation changes from the Nextra repo, including:
Migration Adaptations
All commits were adapted for Mintlify's framework:
Applied: 40 commits (30 cherry-pick, 10 manual)
Skipped: 6 commits (Nextra-only files: .npmrc, middleware.ts)
Review Notes
Key areas to spot-check: