🗂️Head Slot
Head Slot is a component that enables visually customizing the <head> on a per-page basis. It’s useful for setting canonical URLs, alternate links, and more.


The Head Slot provides a visual interface for controlling your website's <head> section. Instead of writing code, you can manage meta tags, canonical URLs, and other head elements directly in the builder.
Key information
Even though the Head Slot is visually in the Body instance, the contents of Head Slot are added to the
<head>. This hierarchy enables Data variables defined on the Body to be used in the head.If Head Slot and Page Settings define the same data, such as meta title, Head Slot will take priority. Similarly, a default canonical is output on every page and references the current path. By specifying a canonical in Head Slot, the default canonical will not be displayed on the page.
Head Slot comes with an instance for Title, Link, and Meta. These can be duplicated. If you remove them and later need to add them back, you can copy them from a new Head Slot instance.
Supported components
Head Slot accepts these components:
Title – Set the document title.
Link – Add canonical, alternate, preload, preconnect, and other link relationships.
Meta – Add metadata that is not covered by Page Settings.
JSON-LD – Add structured data as an
<script type="application/ld+json">element.
Title
Title sets or overrides the document title shown in browser tabs, bookmarks, and search results. Prefer the title field in Page Settings for standard SEO; use Title in Head Slot when you need a custom or dynamic value.
Meta
Meta creates a <meta> element. Use its name or property field to identify the metadata and content for its value. Common uses include metadata not available in Page Settings and Open Graph properties for social sharing.
Link
Link creates a <link> element. Set rel to describe the relationship and href to identify the resource or URL. Common uses include canonical and alternate URLs, favicons, external stylesheets, preconnects, and preloads.
For standard titles, descriptions, social images, and search visibility, start with Page Settings. Use Head Slot when you need finer control or values bound to dynamic data.
Common Use Cases
Canonical URLs
Prevent duplicate content issues by specifying the preferred URL:
Add a Link element inside Head Slot
Set
reltocanonicalSet
hrefto the canonical URL (can be bound to a variable for dynamic pages)
Alternate Language Links
For multilingual sites, specify language alternatives:
Add a Link element
Set
reltoalternateSet
hreflangto the language code (e.g.,es,fr)Set
hrefto the URL of the translated page
Custom Meta Tags
Add any meta tag not available in Page Settings:
Add a Meta element
Set the
nameorpropertyattributeSet the
contentattribute
Preconnect and Preload
Improve performance by hinting resource loading:
Add a Link element
For preconnect:
rel="preconnect"withhrefpointing to the domainFor preload:
rel="preload"with appropriateasandhrefattributes
Third Party Documentation
Many elements in the head are quite technical and require reading documentation for proper usage.
Here is a list of relevant docs:
Related
SEO settings – Page-level SEO configuration
Project settings – Global project configuration
JSON-LD – Add structured data to the document head
HTML Embed – Custom HTML in body
Last updated
Was this helpful?
