Hi @xiaomeng.zhang,
This is Yuanyuan from the Amplitude Support team - thank you for writing this post!
The two users you shared are both anonymous users and they have two different Device IDs. In this case, they will be considered two individual users. Amplitude merges users based on their Device ID and User ID. When the same Device ID is detected for anonymous users, Amplitude will merge anonymous users or merge an anonymous user to an existing user. When a user is an existing user with a User ID, and they log in on different devices, Amplitude will merge the events on multiple devices into one profile. Please check this article for detailed information about how Amplitude tracks unique users and merges users.
I noticed the two example users have a custom property ‘user_id’ and they both have the value 193. But Amplitude will not merge users based on their custom properties. I suggest modifying your instrumentation and assigning Amplitude User IDs when the users can be identified. This way, users with the same Amplitude User IDs on different devices will be merged.
Hope this helps!
Best,