- Sign in to Google Analytics.
- Click Admin, and navigate to the property you want to edit.
- In the Property column, click Default Reporting Identity.
- Select either By User-ID and device (default setting) or By device only.
- Click Save.

Reference: https://support.google.com/analytics/answer/9213390?hl=en&ref_topic=9303474