> For the complete documentation index, see [llms.txt](https://gitbook.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gitbook.com/docs/documentation/zh/fen-xi/guides.md).

# 指南

使用分析功能了解你的文档，并将洞察转化为改进。这些指南涵盖站点分析、外部跟踪、自定义报告和贡献者活动。

#### 探索

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><h4><i class="fa-chart-line">:chart-line:</i></h4></td><td><h4>跟踪文档指标</h4><p>选择有用的指标，并将洞察转化为文档改进。</p></td><td><a href="/spaces/LBGJKQic7BQYBXmVSjy0/pages/OykWapcRQTN6cSKDjufw">/spaces/LBGJKQic7BQYBXmVSjy0/pages/OykWapcRQTN6cSKDjufw</a></td></tr><tr><td><h4><i class="fa-google">:google:</i></h4></td><td><h4>使用 Google Analytics 跟踪文档分析</h4><p>连接 Google Analytics 以衡量流量和访客行为。</p></td><td><a href="/spaces/LBGJKQic7BQYBXmVSjy0/pages/e8hQg0MhEEAzrdaMIZNs">/spaces/LBGJKQic7BQYBXmVSjy0/pages/e8hQg0MhEEAzrdaMIZNs</a></td></tr><tr><td><h4><i class="fa-code">:code:</i></h4></td><td><h4>使用事件聚合 API 跟踪高级分析</h4><p>查询事件数据以构建报告和自定义仪表板。</p></td><td><a href="/spaces/LBGJKQic7BQYBXmVSjy0/pages/Cjlk0bo1FmbVclhWI7vc">/spaces/LBGJKQic7BQYBXmVSjy0/pages/Cjlk0bo1FmbVclhWI7vc</a></td></tr><tr><td><h4><i class="fa-chart-pie">:chart-pie:</i></h4></td><td><h4>分析变更请求贡献者</h4><p>了解谁在为你的文档做出贡献，以及他们如何工作。</p></td><td><a href="/spaces/LBGJKQic7BQYBXmVSjy0/pages/wELpYq2O10kHCiJlYzB9">/spaces/LBGJKQic7BQYBXmVSjy0/pages/wELpYq2O10kHCiJlYzB9</a></td></tr></tbody></table>

#### 快速指南

<details>

<summary>我该如何使用站点分析？</summary>

从你的站点分析仪表板查看流量、反馈、搜索和 Ask AI 活动。

本指南展示如何筛选数据并发现内容机会。

<button type="button" class="button secondary" data-action="ask" data-query="How do I use GitBook site analytics? Show me how to review traffic, page feedback, search, Ask AI, and Agent and LLM data. Explain how to filter and group data. Include links to the relevant docs pages." data-icon="gitbook-assistant">打开指南</button>

</details>

<details>

<summary>我该如何使用搜索和反馈数据？</summary>

搜索词和页面评分可突出显示需要关注的内容。

本指南展示如何发现差距并优先推进文档改进。

<button type="button" class="button secondary" data-action="ask" data-query="How do I use GitBook search and page feedback analytics to improve my documentation? Show me how to identify content gaps and prioritize updates. Include links to the relevant docs pages." data-icon="gitbook-assistant">打开指南</button>

</details>

<details>

<summary>我该如何使用 Google Analytics 跟踪文档？</summary>

连接 Google Analytics 以衡量 GitBook 站点分析之外的流量。

本指南涵盖集成、衡量 ID 和数据收集。

<button type="button" class="button secondary" data-action="ask" data-query="How do I connect Google Analytics to my GitBook docs site? Show me how to configure the integration, add a measurement ID, and verify data collection. Include links to the relevant docs pages." data-icon="gitbook-assistant">打开指南</button>

</details>

<details>

<summary>我该如何构建自定义分析报告？</summary>

使用事件聚合 API 在你自己的工具中分析文档行为。

本指南涵盖事件数据、查询和仪表板报告。

<button type="button" class="button secondary" data-action="ask" data-query="How do I build a custom analytics report for my GitBook docs site? Show me how to use the Events Aggregation API to query event data and create reports. Include links to the relevant docs pages." data-icon="gitbook-assistant">打开指南</button>

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://gitbook.com/docs/documentation/zh/fen-xi/guides.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
