hi! we’ve integrated Rudderstack sdk’s on android ...
# support
s
hi! we’ve integrated Rudderstack sdk’s on android and iOS, and we noticed that the format of anonymousId is different: android “528b9000b7b06d7d” iOS “fa06ccf4-cbfb-41a1-9ee8-043e59c40613" on web, it is the same format as iOS is there any way to synchronize it across all platforms?
c
Hey @silly-megabyte-76438, Can you please provide your use case about how do you want the anonymousId to be synchronised across all the platforms? CC: <!subteam^S04QT1G74Q3|@sdk-team>
s
for example, one user visited web version of our product on his mobile device, and we received his anonymousId in format X. then, he installed android app, and continued to use our product on the same device, but we got his anonymousId already in format Y. if this user was not logged in, then we cannot match his events as events done by the same user
c
Thanks for providing the input. You may use the putAnonymousId to set/override the anonymousId in the format you like. To know more refer to the corresponding doc: 1. Android: https://www.rudderstack.com/docs/sources/event-streams/sdks/rudderstack-android-sdk/#anonymous-id 2. iOS: https://www.rudderstack.com/docs/sources/event-streams/sdks/rudderstack-ios-sdk/#anonymous-id 3. Web: https://www.rudderstack.com/docs/sources/event-streams/sdks/rudderstack-javascript-sdk/supported-api/#overriding-anonymous-id An alternative solution would be to use our transformation service to format/change (e.g., remove hyphen from the anonymousID etc) the anonymousId in the way you like: https://www.rudderstack.com/docs/features/transformations/