> 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/insight/setting/cross-domain.md). Agents can also search and read this documentation through its [MCP server](https://helps.ptengine.com/~gitbook/mcp).

# Cross-Domain Configuration

## Cross-Domain Configuration <a href="#cross-domain-configuration" id="cross-domain-configuration"></a>

> **SUCCESS**
>
> **What is Cross-Domain?**
>
> A feature to measure user behavior across multiple different domains as one continuous session.

### Benefits of This Feature <a href="#benefits-of-this-feature" id="benefits-of-this-feature"></a>

Since sessions are not interrupted even when moving between domains, you can accurately track and analyze a series of user behaviors.

### Common Use Cases <a href="#common-use-cases" id="common-use-cases"></a>

This feature is useful in the following scenarios where users move between multiple domains.

**E-commerce Site:** When the product detail page and checkout page have different domains

**Website:** When the product introduction page and inquiry form page have different domains

**（Example）** Article Landing Page (`kijiLP.com`) → Main Landing Page (`honLP.com`) → Payment Page (`pay.com`)

## Prerequisites (Important) <a href="#prerequisites-important" id="prerequisites-important"></a>

Place the same Ptengine basic tag on all pages

Domain registration for pages you want to measure is complete

Cross-domain configuration is turned ON

### Configuration Method <a href="#configuration-method" id="configuration-method"></a>

Automatic configuration is most recommended. Other methods include full manual configuration, semi-manual configuration, and API integration. For more details, please see this article.

Please proceed with automatic configuration in the following steps ①→②→③.

When you open the "Cross-Domain Configuration" menu, slide the switch to ON. When the message "Automatic cross-domain configuration has been completed" appears, the configuration is complete. Select a parameter identifier as needed (by default, it is set to #).

### **What is a Parameter Identifier?** <a href="#what-is-a-parameter-identifier" id="what-is-a-parameter-identifier"></a>

When you enable cross-domain configuration, the Ptengine cross-domain parameter "#\_pt\_link=\*\*\*\*" will always be added to the end of the transitioned URL. The symbol used to identify this parameter is called a parameter identifier, and it is set to "#" by default. Change to "?" or "&" if the measurement site restricts the identifier.

**When "#" is selected:**

[www.domain.com/path/#\_pt\_link=\*\*\*\*](https://helps.ptengine.com/en/insight/setting/cross-domain.md)

**When "?" or "&" is selected:**

(1) [www.domain.com/path/?\_pt\_link=\*\*\*\*](https://helps.ptengine.com/en/insight/setting/cross-domain.md)

(2) [www.domain.com/path/?campiagn=test&\_pt\_link=\*\*\*\*](https://helps.ptengine.com/en/insight/setting/cross-domain.md)

If "?" is already used in the URL, it will be connected with "&" as shown in (2) above.

### Important Notes <a href="#important-notes" id="important-notes"></a>

This setting applies to both Ptengine Insight and Experience.

Please note that if the configuration is not turned ON, cross-domain measurement will not be applied in Experience.
