Custom Embeds

Usage

Open Appearance β†’ Customize β†’ Scripts & Embeds β†’ Custom Embeds when a tool does not have its own ID field under Analytics & Tracking. Paste complete snippet code (including <script> tags) into the slot that matches where the vendor says it should load:

  • Tracking Embed β€” scripts that belong with analytics but are not covered by a named ID field.
  • <head> Embed β€” tags that must run in the document head.
  • <body> Embed β€” widgets that open near the top of the page body.
  • <footer> Embed β€” chat, scheduling, or late-loading widgets.

Publish after pasting so the embed runs on every front-end page (unless your snippet targets specific URLs on its own).

When to use it

  • Chat widgets, scheduling calendars, or A/B tools that supply a single install snippet.
  • Pixels or tags your agency delivers as raw HTML instead of an ID.
  • Moving embeds out of page blocks so they load consistently site-wide.

Tips

  • Avoid duplicating the same script here and in a page block β€” double loads cause errors and skew analytics.
  • Only paste code from trusted vendors; these fields accept script markup by design.
  • Test one embed at a time so you can tell which snippet breaks the layout.
  • Prefer Analytics & Tracking IDs when available β€” they respect GDPR and load-strategy gates automatically.

Settings

Custom Embeds

Tracking Embed setting in the block editor sidebar
Tracking Embed
<head> Embed setting in the block editor sidebar
<head> Embed
<body> Embed setting in the block editor sidebar
<body> Embed