adobe analytics on ios error | Community
Skip to main content
October 4, 2024
Question

adobe analytics on ios error

  • October 4, 2024
  • 1 reply
  • 905 views

Hello,

 

I develop an hybrid application with capacitor. I have adobe analytics. It runs on Android but on iOS each page has a new idvisitor, so each page is a new application visit.

 

I've got an error in log:

 

[warn] - [alloy] [Identity] Identity cookie not found. This could be caused by any of the following issues: * The org ID [My org id]@AdobeOrg configured in Alloy doesn't match the org ID specified in the edge configuration. * Experience edge was not able to set the identity cookie due to domain or cookie restrictions. * The request was canceled by the browser and not fully processed.

 


I initialize my adobe like this:

 

this.alloy = createInstance({ name: 'alloy' }); await this.alloy('configure', { datastreamId: [ADB_DATA_STREAM_ID], orgId: [ORG_ID] });

 

 
My version: 

 

"@adobe/alloy": "^2.20.0",

 

 
can anyone help me? thanks

 

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

1 reply

SSampsa
Level 4
October 11, 2024

This seems to be an issue with Apple's hybrid web component that is using ITP restrictions, which is likely blocking setting a cookie. Unfortunately I don't have an answer for you on what steps to take in allowing cookies to be set, but perhaps this will give you a lead. I also found this post talking about issues with a similar setup, but its not exactly the same: Capacitor iOS / Cookie Authentication / capacitor/http - Capacitor - Ionic Forum (ionicframework.com)

The cookie referred by the error message is (where [ORGIDNUMBER] is your specific ORG ID):
kndctr_[ORGIDNUMBER]_AdobeOrg_identity