> For the complete documentation index, see [llms.txt](https://helps.ptengine.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://helps.ptengine.com/en/start-guide/quick/data-collection.md).

# Data Collection

In this section, we will explain how Ptengine collects data and what data Ptengine gathers.\
We will also address data security concerns.

### Ptengine's Data Collection <a href="#ptengine-de-shu-ju-cai-ji" id="ptengine-de-shu-ju-cai-ji"></a>

Ptengine's data collection is implemented through a simple code snippet. For details, refer to the basic code setup guide. The mechanism can be understood as shown in the following diagram:![Alt text](https://help-ptengine-com-vitepress.oss-cn-guangzhou.aliyuncs.com/Introduction/1-3/cai-ji.png)

### Ptengine's Data Dimensions <a href="#ptengine-de-shu-ju-wei-du" id="ptengine-de-shu-ju-wei-du"></a>

Ptengine's data collection can be broadly divided into three dimensions:

* Session-level data: Metrics include code-based events and visual events.
* Page-level data: Ptengine parses page packets to obtain user device information, geographic information, and more.
* User-level data: Includes user interaction behavior on the page, cookies, device ID, and performance data.

### Ptengine's Data Security <a href="#ptengine-de-shu-ju-an-quan" id="ptengine-de-shu-ju-an-quan"></a>

* Data theft prevention: Our dedicated operations team ensures that our data is not stolen or accessed externally.
* Data storage: Ptengine uses a distributed database to ensure data stability.
* Data leak prevention: We ensure that each customer's information is never disclosed to any third party.
