The Site SEO Tags API allows you to read and write the SEO tags that apply to a Wix site as a whole, rather than to one page. These are the tags a Wix user sets once and that appear across the site, such as the site's default social share image, whether search engines may index the site, and the verification tags that prove ownership of a site to a search engine.
With the Site SEO Tags API, you can:
Two things control how search engines treat a site, and they do different jobs:
robots tag with a noindex directive. Use it as the primary control over whether a site appears in search results.Note that a page blocked from crawling in robots.txt can still be indexed, so blocking a crawler isn't a substitute for a noindex tag.
The site's tags are a single set with no revision checking, and a Wix user editing SEO settings in the dashboard writes to the same tags as this API. If both change the tags at once, whichever lands second overwrites the other, with no conflict error. When a Wix user may be editing at the same time, retrieve the tags immediately before writing them.
It's important to note the following points before starting to code:
tags replaces the site's tags in full. Retrieve the current tags first and send back the complete set you want the site to have. Leaving out the robots tag makes the site indexable again, and leaving out og:image clears the site's default social share image.embedTags are read-only. Those are the tags a Wix user added through the site's SEO settings in the dashboard, which stores them as HTML embeds. Verification tags in tags are writable, and a site supports a single tag per provider.embedTags.Last updated: 11 August 2026