Login to the back end of your site and go to COMPONENTS>>TEMPLATES>>STYLES
Select your default template (the one with the star colored yellow)
From the dropdown on the left select "BASE OUTLINE"
From the tabs on the top select "PAGE SETTINGS"
Go to the bottom to your Atoms. Drag Google Anaytics from the gray to the white
Select the sprocket to edit
Add in your UA code