# Tracking Code Correctly Deployed but No Data Flowing In

### 1. Common Causes <a href="#id-1-chang-jian-yuan-yin" id="id-1-chang-jian-yuan-yin"></a>

* **Some pages are missing the Ptengine tracking code**
  * The tracking code must be installed on all pages you want to track. If you have restricted the tracking scope, make sure the target pages are included.
* **Data delay**
  * Even if the tracking code has been correctly installed, data may not appear immediately due to delay.
  * After installing the tracking code, data requires at least one session settlement period (default is 30 minutes after session inactivity) before it is reflected in the overview or heatmap.
* **Incorrect domain settings**
  * Please check in the "Profile Settings" of the management dashboard that the registered domain is correct. Ptengine only tracks the configured domain.
* **Incorrect data time range**
  * Make sure the target time range starts from the date the tracking code was installed.
* **PC website and mobile website have different HTML source code**
  * Make sure the Ptengine tracking tag is also installed in the HTML source code of the mobile website.
* **Browser extensions blocking Ptengine**
  * If ad-blocking software is installed, it may block Ptengine's tracking.
* **Excluding specific IP or UA visits**
  * Make sure Ptengine is not configured to exclude specific visits.
* **Website uses CSP**
  * If the website uses a Content Security Policy (CSP) but has not added Ptengine's domain to the whitelist, tracking may not work correctly.

### 2. How to Verify Data Measurement <a href="#id-2-que-ren-shu-ju-ce-liang-fang-fa" id="id-2-que-ren-shu-ju-ce-liang-fang-fa"></a>

Steps to verify real-time data:

1. Open the target page in a new tab.
2. Go to the "Real-time" tab in the Ptengine management dashboard and enter the test URL in the URL bar.
3. If you can see the visit record, the tracking is working correctly.


---

# 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/en/faq/tracking-code/no-data-after-deploy.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.
