Update from code changes: Segment custom CDN URL option - #7277
Open
mintlify[bot] wants to merge 2 commits into
Open
Update from code changes: Segment custom CDN URL option#7277mintlify[bot] wants to merge 2 commits into
mintlify[bot] wants to merge 2 commits into
Conversation
Contributor
Author
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
Contributor
Author
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
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.
Summary
The Segment integration now accepts an optional
cdnUrlfield indocs.json. Setting it loads the Segment script from a custom HTTPS domain, such as a Segment custom domain configured to bypass ad blockers that blockcdn.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
cdnUrlto the Segment integration page with a configuration options section explaining when to use it and its constraints, plus an updated examplecdnUrlto the Segment entry in the analytics overview options blockcdnUrlto theintegrations.segmentreference in the settings integrations pageNote
Low Risk
Documentation-only updates with no runtime or config schema changes in this repository.
Overview
This PR documents the optional
cdnUrlfield onintegrations.segmentindocs.json, matching the product change in mint#10611.The Segment integration page now includes
cdnUrlin its JSON examples, a configuration options section withParamFieldentries forkeyandcdnUrl(custom CDN / ad-blocker bypass, HTTPS-only, no query or fragment), and updated frontmatter keywords. The analytics overview setup block andintegrations.segmentreference on the settings integrations page listcdnUrlas optional with the same constraints and defaulthttps://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.