SOLVED

Cross domain tracking with Cookies to form fills.

Go to solution
Pieter_Leeflan1
Level 2

Cross domain tracking with Cookies to form fills.

Hi All,

 

We've set up our Cross Domain Tracking with GA however we're having some problems with cookies carrying from one domain to the other so we can populate hidden fields on forms. 

 

i've set up variables in GTM to pull UTM values and store them as cookies. They store fine on our primary domain and carry from page to page but once we move to a subdomain the values are lost. If I go back to our primary domain they're still there. Whats the best way to get them to carry over domains? Anyone have any experience on this? 

 

Cheers,

 

Pieter

1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: Cross domain tracking with Cookies to form fills.

even though we own the domain it's not classified as a subdomain right?  


Right. Ownership at the registrar level isn't involved at all.

 


What do you think would solve this? script that pulls the cookie values and puts them into the URL that links to the taleo pages? is that even possible. 

Sure, that's the easiest way to solve it.  If you know where all those outbound links are, you can "decorate" the query string with the cookie values.

View solution in original post

5 REPLIES 5
SanfordWhiteman
Level 10 - Community Moderator

Re: Cross domain tracking with Cookies to form fills.

To help troubleshoot this, we'd need your URLs, and the real cookie names you're using.

 

In the abstract: a cookie set at a parent domain is accessible to all subdomains unless the subdomains have their own copy of a cookie with the same name. Note, though, that www.example.com  is not the parent domain of pages.example.com; only example.com  is the parent of both www.example.com   and pages.example.com.

 

Pieter_Leeflan1
Level 2

Re: Cross domain tracking with Cookies to form fills.

Hi,

Vituity.com, Careers.vituity.com, go.vituity.com, and medamerica.taleo.com (somehow after our rebrand taleo(Oracle) couldn't update that). 

We don't have forms set up to pull from cookies. the main goal with this is to capture it on the taleo side (job application) which are not Marketo forms so the script to populate the fields doesn't exist yet. 

SanfordWhiteman
Level 10 - Community Moderator

Re: Cross domain tracking with Cookies to form fills.


Vituity.com, Careers.vituity.com, go.vituity.com, and medamerica.taleo.com (somehow after our rebrand taleo(Oracle) couldn't update that). 

We don't have forms set up to pull from cookies. the main goal with this is to capture it on the taleo side (job application) which are not Marketo forms so the script to populate the fields doesn't exist yet. 


Well, you can't share cookies between medamerica.taleo.com and anything that ends with vituity.com. Is that what you're trying to do?

Pieter_Leeflan1
Level 2

Re: Cross domain tracking with Cookies to form fills.

even though we own the domain it's not classified as a subdomain right?  People only can get to the taleo page through careers.vituity.com. What do you think would solve this? script that pulls the cookie values and puts them into the URL that links to the taleo pages? is that even possible. 

Thanks,

Pieter

SanfordWhiteman
Level 10 - Community Moderator

Re: Cross domain tracking with Cookies to form fills.

even though we own the domain it's not classified as a subdomain right?  


Right. Ownership at the registrar level isn't involved at all.

 


What do you think would solve this? script that pulls the cookie values and puts them into the URL that links to the taleo pages? is that even possible. 

Sure, that's the easiest way to solve it.  If you know where all those outbound links are, you can "decorate" the query string with the cookie values.