Add a site so Analytics knows what to track.

Go to Analytics
Click Analytics in the dashboard sidebar.
Click “Add Website”
Enter a site name and the domain.
Use the clean domain format
Enter the domain without https:// or www.
Tip
After you create a site, you will see the tracking snippet right away.