# Goal FAQ

## Unable to Obtain Goal Result Data Correctly <a href="#wu-fa-zheng-que-huo-de-mu-biao-jie-guo-shu-ju" id="wu-fa-zheng-que-huo-de-mu-biao-jie-guo-shu-ju"></a>

1. **Is the basic tracking code installed?**
   * Please confirm that the basic tracking code is correctly installed on the goal page. If the basic tracking code is not installed or is not functioning properly on the goal page, goal registration cannot be measured correctly. You can check the tracking code installation status by following the instructions [here](https://gitlab.com/PtmindDev/ptx/ptengine-helps/-/blob/main/DOCS/en/start-guide/check-tag-firing.md).
2. **Is there a cross-domain issue?**
   * If the goal registration page and the preceding page are on different domains, the session will be interrupted, preventing correct measurement. In this case, you need to set up cross-domain tracking to maintain the session. For instructions on setting up cross-domain tracking, please refer to [here](https://gitlab.com/PtmindDev/ptx/ptengine-helps/-/blob/main/DOCS/insight/setting/cross-domain.md).

## Unable to Correctly Measure Campaign Goals <a href="#wu-fa-zheng-que-ce-liang-huo-dong-mu-biao" id="wu-fa-zheng-que-ce-liang-huo-dong-mu-biao"></a>

1. **Has the Experience been triggered?**
   * The Experience must be displayed before the goal is reached; otherwise, it cannot be measured as a campaign goal. Please check whether the Experience is displaying correctly. If the Experience has not been triggered, subsequent goal counts cannot be tracked.
2. **Was the goal reached in the correct order?**
   * The Experience must be displayed first, and then the goal must be reached for correct measurement. If the goal is reached before the Experience is displayed, the campaign goal cannot be measured.

## Difference Between Conversion and Goal / Why Conversion and Goal Don't Match <a href="#zhuan-hua-yu-mu-biao-di-qu-bie" id="zhuan-hua-yu-mu-biao-di-qu-bie"></a>

Insight and Experience each provide features for measuring user behavior on a website, called "Conversion" and "Goal" respectively. Due to different analytical purposes, they use different measurement logic, and even with the same settings, the measurement results will differ.

### Measurement Definition Differences Between Conversion and Goal <a href="#zhuan-hua-he-mu-biao-di-ce-liang-ding-yi-cha-yi" id="zhuan-hua-he-mu-biao-di-ce-liang-ding-yi-cha-yi"></a>

![different](/files/KjMK2u2ImTVpkBmSDIyO)

Since Insight's purpose is to "understand customers intuitively through data" and Experience's purpose is to "quickly improve based on insights and website improvement points gained from Insight," the measurement definitions for Conversion and Goal are as follows:

* Insight Conversion: The number of sessions that met the specified conditions
* Experience Goal: The number of unique users that met the specified conditions

### Example <a href="#an-li" id="an-li"></a>

![](https://help-ptengine-com-vitepress.oss-cn-guangzhou.aliyuncs.com/crossdomain/%E3%83%95%E3%82%9A%E3%83%AC%E3%82%BB%E3%82%99%E3%83%B3%E3%83%86%E3%83%BC%E3%82%B7%E3%83%A7%E3%83%B31-2.png)

**Setup**

* Experience Goal: Reaching the Thanks page
* Insight Conversion: Reaching the same page

With the above settings, given the following visit patterns, the Insight Conversion count is +3 (because it counts sessions that reached the goal), while the Experience Goal count is only +2 (because it counts unique users that reached the goal).

**Actual User Behavior**

* Session 1: Reached the Thanks page
* Session 2: Also reached the Thanks page
* Session 3: Reached the Thanks page
* Session 4: Did not reach the Thanks page

**Measurement Results**

* Experience Goal: 2 (User A, User B)
* Insight Conversion: 3 (Session 1, 2, 3)


---

# 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/others/goal-faq.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.
