Files
mintlify[bot] dd70fb8977 Update from code changes: Segment custom CDN URL option (#7277)
* docs: document cdnUrl option for Segment integration

* docs: wrap translated headings with English anchor IDs

* Apply suggestion from @ethanpalm

---------

Co-authored-by: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com>
Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>
2026-09-08 10:00:01 -07:00

43 lines
1.4 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "Segment"
description: "Intégrez Segment à votre documentation Mintlify pour acheminer les événements danalyse vers des entrepôts, des CRM et des plateformes marketing."
keywords: ["Intégration Segment", "write key", "diffusion dévénements", "intégration CDP", "domaine personnalisé", "cdnUrl"]
boost: 3
---
Ajoutez votre write key Segment à votre fichier `docs.json` pour envoyer des données Analytics à Segment.
<CodeGroup>
```json Options dAnalytics dans docs.json
"integrations": {
"segment": {
"key": "required",
"cdnUrl": "optional"
}
}
```
```json Exemple
"integrations": {
"segment": {
"key": "nqJxiRG15Y6M594P8Sb8ESEciU3VC2",
"cdnUrl": "https://cdn.example.com"
}
}
```
</CodeGroup>
<div id="configuration-options">
## Options de configuration
</div>
<ParamField path="key" type="string" required>
Votre write key Segment.
</ParamField>
<ParamField path="cdnUrl" type="string">
Une URL de CDN personnalisée pour charger le script Segment. Utilisez-la si vous configurez un [domaine personnalisé](https://segment.com/docs/connections/custom-domain/) dans Segment pour servir les analyses depuis votre propre sous-domaine, ce qui permet déviter les bloqueurs de publicités qui bloquent `cdn.segment.com`. Doit être une URL HTTPS sans paramètres de requête ni fragments. La valeur par défaut est `https://cdn.segment.com`.
</ParamField>