Custom code
Inject any script, style, or embed into your site's head or body — the escape hatch for everything else.
When a service isn't in the Integrations panel, Custom Code lets you add its snippet by hand. You'll find it in the Integrations panel, split into two fields.
Head code
Runs inside your site's
<head>. This is the place for verification meta tags, custom CSS, font preloads, and any script that needs to load before the page renders.- Good for
- Meta tags, site verification, custom CSS, preloads
Body code
Runs at the end of your
<body>. Use it for chat widgets, tracking pixels, and any third-party embed that should load after your content is on the page.- Good for
- Chat widgets, tracking pixels, third-party embeds
How it applies
Both fields are saved per site and injected into every published page during the build. Saving rebuilds your preview so you can confirm the snippet works before it goes live. Each field holds up to 10,000 characters.
When to reach for it
Custom code is the escape hatch for anything Zitegen doesn't have a first-class integration for. If a tool you use already has its own card in the Integrations panel — Google Analytics, Meta Pixel, Crisp, and the rest — connect it there instead. Those load faster, survive redesigns, and never break when a vendor changes its snippet.
What's next
Need help?