Log in to your site and click on your name in the top right corner.
Click on Site.
Scroll all the way down and click on Google Analytics.
Put in your User Agent Code and don't forget to click Save. If you don't already have a user agent code, you can generate one at Google Analytics