I'd like to set a cookie using DTM's _satellite.setCookie function, however it seems that I can only set a cookie against the specific subdomain of the site it's set on, rather than the domain.
I'm tying to write a member id cookie on signup.domain.com based on a completed signup, and pick up that cookie value on community.domain.com, however when I look at the cookie itself I can see it's set against signup.domain.com, and is therefore not seen by community.domain.com.
Is there a way I can set this cookie against .domain.com using _satellite.setCookie?
Unfortunately, you cannot use _satellite.setCookie to set a cookie on a user specified domain. The function doesn't explicitly define domain when setting the cookie. Therefore, the default domain is used which corresponds to the current hostname (domain and subdomain both).