Item Seo Tags Object


The SEO tags of a single item on a site, such as a page, a blog post, a store product, or a bookings service.

An item is addressed by an item type and an item ID together. Item SEO tags always exist for a valid item: when the item has no tags of its own, it inherits them, and resolvedTags reports the tags the item is expected to render with.

Properties
focusKeywordsArray <Keyword>maxItems 5

Keywords the item's content is intended to rank for. Used by Wix's SEO tools to assess the item's content; they aren't rendered on the page.

Mark the item's main keyword with isMain rather than relying on its position in the list.


hasOverridebooleanRead-only

Whether the item has tags of its own, as opposed to inheriting them.

false doesn't mean the item shows Wix's built-in tags: it may inherit from the pattern for its item type, from the site's tags, or from the page that hosts it. See resolvedTags for the tags the item is expected to render with.


hostPageIdstringRead-onlymaxLength 200

ID of the page that displays the item, for items shown on a shared page, such as a blog post or a store product.

Informational: the hosting page can't be addressed through this API.


idstringRead-onlymaxLength 400

Item SEO tags ID, in the format {itemType}:{itemId}.


itemIdstringRead-onlymaxLength 200

ID of the item the tags belong to. For a static page, this is the page ID.


itemTypestringRead-onlymaxLength 100

Type of item the tags belong to. For example, STATIC_PAGE, BLOG_POST, or STORES_PRODUCT.

For an item on a page built from a Wix Data collection, the item type takes the form WIX_DATA_PAGE_ITEM-{pageId}.


languagestringRead-onlymaxLength 100

Language the tags apply to, as an IETF BCP 47 language tag. For example, en-US for U.S. English.

Tags can currently be written only for the site's primary language, so leave this unset on a write. Sending a language fails with LANGUAGE_NOT_SUPPORTED.


originstringRead-only

publishStatusstringRead-only

resolvedTagsArray <ResolvedTag>Read-onlymaxItems 500

The tags the item is expected to render with, each marked with where it came from.

Derived by combining every source Wix manages, so it reflects inherited tags as well as the item's own. Tags that site code, apps, or page components add while the page renders aren't included, so this isn't a literal copy of the page's rendered head.

If a tag's source can't be determined, the tag is still exact but its source is TAG_SOURCE_UNSPECIFIED.


tagsArray <Tag>maxItems 100

Tags set for this item alone, which take precedence over the tags it would otherwise inherit.

Empty when the item has no tags of its own.

Did this help?