Expand my Community achievements bar.

AEP Web SDK - First party Edge Domain configuration resets ECID on page load

Avatar

Level 1

I have tried to configure AEP Web SDK/CDP in the first-party context: 

1. Adobe Launch to be self-hosted.

2. Reverse proxy to forward the Web SDK network calls from the first-party domain to the original Adobe Edge domain default folder /ee (edge.adobedc.net/ee).

3. Datastream configuration to pick the FPID cookie value. (can be accessed via Adobe Launch, verified as a cookie data element value).

 

At the moment, I have configured the edge domain not to be the original edge.adobedc.net, but one of the websites. It starts to mess up the ECID value, giving it a new one with each payload. The FPID cookie value stays the same on the page (re)load, but it seems it is not utilised to generate the same ECID. 

 

Also, originally used JavaScript to get the ECID value for the custom solution for the identityMap, but even when removing that part, having no ECID JS the problem stays. 

 

And in the end, I can see the data in the dataset/CJA, but every page has a new ECID. 

 

Any tips/tricks what to check in the configuration, or how to debug the moment when/if Web SDK can or cannot access the ECID generated on the previous pageload or the FPID as well? 

2 Replies

Avatar

Community Advisor

@AleksandarRi Did you tried these method to debug your web app?

 

1) https://experienceleague.adobe.com/en/docs/experience-platform/web-sdk/use-cases/debugging

2) https://experienceleague.adobe.com/en/docs/experience-platform/web-sdk/monitoring-hooks

 

Also few of the cases i have seen which might generate new ECID for every page reload (or new request). 

1) Third party cookie enablement would disrupt sometime.

2) try to proxy or block web app related code to find out that some one have not written cookie deletion.

 

Let me how it goes and happy to help more on this.

 

~cheers,

Naresh Nakirikanti.

 

Avatar

Level 3

Hello, @AleksandarRi,

 

Can I ask you some questions:
1. Can you please send some screenshots related to your proxy implementation. 

2. You said the following "At the moment, I have configured the edge domain not to be the original edge.adobedc.net, but one of the websites. It starts to mess up the ECID value", can I ask you why did you have to do that change?

3. Where did you configure that FPID inside RTCDP? Could you send a screenshot of that config? As I understand, it has to be in the Datastream configuration. 

4. Do you collect the FPID with identityMap right now or only with a data element from cookies?

 

I think that the problem might be related to how you are stitching the FPID and the ECID.