Expand my Community achievements bar.

SOLVED

Setting s.visitorID using the Mobile SDK

Avatar

Level 2

We're trying to ensure the same visitor from web and a mobile app are counted as the same unique visitor, rather than two separate visitors.

According to this documentation: Connecting Users Across Devices

We need to set the s.visitorID for users that are logged in. This is easy to do in web via DTM, but how do we set the visitorID via the mobile app SDKs (iOS). (Note we currently don't have Experience Cloud setup - Analytics is the only Adobe product we're using, and as I understand it, regardless, we still need to set a custom visitorID

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Employee

Hello Khuffie​,

You can use the setUserIdentifier Mobile SDK API to set your custom visitor id. Please find more details in our public documentation: Configuration Methods​.

Emilia Dobrin

Sr. Mobile Engineer

Adobe Experience Cloud

View solution in original post

1 Reply

Avatar

Correct answer by
Employee

Hello Khuffie​,

You can use the setUserIdentifier Mobile SDK API to set your custom visitor id. Please find more details in our public documentation: Configuration Methods​.

Emilia Dobrin

Sr. Mobile Engineer

Adobe Experience Cloud