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

SOLVED

Direct Integration of ECID

Rajashankar
Level 4
Level 4

Hi All,

We are trying to do a direct integration of ECID as mentioned in below guide.

https://experienceleague.adobe.com/docs/id-service/using/implementation/direct-integration-examples....

 

As per the sample using below API call to DCS i can get MCID by passing OrgID.

 

https://dpm.demdex.net/id?d_orgid=5555&d_ver=2

 

But this ECId is first time ECID i mean already we have a ECID(MID) as part of Site A(This site as VistorAPI.js implemented via Launch ECID extensions) visit by customer now Customer is visiting Site B(This site does not have Launch ECID integration) we want to get the same ECID which the customer got when he visited Site A. As per my understanding inorder to get same ECID i need to pass OrgID along with Demdex ID in thrid party cookie to get same ECID for Site B explicitly. Now i dont see a way of passing demdex id in the above DCS API call. How can i pass ORGID+DEMDEX ID via direct DCS call and get same ECID(MID)

 

Please help..

 

Regards,

Rajashankar.R

1 Accepted Solution
Rajashankar
Correct answer by
Level 4
Level 4

Hi All,

I had explored and found a solution for this approach and i had documented the same in below article.

 

https://rajashankardigital.blogspot.com/2021/09/extract-adobe-ecid.html

 

Issue is resolved now.It was the same dcs api call which will work differently depending on cookie setup for first time call and subsequent calls.

 

Regards,

Rajashankar.R

View solution in original post

2 Replies
pradeep_nextrow
Level 2
Level 2

Hi @Rajashankar, I think it will not work here as this method will only give a new MID or ECID. The direct integration use cases are only for devices or scenarios where the library is not present and you want to generate a (new) ECID id. The ECID is a mathematical hash of your UUID (3rd party cookie) and your org id, but the UUID is generated when the first call goes to dpm.demdex (happens server-side) and I think this is not exposed in the calls as a parameter. Alternatively, for cross domain tracking, you can have a custom JS at SiteB's head tag to look for ECID (directly from the cookie in a second-party context from SiteA) and use it to redirect with ECID appended to SiteB's URL using "appendVisitorIDsTo". Refer here - https://experienceleague.adobe.com/docs/id-service/using/id-service-api/methods/appendvisitorid.html... 

Rajashankar
Correct answer by
Level 4
Level 4

Hi All,

I had explored and found a solution for this approach and i had documented the same in below article.

 

https://rajashankardigital.blogspot.com/2021/09/extract-adobe-ecid.html

 

Issue is resolved now.It was the same dcs api call which will work differently depending on cookie setup for first time call and subsequent calls.

 

Regards,

Rajashankar.R

View solution in original post