Skip to content

Update from code changes: Segment custom CDN URL option - #7277

Open
mintlify[bot] wants to merge 2 commits into
mainfrom
mintlify/a59d61cd
Open

Update from code changes: Segment custom CDN URL option#7277
mintlify[bot] wants to merge 2 commits into
mainfrom
mintlify/a59d61cd

Conversation

@mintlify

@mintlify mintlify Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Summary

The Segment integration now accepts an optional cdnUrl field in docs.json. Setting it loads the Segment script from a custom HTTPS domain, such as a Segment custom domain configured to bypass ad blockers that block cdn.segment.com. When omitted, the script continues to load from the default Segment CDN. Invalid values (non-HTTPS, or URLs with query parameters or fragments) fail validation.

Triggering change: https://github.com/mintlify/mint/pull/10611

Changes

  • Added cdnUrl to the Segment integration page with a configuration options section explaining when to use it and its constraints, plus an updated example
  • Added cdnUrl to the Segment entry in the analytics overview options block
  • Added cdnUrl to the integrations.segment reference in the settings integrations page
  • Mirrored all changes across the es, fr, and zh translations

Note

Low Risk
Documentation-only updates with no runtime or config schema changes in this repository.

Overview
This PR documents the optional cdnUrl field on integrations.segment in docs.json, matching the product change in mint#10611.

The Segment integration page now includes cdnUrl in its JSON examples, a configuration options section with ParamField entries for key and cdnUrl (custom CDN / ad-blocker bypass, HTTPS-only, no query or fragment), and updated frontmatter keywords. The analytics overview setup block and integrations.segment reference on the settings integrations page list cdnUrl as optional with the same constraints and default https://cdn.segment.com.

The same updates are mirrored in es, fr, and zh.

Reviewed by Cursor Bugbot for commit f3e372d. Bugbot is set up for automated code reviews on this repo. Configure here.

@mintlify

mintlify Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor Author

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

Project Status Preview Updated
mintlify 🟢 Ready View Preview Sep 5, 2026, 8:56 AM

@mintlify

mintlify Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor Author

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

Project Status Preview Updated
tomee 🟡 Building Sep 5, 2026, 8:55 AM

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

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.

0 participants