> For the complete documentation index, see [llms.txt](https://documentation.freshpaint.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.freshpaint.io/admin-panel/events/advanced-options/cross-domain-tracking.md).

# Cross Domain Tracking

### Overview

Our Cross-Domain Tracking feature ensures seamless user tracking across multiple domains by passing data from one domain to another when Freshpaint is installed on all involved domains using the same environment ID.

This feature satisfies both analytics and ads attribution use cases, eliminating tracking gaps, enhancing analytics accuracy, and supporting a more comprehensive understanding of the customer journey.

### How it works

When a user navigates from one domain to another, configured parameters (such as UTM parameters and click ids) are appended to the URL. These parameters are then captured by Freshpaint on the next domain.

For session and device ids, Freshpaint will only preserve the session/device ID from the previous domain if there is no session/device ID set on the next domain (i.e. the user hasn’t visited that domain before).

Note that the more parameters you add, the longer the url will become. It's recommended to only pass along the essential parameters you need from one domain to the next.

If you would like to take advantage of this feature, contact <support@freshpaint.io> and we will help you configure your cross domain settings.

### Supported IDs/Parameters

See below for a comprehensive list of all parameters supported by the cross domain tracking feature.

#### Click IDs

These are needed for ad attribution based on what sort of ads destinations you have enabled.

* clid\_src
* cntr\_auctionId
* dclid
* epik
* fbclid
* gbraid
* gclid
* gclsrc
* irclickid
* li\_fat\_id
* msclkid
* rdt\_cid
* sapid
* ttclid
* ttdimp
* twclid
* viant\_clid

#### Freshpaint Identifiers

These are typically needed for analytics attribution tracking in analytics destinations like Google Analytics 4

* $session\_id
* $device\_id

#### UTM Parameters

These are typically needed for analytics attribution tracking in analytics destinations like Google Analytics 4

* utm\_campaign
* utm\_content
* utm\_medium
* utm\_source
* utm\_term


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://documentation.freshpaint.io/admin-panel/events/advanced-options/cross-domain-tracking.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.
