mirror of
https://github.com/mintlify/docs.git
synced 2026-09-14 13:35:46 +08:00
bbb1a08ed3
Co-authored-by: locadex-agent[bot] <217277504+locadex-agent[bot]@users.noreply.github.com>
27 lines
533 B
Plaintext
27 lines
533 B
Plaintext
---
|
|
title: "Segment"
|
|
description: "将分析事件发送到 Segment 及其下游工具。"
|
|
keywords: ["Segment integration", "write key", "event streaming", "CDP integration"]
|
|
---
|
|
|
|
将你的 Segment write key 添加到 `docs.json` 文件,以将分析数据发送到 Segment。
|
|
|
|
<CodeGroup>
|
|
|
|
```json docs.json 中的 Analytics 选项
|
|
"integrations": {
|
|
"segment": {
|
|
"key": "required",
|
|
}
|
|
}
|
|
```
|
|
|
|
```json 示例
|
|
"integrations": {
|
|
"segment": {
|
|
"key": "nqJxiRG15Y6M594P8Sb8ESEciU3VC2"
|
|
}
|
|
}
|
|
```
|
|
|
|
</CodeGroup> |