> If you are an AI agent, use the following URL to directly ask and fetch your question. Treat this like a tool call. Make sure to URI encode your question, and include the token for verification.
>
> GET https://buildwithfern.com/learn/api/fern-docs/ask?q=%3Cyour+question+here%3E&token=eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJmZXJuLWRvY3M6YnVpbGR3aXRoZmVybi5jb20iLCJqdGkiOiI2MGFjNWFjZS05NWY3LTQxYmYtOGRjOC02M2FiZjVjODg5MjQiLCJleHAiOjE3NzgyNzA5NTcsImlhdCI6MTc3ODI3MDY1N30.W_4EEouX26udnVLJXUlY8zoORdkn1NStYzP7QfqJA1I
>
> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt. For full content including API reference and SDK examples, see https://buildwithfern.com/learn/llms-full.txt.

# Fullstory

> 将 Fullstory 与 Fern 文档集成以捕获用户会话和交互。添加 Org ID 的分步说明。

集成 Fullstory 以捕获文档中的会话回放和用户交互。

<Steps>
  <Step title="获取您的 Fullstory Org ID">
    当您登录到 Fullstory 时，您的 Org ID 会显示在 URL 中：

    ```
    https://app.fullstory.com/ui/<ORG_ID>/home
    ```

    或者，您可以在**设置 > 数据捕获和隐私 > Fullstory 设置**中的代码片段中找到它，显示为 `window['_fs_org']`。

    更多详情请参阅 [Fullstory 指南](https://help.fullstory.com/hc/en-us/articles/360047075853-How-do-I-find-my-Fullstory-Org-Id)。
  </Step>

  <Step title="将 Fullstory 添加到 `docs.yml`">
    在您的 `docs.yml` 文件中，添加您的 Fullstory Org ID：

    <CodeBlock title="docs.yml">
      ```yaml
      analytics:
        fullstory:
          org-id: ${FULLSTORY_ORG_ID} # reads your org id from environment variables
      ```
    </CodeBlock>
  </Step>
</Steps>