Google Analytics
Adding Google Analytics or Tag Manager Code
If you’d like to track traffic or integrate services like Google Analytics or Google Tag Manager, you’ll need to add their code snippets to your project. Where you add the code depends on whether you want it to apply to all pages or just one.
For all pages (site-wide tracking)
To include your tracking code on every page of your site:
Open the Site Settings window.
Select the Template section.
Paste your code into either:
Between the
<head>
tags for anything that belongs in the <head>, such as Google Analytics.Between the after the opening
<body>
tag for things like Google Tag Manager’s <noscript> block.
This ensures your tracking code is included automatically across every page.

For individual pages
If you only want to add tracking code to a specific page:
Select the page in the sidebar.
Click the Edit Extra Code button in the page Inspector
Choose the correct code area from the list on the left (e.g. Head Start, Body Start).
Paste your code snippet in the appropriate section.
The code will only be included on that specific page when you publish or preview your site.

Last updated
Was this helpful?