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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

What does it will happen with visit if I change of domain

Avatar

Level 2

Hi, 

Let's think on this scenario (all hits are send to same Report Suite):

  1. I get to www.oscar.com/home. On this site I setup: evar1="My awesome site".
  2. User click on Login button. It redirects to www.oscarlogin.com (different domain). On this second domain I setup: evar1="My awesome site", evar2="userId123456", event1=1 (Login Initiated), event2=1 (Login Completed).
  3. Once login is completed, user is redirected to www.oscar.com/secure-page. In here I track many other eVars and events. 

What does it will happen with visits? Are we going to have on this case 1 visit or 2 visits (1 for each domain)?

2 Replies

Avatar

Community Advisor

I assume you are using the Experience Cloud Id, and all sites are pointed at your organization (this will mean the user cookies should identify the same user). Then you should just make sure all the domains are configured as "Internal Servers", it should track as a single visit... you don't want to link out to the second domain to trigger an exit link.. that causes some issues (but if all servers are set as internal this shouldn't happen).

 

I use a global suite setup that has multiple domains on it, and when moving from site to to site they are treated as part of the same visit.

Avatar

Level 2

The Experience Cloud ID Service cross domain works if the 3rd party cookies are enabled. As you know 3rd party are less and less used, so please bear in mind.

Another approach is to pass the visitorID across the domains with this method:

https://experienceleague.adobe.com/docs/id-service/using/id-service-api/methods/appendvisitorid.html...