Hey all :wave::skin-tone-3: Quick question. I'm cu...
# support
w
Hey all 👋🏼 Quick question. I'm currently looking at our events (collected via rudderstack) and I saw a couple of users with multiple anonymous ids. Does anyone here know what are the criteria for the anonymous_id to reset?
1
m
Hey There! 👋 Your message has been received by the RudderStack team. Our standard customer support hours are 9-6 PM EST, but we will forward this request to your Technical Account Manager, and they will get back to you shortly. Please use the thread for any additional comments.
k
@witty-beard-29204 which SDK are you using ?
CC <!subteam^S04QT1G74Q3|@sdk-team>
c
In my setup, it seems that using an incognito browser will create a new anonymous ID each session.. meaning if someone hits the site in an incognito tab anon id 1... they close the tab/quit the browser, come back again in an incognito tab, now they have anon id 2. etc.
🙏 1
tagging onto this thread.. I assume this is normal as the incognito browser throws away all the cookies.. but I wish it wouldn't...
w
@kind-carpenter-27609 <!subteam^S04QT1G74Q3|@sdk-team> we're using the Javascript SDK
h
@creamy-table-83685, It is an expected behaviour.
Hello @witty-beard-29204, You can reset the anonymousId using this API:
rudderanalytics.reset(true)
But this will also reset user traits. If you want to set a particular anonymous Id then you can use
rudderanalytics.setAnonymousId(pass your anonymous id here)
method.
w
Thanks for the insights Moumita and Jason 🙏🏼