User-ID feature set up
User-ID enables the association of one or more sessions (and any activity within those sessions) with a unique and persistent ID that you send to Analytics.
To use User-ID, you must enable the feature in your Analytics Account and modify your tracking code. Refer to the articles below to help guide you through the process.