Creating GA4 cookie with third-level domain

Hi, is it possible to set a first party a cookie with a third level domain like even when my server is hosted on Has anyone done it before? Are there any limitations regarding the stape hosting?
Thank you

the cookies are most commonly set for the top level domain so for therefore they are shared across all subdomains of this tld. Bottom line is yes, it’s allright and it will work.

1 Like

Thank you, Dan. By the way is it possible to set the first party cookie even when the server is hosted on different top level domain? let say hosted on and the cookie would be for

no, not possible, that would be a 3rd party cookie.