Hey Graham,
At the top of the website editor, there is an option in the second tab to edit your tracking and analytics code. You can only do this if you have connected a domain to the site. In there, you can select to add custom html to the head area, or at the start of the body.