Online Store -> Themes and click on the 3 dots (...) and press Edit code:
theme.liquid in the menu on the right:
<head> Area of the theme.liquid:
You can see your tracking code directly after creating a website on Sitesights or if you click on edit.
If you need more information about the tracking script you can look here: