To add Google Analytics to your site, you need to begin by
visiting Google Analytics.

- Start by creating a new analytics "property" (select universal
analytics):

- Then get your tracking code ready and copied to your
clipboard.
- Open up Cyberduck and navigate to your desired theme (in my
case /var/www/ghost/content/themes/Readium-master

- Select the "default.hbs" file and edit with your text
editor.
You need to add your Google Analytics
tracking script anywhere before the </head>
tag (in the picture below at line 29).

- Go back to your Google Analytics page and get to the Real-time
report and after a few refreshes, you should see it change to 1
(note you need to have your site open in another tab if it
isn't).

You're all hooked up!