mirror of
https://github.com/mintlify/docs.git
synced 2026-09-14 13:35:46 +08:00
dd70fb8977
* 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>
43 lines
1.4 KiB
Plaintext
43 lines
1.4 KiB
Plaintext
---
|
|
title: "Segment"
|
|
description: "Integra Segment con tu documentación de Mintlify para enrutar eventos de análisis a herramientas como almacenes de datos, CRM y plataformas de marketing."
|
|
keywords: ["Segment integration", "write key", "event streaming", "CDP integration", "custom domain", "cdnUrl"]
|
|
boost: 3
|
|
---
|
|
|
|
Agrega tu write key de Segment a tu archivo `docs.json` para enviar Analytics a Segment.
|
|
|
|
<CodeGroup>
|
|
|
|
```json Opciones de Analytics en docs.json
|
|
"integrations": {
|
|
"segment": {
|
|
"key": "required",
|
|
"cdnUrl": "optional"
|
|
}
|
|
}
|
|
```
|
|
|
|
```json Ejemplo
|
|
"integrations": {
|
|
"segment": {
|
|
"key": "nqJxiRG15Y6M594P8Sb8ESEciU3VC2",
|
|
"cdnUrl": "https://cdn.example.com"
|
|
}
|
|
}
|
|
```
|
|
|
|
</CodeGroup>
|
|
|
|
<div id="configuration-options">
|
|
## Opciones de configuración
|
|
</div>
|
|
|
|
<ParamField path="key" type="string" required>
|
|
Tu write key de Segment.
|
|
</ParamField>
|
|
|
|
<ParamField path="cdnUrl" type="string">
|
|
Una URL de CDN personalizada para cargar el script de Segment. Úsala si configuras un [dominio personalizado](https://segment.com/docs/connections/custom-domain/) en Segment para servir el análisis desde tu propio subdominio, lo que ayuda a evitar los bloqueadores de anuncios que bloquean `cdn.segment.com`. Debe ser una URL HTTPS sin parámetros de consulta ni fragmentos. El valor predeterminado es `https://cdn.segment.com`.
|
|
</ParamField>
|