If you want it to apply to the whole site, enter this in Site Settings.
- Navigate to School Website.
- Select Website > your site.
- Click Site Settings.
- Scroll down under SEO to the Google Analytics field, and enter the code that should be in the <header> section here (below your existing GA code if you have one).
- Changes save automatically, and this will now apply the code to your whole site.
- The code that should be in the body section should be added to an embed widget on each master layout.