# 数据采集

本节我们将向您介绍Ptengine是通过什么方式进行数据采集的，以及Ptengine都会收集哪些数据。\
同时我们也会对数据安全问题做出介绍。

### Ptengine的数据采集 <a href="#ptengine-de-shu-ju-cai-ji" id="ptengine-de-shu-ju-cai-ji"></a>

Ptengine的数据采集是通过一段很简单的代码来实现的，具体可以参考基础代码设置。 机制可以理解为如图所示：![Alt text](https://help-ptengine-com-vitepress.oss-cn-guangzhou.aliyuncs.com/Introduction/1-3/cai-ji.png)

### Ptengine的数据维度 <a href="#ptengine-de-shu-ju-wei-du" id="ptengine-de-shu-ju-wei-du"></a>

Ptengine数据采集可以大致分为以下三个维度：

* 访次级数据：指标包括埋点事件和可视化事件。
* 页面级数据：Ptengine对页面包进行解析，以获取用户的设备信息、地理信息等。
* 用户级数据：包括用户在页面中的交互行为、cookie、设备ID以及性能数据。

### Ptengine的数据安全 <a href="#ptengine-de-shu-ju-an-quan" id="ptengine-de-shu-ju-an-quan"></a>

* 数据窃取：我们完善的运营团队确保我们的数据不会被窃取或外部访问。
* 数据存储：Ptengine采用的是分布式数据库，可以确保数据的稳定性。
* 数据泄漏：我们确保每一位客户的信息不会泄露至任何第三方。


---

# Agent Instructions: 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:

```
GET https://helps.ptengine.com/cn/start-guide/quick/data-collection.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
