# Can Freshpaint track users across domains?

Freshpaint generates a `$device_id` for each unique user and session. You can read more about how sessions are counted in Freshpaint [here](https://documentation.freshpaint.io/reference/faqs/how-does-freshpaint-determine-session-count). This information is stored in a cookie used to track the user throughout the session. Although cookies persist across subdomains, they do not persist across root domains by default.

For example, a user navigating from <mark style="color:red;">**www**</mark>.<mark style="color:orange;">**example.com**</mark> to <mark style="color:red;">**app**</mark>.<mark style="color:orange;">**example.com**</mark> would be tracked as the same user by Freshpaint by default. A user navigating from <mark style="color:green;">[www](http://www).</mark><mark style="color:green;">**domain1**</mark><mark style="color:green;">.com</mark> to <mark style="color:blue;">[www](http://www).</mark><mark style="color:blue;">**domain2**</mark><mark style="color:blue;">.com</mark> would be tracked by Freshpaint as two different users by default.

Freshpaint does have a cross domain tracking feature that can be accessed by paid plans:

{% content-ref url="../../admin-panel/events/advanced-options/cross-domain-tracking" %}
[cross-domain-tracking](https://documentation.freshpaint.io/admin-panel/events/advanced-options/cross-domain-tracking)
{% endcontent-ref %}

If you would like to track users across root domains, please contact <support@freshpaint.io>.
