> For the complete documentation index, see [llms.txt](https://modelmesh.gitbook.io/cline-zhong-wen-ban-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://modelmesh.gitbook.io/cline-zhong-wen-ban-docs/more-info/telemetry.md).

# Telemetry

#### Overview <a href="#overview" id="overview"></a>

To help make Cline better for everyone, we collect anonymous usage data that helps us understand how developers are using our open-source AI coding agent. This feedback loop is crucial for improving Cline's capabilities and user experience.

We use PostHog, an open-source analytics platform, for data collection and analysis. Our telemetry implementation is fully transparent - you can review the [source code](https://github.com/cline/cline/blob/main/src/services/telemetry/TelemetryService.ts) to see exactly what we track.

#### Tracking Policy <a href="#tracking-policy" id="tracking-policy"></a>

Privacy is our priority. All collected data is anonymized before being sent to PostHog, with no personally identifiable information (PII) included. Your code, prompts, and conversation content always remain private and are never collected.

#### What We Track <a href="#what-we-track" id="what-we-track"></a>

We collect basic anonymous usage data including:

**Task Interactions:** When tasks start and finish, conversation flow (without content) **Mode and Tool Usage:** Switches between plan/act modes, which tools are being used **Token Usage:** Basic metrics about conversation length to estimate cost (not the actual content of the tokens) **System Context:** OS type and VS Code environment details **UI Activity:** Navigation patterns and feature usage

For complete transparency, you can inspect our [telemetry implementation](https://github.com/cline/cline/blob/main/src/services/telemetry/TelemetryService.ts) to see the exact events we track.

#### How to Opt Out <a href="#how-to-opt-out" id="how-to-opt-out"></a>

Telemetry in Cline is entirely optional and requires your explicit consent:

* When you update or install our VS Code extension, you'll see a simple prompt: "Help Improve Cline" with Allow or Deny options
* You can change your preference anytime in settings

Cline also respects VS Code's global telemetry settings. If you've disabled telemetry at the VS Code level, Cline's telemetry will automatically be disabled as well.


---

# 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://modelmesh.gitbook.io/cline-zhong-wen-ban-docs/more-info/telemetry.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.
