unique visitor ID in mobile app | Community
Skip to main content
June 16, 2016
Solved

unique visitor ID in mobile app

  • June 16, 2016
  • 12 replies
  • 10753 views

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.
Best answer by SteveBe8

@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
June 17, 2016

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

June 20, 2016

Thank you Tanmay.

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

Best,

Adrian

TanmayMathur
Adobe Employee
Adobe Employee
June 20, 2016

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

June 20, 2016

You are right Tanmay!

Thank you for your support.

Best,

Adrian

SteveBe8Adobe EmployeeAccepted solution
Adobe Employee
June 20, 2016

@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

TanmayMathur
Adobe Employee
Adobe Employee
June 21, 2016

Hey Steve, 

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

Tanmay

June 21, 2016

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

Adobe Employee
June 21, 2016

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

June 27, 2016

Thank you Steve - now it's clear.

Adrian

xuy47245470
October 18, 2017

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