Issue with the adobe visitor id between native app and Webviews
Issue: In the Android and iOS apps, we present content to users from both native screens and web views. To ensure the user is counted uniquely and tied to the same session, we use the "appendVisitorIDsTo" app SDK method to append the "adobe_mc" parameter to the URL of web view page loads. However, there have been instances where we launched new web view navigations in the app and missed implementing appendVisitorIDsTo, while all existing web view navigations have this method properly implemented.
appendVisitorIDsTo doc -- https://experienceleague.adobe.com/en/docs/id-service/using/id-service-api/methods/appendvisitorid
Our observation is that when a user installs the app and accesses any web view that doesn't have the "adobe_mc" parameters appended, a new ECID is created for that visitor on the web view. This new ECID persists across all subsequent web view navigations regardless of different ECIDs being passed in the "adobe_mc" parameter, resulting in inflated visitor and visit counts in the reports.
Expected: When a page is loaded with the provided ECID in the "adobe_mc" parameter, the ECID on the page should be reset with the one provided in the URL, ensuring the same visitor is counted on both screens.
We have simulated the following 2 scenarios:
Scenario 1
The user accesses the first web view without the adobe_mc parameter.
A new ECID is generated on the web view.
Subsequent web views have the adobe_mc parameter appended, but all Adobe Analytics hits use the new ECID generated on the first page load.
This results in the Unique Visitor count and visit count being inflated to 2 in the reports.
The app was installed freshly from the app store to test this scenario.
Scenario 2
The user accesses the first web view with the adobe_mc parameter.
The same ECID is synced on the web view for the page load.
A subsequent web view without the adobe_mc parameter still maintains the ECID synced with the native app session.
The Unique Visitor count and visit count remain as 1 in the reports.
The app was installed freshly from the app store to test this scenario.
The main concern and expected resolution:
As observed in Scenario 1, ensuring the adobe_mc parameter is appended to the URL will sync the visitor ID correctly for new users. However, for users who have already encountered this issue, the new visitor ID generated on the web view will persist.
Why does the adobe_mc parameter not sync the ECID on the web view as expected?
Is it possible to correct this issue for users who have already been impacted? If yes, what would be the recommended approach?
Any documentation or recommendation is highly appreciated!
We are confident Scenario 1 is affecting our actual user base. Our data analysis of raw data feeds, comparing hits with the adobe_mc in the full page URL and the ECID value in the hit, shows that over the last 3 months, approximately 30% of iOS visitors and 10% of Android visitors have been impacted by this issue.
Thanks,
Nitesh