Treat website meta tags as label + full HTML snippets.

Public business-info now exposes metaTags as { html }, matching how admins paste complete <meta> tags in Tags & Badges.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Alireza Hassani
2026-10-03 18:39:19 +03:30
co-authored by Cursor
parent 63ae9b22b9
commit e0cd2327eb
7 changed files with 88 additions and 36 deletions
+6 -4
View File
@@ -570,14 +570,16 @@
},
"metaTags": {
"type": "array",
"description": "Enabled custom meta tags for the site <head> (name/content). Configured under Website → Tags & Badges.",
"description": "Custom <meta> HTML snippets for the site <head>. Each item is { html } with a full <meta …> tag. Configured under Website → Tags & Badges (name there is an admin label only).",
"items": {
"type": "object",
"properties": {
"name": { "type": "string" },
"content": { "type": "string" }
"html": {
"type": "string",
"description": "Full sanitized <meta …> HTML tag to inject in <head>."
}
},
"required": ["name", "content"]
"required": ["html"]
}
},
"trustBadges": {