You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
The first thing you'll want to do is to identify your users so Mixpanel knows who they are. You'll use the Identify method to accomplish this which takes the unique`userId` of a user and any`traits` you know about them.
79
79
80
80
>info ""
81
-
>**Important:** Mixpanel used to require that you call`alias` in all libraries to connect anonymous visitors to identified users. However, with the release of Mixpanel's new[Identity Merge feature](https://help.mixpanel.com/hc/en-us/articles/360039133851#enable-id-merge){:target="_blank"} this is no longer necessary. To enable ID Merge, go to your Mixpanel Settings Dashboard, navigate to**Project Settings > Identity Merge** and enable the setting from that screen. If you are_not_ using this setting, use the instructions below.
81
+
>**Important:** Mixpanel used to require that you call`alias` in all libraries to connect anonymous visitors to identified users. However, with the release of Mixpanel's new[Identity Merge feature](https://help.mixpanel.com/hc/en-us/articles/9648680824852#introduction){:target="_blank"} this is no longer necessary. To enable ID Merge, go to your Mixpanel Settings Dashboard, navigate to**Project Settings > Identity Merge** and enable the setting from that screen. If you are_not_ using this setting, use the instructions below.
82
82
83
83
84
84
As soon as you have a`userId` for a visitor that was previously anonymous you'll need to[`alias`](/docs/connections/spec/alias/) their old anonymous`id` to the new`userId`. In Mixpanel only**one** anonymous user history can be merged to**one** identified user. For that reason you should only call`alias` once, right after a user registered, but before the first`identify`.