Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Traffic source in session storage lost from domain to subdomain.

Avatar

Avatar
Validate 1
Level 1
shubhams7318036
Level 1

Likes

0 likes

Total Posts

5 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
shubhams7318036
Level 1

Likes

0 likes

Total Posts

5 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
shubhams7318036
Level 1

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 (2)

Answers (2)

Avatar

Avatar
Coach
MVP
StewSchilling
MVP

Likes

342 likes

Total Posts

278 posts

Correct Reply

85 solutions
Top badges earned
Coach
Give Back 25
Springboard
Bedrock
Validate 1
View profile

Avatar
Coach
MVP
StewSchilling
MVP

Likes

342 likes

Total Posts

278 posts

Correct Reply

85 solutions
Top badges earned
Coach
Give Back 25
Springboard
Bedrock
Validate 1
View profile
StewSchilling
MVP

27-04-2021

Sorry if this has reached you too late.

 

Since both of your URLs are on the same eTLD+1 (allianz-assistance.es), you could use a session cookie to persist info and make it accessible from any URL that is a sub domain of allianz-assistance.es.

 

You could do this in straight JS or you could use the SDI Toolkit's cookie setter action. See https://techdocs.searchdiscovery.com/adobe-solutions/adobe-launch/launch-extensions/sdi-toolkit/acti...

 

Cheers, 

-Stew

 

Avatar

Avatar
Seeker
Level 3
jkm-disco
Level 3

Likes

24 likes

Total Posts

127 posts

Correct Reply

15 solutions
Top badges earned
Seeker
Contributor
Shape 1
Give Back
Affirm 10
View profile

Avatar
Seeker
Level 3
jkm-disco
Level 3

Likes

24 likes

Total Posts

127 posts

Correct Reply

15 solutions
Top badges earned
Seeker
Contributor
Shape 1
Give Back
Affirm 10
View profile
jkm-disco
Level 3

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