The seoMeta query is an alternative to using the seo field on the entries, entry, terms, and term queries.
Argument
Type
Description
id
String!
The ID of the entry/term to query
site
String
Specify the site of your entry/term. This is only necessary when dealing with a term, as the term's ID isn't unique per site. But it can also be helpful if you want to get an entry in a different site.
Get the computed title of an entry:
Get the computed title of the brands term of the tags taxonomy in the german site:
SEO Defaults
Use the seoDefaults query to get the default data. The query consists of three fields:
Fields
Description
site
Get site defaults like site_name and default og_image
collection
Get the defaults of a specific collection
taxonomy
Get the defaults of a specific taxonomy
Site Defaults
Argument
Type
Description
site
String
Specify the site of the returned data
Get the site_name from the general site defaults:
Get the data from the german site:
Collection Defaults
Argument
Type
Description
handle
String!
The handle of the collection to query
site
String
Specify the site of the returned data
Get the title from the pages collection defaults:
Get the data from the german site:
Taxonomy Defaults
Argument
Type
Description
handle
String!
The handle of the taxonomy to query
site
String
Specify the site of the returned data
Get the title from the tags taxonomy defaults:
Get the data from the german site:
SEO Sitemaps
Use the seoSitemaps query to get the data of your collection, taxonomy, and custom sitemaps. The query consists of three fields sharing the same structure:
Fields
Description
collection
Get the collection sitemaps
taxonomy
Get the taxonomy sitemaps
custom
Get the custom sitemaps
Get the loc of all collection, taxonomy, and custom sitemaps:
Argument
Type
Description
baseUrl
String
Change the base URL of your sitemap data.
handle
String
Filter the sitemaps by handle of their collection, taxonomy, or custom sitemap.