Auto generated ID


#1

Hello,
How long does the auto generated ID stays the same for the same device?
How often does it change? Can I use it for a completely anonymous website and trust the new users metric?

Thanks,


#2

Hello,
I assume you are talking about Web SDK?

Then Device id is generated and stored in local storage and thus all the consequences of that
If user uses another computer/device, its a new user
If user uses another browser, its a new user
If user uses incognito mode, its a new user
If user clears browser/website data/cache, its a new user

The only thing you can do, is, for example, if you have authentication for your website, assign your internal user id as Countly device_id and thus track the same user across all computers/devices/browsers, etc