Quick setup: global custom code
Add site-wide scripts without breaking page behavior.
- Open your site in `/build`.
- Go to Site Settings -> Custom Code.
- Paste critical scripts in Header and non-critical scripts in Footer.
- Save and test on a published/static route.
- Use Header for early setup scripts.
- Use Footer for deferred widgets and non-critical scripts.
- Use the Embed component for section-level code, not global code.