16
Views
2
Comments
How to get Visitor ID for Mobile application in Outsystem ?
Application Type
Mobile

Hi,

Actually I am trying to capture visitor id for data analytics reason where I need it for the current active session to pass it to a API for mobile application  in the logic flow, but not sure where I am getting this id ?

2023-10-21 19-42-11
Tousif Khan
Champion

Hello

Visitor Id, Is that a  logged in user Id you need?

If you need a logged in user id you can simply use a function

GetUserId() 

It will return you the logged in user Id.

Thanks
Tousif Khan

UserImage.jpg
Shravan Ghanchi

User Id and visitor Id are two different things.

The Android SDK generates a unique visitor ID when an app is installed. This ID is stored in persistent memory on the mobile device, is sent with every hit, and is removed only when the user uninstalls the app. 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.