Direct Integration of ECID | Community
Skip to main content
RajaShankar
Community Advisor
Community Advisor
July 28, 2021
Solved

Direct Integration of ECID

  • July 28, 2021
  • 2 replies
  • 1454 views

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.html?lang=en

 

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

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 RajaShankar

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

2 replies

pradeep_nextrow
Level 4
August 18, 2021

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?lang=en 

RajaShankar
Community Advisor
RajaShankarCommunity AdvisorAuthorAccepted solution
Community Advisor
September 9, 2021

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