Skip to main content
Domain-level custom code is injected into every page published on that domain. Use it for anything that has to run everywhere: a tag manager, an analytics script, a tracking pixel, or global CSS.

Where to find it

Open Settings > Domains, click the three-dot menu (…) next to the domain, select Settings, then open the Custom Code tab.
The Custom Code tab of domain settings, with the head and body code panels
Settings is only available once a domain is Active.

The two panels

Paste your code into the right panel and click Save. If you are unsure which to use, follow the installation instructions of the tool you are adding — most of them say.
Landing pages that are already live need to be republished before the new code reaches them.
For a script that should only run on one landing page, use that page’s own custom code settings instead.