Custom Code
Add site‑wide head, body, and CSS code.
What this controls
Custom Code lets you add HTML, scripts, or CSS that loads across your website.
For normal SEO schema, start with Business Profile and the schema settings in SEO. Hiveality can generate JSON-LD automatically from your saved business and page data, so most sites do not need custom schema code in the Head tab.
Add custom code
Where each tab loads
- Head: meta tags, link tags, verification code, and early‑loading scripts.
- Body: analytics, chat widgets, embeds, or third‑party scripts near the end of the page.
- CSS: global style overrides.
Tips for scripts and embeds
- Inline code and external
<script src="...">tags now load more reliably from both Head and Body. - Saving custom code refreshes the public site cache for the website, so live pages pick up Head, Body, and CSS changes without waiting for the normal page cache cycle.
- Valid
<script type="application/ld+json">snippets are treated as structured data. Hiveality checks that the JSON is valid before saving and renders it safely on public pages. - If you are adding business, page, blog, team, product, or FAQ schema, use Business Profile and SEO schema settings first. Keep custom JSON-LD for advanced or unsupported schema types.
- When cookie consent is active, JSON-LD structured data does not trigger the script consent warning. Executable scripts still follow the selected consent behavior.
- Put integrations that must start early in Head; use Body for scripts that should wait until the page is ready.
- Use preview or a live page after saving to confirm the integration starts as expected.
Related Help Docs
Updated Jun 28, 2026
Was this helpful?