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
BedrockMission!

Learn more

View all

Sign in to view all badges

Cross domain iframe ECID Safari Issue

addams
Level 2
Level 2

On our website we have a page that iframes another page on a different domain name than main website.  We are using the latest versions of VisitorAPI (4.6.0) and AppMeasurement (2.20.0) on both the main website page and the iframed page on a different domain name.  We have noticed only in Safari that a new ECID is generated for the iframed page which splits the visit.  We have attempted to use the whitelistParentDomain and whitelistIframeDomains configurations (https://docs.adobe.com/content/help/en/id-service/using/id-service-api/configurations/whitelistdomai...) for VisitorAPI in the iframed window but this still is not working and we are seeing a new ECID generated for the iframed window in Safari.  We have also attempted to use the appendVisitorIDsTo function (https://docs.adobe.com/content/help/en/id-service/using/id-service-api/methods/appendvisitorid.html) while dynamically/lazy loading the form iframe but a new ECID is generated in Safari for the iframed window as well.  We are also not sure if this function can be used for iframe URLs.  We would like to come up with a way in Safari to allow the ECID used in the iframe to be consistent with the parent window so that visits are not split.  Any help is greatly appreciated.

 

Thank you,

 

Addams

Cross Domain ECID iframe Safari whitelistIframeDomains whitelistParentDomain
2 Replies
KrithikaVittal
Level 1
Level 1

Hi Adam .. Were you able to resolve this issue ? Any inputs will be highly appreciated.Thanks.

addams
Level 2
Level 2

Hello, we ended up having to use a window post message to the parent window approach to workaround this issue.  Article:  https://experienceleague.adobe.com/docs/analytics/implementation/use-cases/iframe.html?lang=en#acces...