1. After "Create new property" in Google Analytic ID. Fill in your website details and click "Get Tracking ID" button.
2. Copy the content in Global Site Tag, as the image below.
3. Return your property website setting, then, paste all that you've just copy into Google analytic (Copy Full Global Site Tag from Google) . Then, click "Save" button.
If you’re not sure your tracking code is working correctly, try one of the options below to check your setup. Check your Real-Time reports.
Come back your Analytics Dashboard. Select Real-Time > Overview. And, you can see the active users on site.