Traffic source in session storage lost from domain to subdomain.

Avatar

Avatar

shubhams7318036

Avatar

shubhams7318036

shubhams7318036

25-03-2021

Hello,

 

I have a case to trigger rules based on traffic source, but I see in session storage that traffic source is lost when moving from domain to subdomain as below:-

https://www.allianz-assistance.es/

https://calcular-seguro-viaje.allianz-assistance.es/B2C/TRAVEL/ES/step-1?iframelessBU=default

 

Can I still use Traffic Source as a condition?

What would be required to have Traffic Source maintained between domain and subdomain?

 

PS:

I have already declared both domain and subdomain as internal and not to be tracked as outbount links.

 

Thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar

jkm-disco

Avatar

jkm-disco

jkm-disco

26-03-2021

Hi @shubhams7318036 ,

 

You may want to check out stackoverflow for a general question about local/session storage, answer .

If data is saved on a subdomain, it won't be accessible by another subdomain. The linked answer mentions techniques for gettering around this. As a possible solution from within Launch, you could dynamically update all href's on the relevant <a> elements (dom ready) to include a customized query strings based on data elements or some other custom code. And then add additional logic on the new page to read from the query string.

 

All the best,

J