Zesty.io Documentation
Zesty.io
Open Source
ATOM Plugin
Start Trial
Search…
Introduction
Quick Start Guide
Common Concepts
Glossary
Services
WebEngine
DAM (Media Management)
Accounts UI
Manager UI
EcoSystems
APIs
Overview
Auth API
Accounts API
Instances API
JSON Endpoints
Instant API (Read Only)
GraphQL
Node SDK
Instantiation
Instance
Content
Model & Fields
Stylesheet
Views
Audit Trail
Head Tags
Media
Accounts
Auth
Tools & Resources
Next.js Integration
Guides
Atom IDE Package
Chrome Browser Extension
Headless Code Examples
Salesforce Commerce Cloud
Community
RFCs/Specs
Powered By
GitBook
Head Tags
HTML documents contain a
<head>
tag which allows for child
<meta>
,
<link>
,
<stylesheet>
and
<script>
tags. The HeadTags SDK allows for CRUD operations to manage the available tags on a per content item basis.
All examples assume a properly
authenticated SDK instance
Get all head tags:
try
{
const
res
=
await
sdk
.
instance
.
getHeadTags
();
}
catch
(
err
)
{
console
.
error
(
err
);
}
Get a single head tag by ZUID: :
const
headTagZUID
=
`
21-...
`
;
// Head Tag ZUIDs begin with 21
try
{
const
res
=
await
sdk
.
instance
.
getHeadTag
(
headTagZUID
);
}
catch
(
err
)
{
console
.
error
(
err
);
}
Previous
Audit Trail
Next
Media
Last modified
2yr ago
Export as PDF
Copy link