Skip to main content
Jun 16, 2016 5:55 AM UTC
Solved

unique visitor ID in mobile app

Hello,

recently I saw the following information about setting the unique ID for unique visitors in mobile apps.

"The SDK generates a unique visitor ID when an app is installed. This app visitor ID is stored within persistent memory on the mobile device and is sent with every hit. The app visitor ID is removed only when the user uninstalls the app (app visitor IDs persist through upgrades)."

source: https://marketing.adobe.com/resources/help/en_US/mobile/ios/hybrid_app.html

I try to figure out, whether when user clear app cache or data, visitor ID remains unchanged? I am curious because in our mobile application we register a suspicious number of new unique visitors...

Thank you in advance for your help.

Best,

Adrian

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
SteveBe8Accepted solution
Adobe Employee
Jun 20, 2016 3:42 PM UTC

@Adrian, @Tanmay - 

It is accurate that a delete and reinstall of the app will cause a new visitor to be generated.  

I need to clarify that while clearing app cache will not cause a new Visitor ID to be created, clearing app data will result in a new Visitor ID being created.  Also worth noting that the SDK uses no information about the device when generating the Visitor ID.

Sorry for the confusion.  Hope this helps.

 

steve benedick

sr mobile software engineer

12 replies

TanmayMathur
Adobe Employee
Adobe Employee
Jun 17, 2016 5:15 AM UTC

Hi Adrian,

Yes, the uinque ID will remain unchanged when a user clears app cache or data. The ID is a combination of Device ID and identifier from SDK. Let me know if thats helpful. Thanks!

Tanmay

Translate
Jun 20, 2016 5:37 AM UTC

Thank you Tanmay.

So I can assume that a new app unique vistor is registered only when application is reinstall, right?

Best,

Adrian

Translate
TanmayMathur
Adobe Employee
Adobe Employee
Jun 20, 2016 6:38 AM UTC

Hi Adrian, 

Yes, when a user un-installs the app and re-installs it later, a new unique visitor ID will be created. But If your app opens mobile web content, you need to take extra steps to ensure that visitors are not separately identified as they move between the native and mobile web. You can view this documentation to ensure that - https://marketing.adobe.com/resources/help/en_US/mobile/android/hybrid_app.html

Thanks!

Tanmay

Translate
Jun 20, 2016 7:00 AM UTC

You are right Tanmay!

Thank you for your support.

Best,

Adrian

Translate
SteveBe8Adobe EmployeeAccepted solution
Adobe Employee
Jun 20, 2016 3:42 PM UTC

@Adrian, @Tanmay - 

It is accurate that a delete and reinstall of the app will cause a new visitor to be generated.  

I need to clarify that while clearing app cache will not cause a new Visitor ID to be created, clearing app data will result in a new Visitor ID being created.  Also worth noting that the SDK uses no information about the device when generating the Visitor ID.

Sorry for the confusion.  Hope this helps.

 

steve benedick

sr mobile software engineer

Translate
TanmayMathur
Adobe Employee
Adobe Employee
Jun 21, 2016 5:03 AM UTC

Hey Steve, 

Thanks for jumping in here and bringing in clarity on this concept. Appreciate that a lot! 

Tanmay

Translate
Jun 21, 2016 5:08 AM UTC

Thank you Steve.

Could you please just explain what do you mean by: "Also worth noting that the SDK uses no information about the device when generating the Visitor ID." ?

Adrian

Translate
Adobe Employee
Jun 21, 2016 2:34 PM UTC

In an earlier post in this thread (that post appears to have been deleted?), it was stated that the Visitor ID was partially generated using information specific to the device.  

I simply wanted to clarify that device information is not a part of the process used to generate a Visitor ID.

 

-steveb

Translate
Jun 27, 2016 6:25 AM UTC

Thank you Steve - now it's clear.

Adrian

Translate
xuy47245470
Oct 18, 2017 12:58 PM UTC

Hello,

I have one question regarding to the user, who want to install the app from Cloud for the case of new Phone.

Could some people tell me, should be also new user ID created?

Thanks

Cheers, Xu

Translate