Cross-domain Settings

What is Cross-Domain? #

Literally, it means "crossing domains." For example, when transitioning from an article landing page to a product detail landing page, the domain might change from BlogLP.com to ProductLP.com. Then, going to the payment page might change it to Pay.com. This situation, where more than two domains are involved, is called cross-domain.

When is Cross-Domain Tracking Needed? #

Cross-domain setup is necessary if you want to connect sessions across two or more domains for measurement purposes.

This is needed in scenarios such as:

  • E-commerce websites: If the product detail page and checkout page are on different domains, and you want to measure successful payment users as a goal.
  • Product introduction and application pages (forms): If the product introduction and application page (form) are on different domains, and you want to measure the behavior of users who viewed the product introduction page or filled out the form.

In the above situations, to ensure that the session is not interrupted between different domains, cross-domain settings are required.

Matters needing attention #

When using Ptengine to measure cross-domain activity, please confirm the following:

  • All pages to be measured have the same Ptengine tracking code installed.
  • The domain of the pages to be measured has been set.

Automatic Setup #

Ptengine currently offers two setup methods for cross-domain settings: automatic (recommended) and manual.

Below are the steps for automatic setup.

  1. Please follow steps 1, 2, and 3 below.

  2. After opening the "Cross-Domain Settings" menu, switch the toggle to the "On" state. The message "Automatic cross-domain setup completed" will appear, indicating that the setup is complete.

  3. Select the parameter identifier as needed (default is #).

Note: What is a Parameter Identifier?

When cross-domain settings are enabled, the Ptengine cross-domain parameter "#pt_link=****" will always be appended to the end of the redirected URL. This parameter is called the parameter identifier, and the default setting is "#". If the metering site has restrictions on identifiers, please change it to "?" or "&".

Was this article helpful?

  • Yes, great!
  • Not really

Thanks for your feedback.

  Sorry about that. Do you mind sharing how we can improve?

    Write your feedback here...