Quick setup: global custom code
Add site-wide scripts without breaking page behavior.
- Open your site in the dashboard.
- Go to Settings → Header code / Footer 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.