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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Setting s.visitorID using the Mobile SDK

Khuffie
Level 2
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

1 Accepted Solution
EmiliaDobrin
Correct answer by
Employee
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
EmiliaDobrin
Correct answer by
Employee
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