Navigate to Documents > Settings > Analytics and select Add.
You should first give your new analytics setting a name in the Details tab.
Next, select the Google Analytics tab. You only need to enter your Google Analytics UA number (or tracking ID) into the field provided and select Save Changes.
Obtaining your tracking ID*
Sign in to your Analytics account
Select the Admin tab
Select an account from the dropdown in the ACCOUNT column
Select a property from the dropdown in the PROPERTY column
Under PROPERTY, click Tracking Info > Tracking Code
* From support.google.com
For more support from Google, click here.