Code
The Code block injects raw HTML, shortcodes, tracking scripts, or third-party embeds at one of three placements: Head, Inline, or Footer.
It's the escape hatch when no other block does what you need — analytics tags, third-party widgets, custom embeds.
When to use it
- Tracking scripts (analytics, pixel, tag manager) → Head or
- Third-party widget embeds (chat widget, calendar, form provider)
- Inline custom HTML / shortcode that no other block covers
- Quick prototype before promoting it to a proper block
Footer placement
When not to use it
- Anything an existing block already does — use the dedicated
- Inline raw text — use Text (it has rich-text editing)
- Long-form content — keeping content in real blocks gives
block (Video, Image, Carousel, etc.)
responsive overrides + animation hooks the Code block can't provide
Settings
Placement — button group: Head · Inline · Footer (default: Inline)
Where the code is emitted on the page:
- Head — inside
<head>(analytics, meta tags). The block - Inline — at the block's position in the layout (default).
- Footer — just before
</body>. Use for late-loading scripts.
renders nothing visible in the layout.
Use for embeds and visible custom HTML.
Code — textarea
The raw markup. HTML, shortcodes, tracking scripts, embeds — all rendered verbatim.
The hint text under the field reads: "HTML, shortcodes, tracking scripts, embeds".
Per-device overrides
The Code block has no per-device controls — the markup renders identically across devices. If you need different markup per device, use multiple Code blocks wrapped in device-visibility containers (Section's per-device toggles).
Common patterns
Analytics tag (third-party)
Instinctor has built-in traffic analytics in the SEO workspace — no external tag needed for pageview and engagement data. Use this pattern only when adding a third-party tool (GA4, GTM, Meta Pixel, TikTok Pixel, etc.) that needs its own snippet.
Placement Head · paste the snippet provided by the vendor. Renders nothing visible.
Third-party form embed
Placement Inline · paste the provider's embed script. Renders the form widget at the block's position.
Late-loading chat widget
Placement Footer · paste the chat-widget loader script. Loads after the rest of the page.
Related
blocks/video— for video embeds (handles YouTube/Vimeo/fileblocks/image— for image embedsblocks/section— Section has its own per-device visibility
natively, no Code block needed)
toggles if you need device-specific Code blocks