ECID value generation | Community
Skip to main content
Employee
February 27, 2024
Solved

ECID value generation

  • February 27, 2024
  • 1 reply
  • 1115 views

I have two cases :

1) I have two site, both sites have different domains ?
(note : we can't go from one domain to another domain )

The ECID will be the same OR different ?

2)I have two site, both sites have different domains ?
(note: we can go from one domain to another domain)
ECID will eb same OR different? do we need cross domain stitching in this case to make ECID same on both the domains ?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Jennifer_Dungan

In most cases, the ECID will be the same, even without cross domain stitching or the user moving directly from one site to the other.

 

You can test this with incognito mode... open Site A in a tab, check your ECID. The open a new blank tab, load Site B in that tab, check your ECID there... they should match.

 

The problem may come if the user loses the third party Demdex cookie between different site visits (expires, user clears cookies, Safari ITP, etc).

 

 

I believe that WebSDK does server side cookies which should make this more stable.

 

Nothing is guaranteed, but for most purposes this should get most scenarios.

 

 

What this will not get is the same user between devices. For that you need Device Graph in CJA.

1 reply

Jennifer_Dungan
Jennifer_DunganAccepted solution
New Participant
February 27, 2024

In most cases, the ECID will be the same, even without cross domain stitching or the user moving directly from one site to the other.

 

You can test this with incognito mode... open Site A in a tab, check your ECID. The open a new blank tab, load Site B in that tab, check your ECID there... they should match.

 

The problem may come if the user loses the third party Demdex cookie between different site visits (expires, user clears cookies, Safari ITP, etc).

 

 

I believe that WebSDK does server side cookies which should make this more stable.

 

Nothing is guaranteed, but for most purposes this should get most scenarios.

 

 

What this will not get is the same user between devices. For that you need Device Graph in CJA.

VidhyaAk1Author
Employee
February 27, 2024

Hi @jennifer_dungan 
thanks for quick reply.
In my case two sites are there, but we have same organization ID, so we are having same demdex cookie sitting on both domains. due to this we are getting same ECID without cross domian tracking?
Am i correct? 

Jennifer_Dungan
New Participant
February 27, 2024

Correct. The Visitor ID Service (Demdex) tries to set the same ECID across all sites in the organization, based on the same Org ID.