If you install the widget with <script> tag, the SDK is in window.theymes namespace, e.g. theymes.initialize.
If you install the widget with <script> tag, the SDK is in window.theymes namespace, e.g. theymes.initialize.
Theymes web widget is easy to take into use, after you have installed the SDK, you need to initialize it. You can either display the widget as a floating button or imperatively open the widget when you want to show it.After the widget script has been loaded, you can initialize the widget with the following code:
import { initialize } from '@theymes/sdk';...initialize(token, domain, options);
You can find the token and the domain in the game settings page in the Theymes support application.When you want to use the SDK as a widget, you must pass options.mode = 'widget' when initializing the SDK. If you pass options.button = true to theymes.initialize(), a floating button will be automatically displayed which can be used to open the widget. Otherwise you can call theymes.openSupport() to manually open the widget without the floating button.Please refer to the API documentation for all the details what you can configure with the options.
If you want to pass player metadata to the widget or authenticate players, you can find more information on the Using the SDK page.Authentication is optional in our web widget. You can embed the widget in pages where the users are anonymous.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Theymes","description":"Theymes is an AI-native customer support platform for gaming and consumer applications. Automate support, manage knowledge, deploy AI agents, integrate in-app support, and turn customer conversations into actionable insights.","colors":{"primary":"#FFBC0F","light":"#FFD15C","dark":"#C49200"},"logo":{"light":"https://mintcdn.com/theymes/Pr90uYFAV_z9ooGO/logo/light.svg?fit=max\u0026auto=format\u0026n=Pr90uYFAV_z9ooGO\u0026q=85\u0026s=203e396f920ad30ef636acd04bb01599","dark":"https://mintcdn.com/theymes/Pr90uYFAV_z9ooGO/logo/dark.svg?fit=max\u0026auto=format\u0026n=Pr90uYFAV_z9ooGO\u0026q=85\u0026s=50389a3c26f766a90244f563b785c002"},"favicon":"https://mintcdn.com/theymes/Pr90uYFAV_z9ooGO/favicon.svg?fit=max\u0026auto=format\u0026n=Pr90uYFAV_z9ooGO\u0026q=85\u0026s=a37157dad0d89e4c65480348c7dd58c5","appearance":{"default":"dark"},"navbar":{"links":[{"href":"https://theymes.com","label":"theymes.com"}],"primary":{"type":"button","label":"Support app","href":"https://app.theymes.com"}},"footer":{"socials":{"website":"https://theymes.com","linkedin":"https://www.linkedin.com/company/theymes"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Theymes","icon":"globe","href":"https://theymes.com"},{"anchor":"Support app","icon":"comments","href":"https://app.theymes.com"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"theymes","hasAudioNarration":false,"actualSubdomain":"theymes","customDomains":["docs.theymes.com"],"gitSource":{"type":"github","owner":"theymes","repo":"theymes-mintlify","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"latestBuiltDeploymentHistoryId":"6adf7dd3374824585d6ba55b","collectionId":"5d03163c-ff54-4c4a-aabb-ee7b491db876","liveDeploymentHistoryId":"6adf7dd3374824585d6ba55b","schemaVersion":"v3"},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6adf7dd3374824585d6ba55b","clientVersion":"0.0.4045","searchFilterCounts":[{"language":"default","tag":"Developers","count":28},{"language":"default","tag":"SDK","count":22},{"language":"default","tag":"API reference","count":19},{"language":"default","tag":"Authenticated endpoints (API key)","count":17},{"language":"default","tag":"Product","count":12},{"language":"default","tag":"iOS","count":7},{"language":"default","tag":"Unity","count":7},{"language":"default","tag":"Web","count":7},{"language":"default","tag":"Automation","count":5},{"language":"default","tag":"AI Agents","count":4}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"developers/sdk/web/web-widget","slug":"/developers/sdk/web/web-widget","pageMetadata":{"title":"Web Widget","description":"If you install the widget with \u003cscript> tag, the SDK is in window.theymes namespace, e.g. theymes.initialize.","href":"/developers/sdk/web/web-widget"},"description":"If you install the widget with \u003cscript> tag, the SDK is in window.theymes namespace, e.g. theymes.initialize.","pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Heading,Info}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);return _jsxs(_Fragment,{children:[_jsx(Info,{children:_jsxs(_components.p,{children:[`If you install the widget with `,_jsx(_components.code,{children:`\u003cscript>`}),` tag, the SDK is in `,_jsx(_components.code,{children:`window.theymes`}),` namespace, e.g. `,_jsx(_components.code,{children:`theymes.initialize`}),`.`]})}),`\n`,_jsxs(_components.p,{children:[`Theymes web widget is easy to take into use, after you have `,_jsx(_components.a,{href:`/developers/sdk/web/installing`,children:`installed the SDK`}),`, you need to initialize it. You can either display the widget as a floating button or imperatively open the widget when you want to show it.`]}),`\n`,_jsx(_components.p,{children:`After the widget script has been loaded, you can initialize the widget with the following code:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`initialize`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '@theymes/sdk'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`...`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`initialize`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`token`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`domain`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`options`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`You can find the token and the domain in the game settings page in the `,_jsx(_components.a,{href:`https://app.theymes.com`,children:`Theymes support application`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`When you want to use the SDK as a widget, you must pass `,_jsx(_components.code,{children:`options.mode = 'widget'`}),` when initializing the SDK. If you pass `,_jsx(_components.code,{children:`options.button = true`}),` to `,_jsx(_components.code,{children:`theymes.initialize()`}),`, a floating button will be automatically displayed which can be used to open the widget. Otherwise you can call `,_jsx(_components.code,{children:`theymes.openSupport()`}),` to manually open the widget without the floating button.`]}),`\n`,_jsxs(_components.p,{children:[`Please refer to `,_jsx(_components.a,{href:`/developers/sdk/web/api#initialize`,children:`the API documentation`}),` for all the details what you can configure with the options.`]}),`\n`,_jsx(Heading,{level:`2`,id:`player-metadata-and-authentication`,children:`Player metadata and authentication`}),`\n`,_jsxs(_components.p,{children:[`If you want to pass player metadata to the widget or authenticate players, you can find more information on the `,_jsx(_components.a,{href:`/developers/sdk/web/using`,children:`Using the SDK`}),` page.`]}),`\n`,_jsx(_components.p,{children:`Authentication is optional in our web widget. You can embed the widget in pages where the users are anonymous.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Web Widget","description":"If you install the widget with \u003cscript> tag, the SDK is in window.theymes namespace, e.g. theymes.initialize.","href":"/developers/sdk/web/web-widget"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Player metadata and authentication","slug":"player-metadata-and-authentication","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"theymes","siteName":"Theymes","title":"Web Widget - Theymes","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-17T07:48:03.263Z","originalFileLocation":"developers/sdk/web/web-widget.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"If you install the widget with tag, the SDK is in window.theymes namespace, e.g. theymes.initialize.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Theymes\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/theymes/Og1LJ4xnCFD9owLk/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/theymes/Og1LJ4xnCFD9owLk/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/theymes/Og1LJ4xnCFD9owLk/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/theymes/Og1LJ4xnCFD9owLk/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/theymes/Og1LJ4xnCFD9owLk/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/theymes/Og1LJ4xnCFD9owLk/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/theymes/Og1LJ4xnCFD9owLk/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/theymes/Og1LJ4xnCFD9owLk/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/theymes/Og1LJ4xnCFD9owLk/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Web Widget - Theymes\">\u003cmeta data-mint-head property=\"og:description\" content=\"If you install the widget with tag, the SDK is in window.theymes namespace, e.g. theymes.initialize.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Theymes\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.theymes.com/developers/sdk/web/web-widget\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://theymes.mintlify.app/_mintlify/api/og/v2?division=Web\u0026amp;title=Web+Widget\u0026amp;description=If+you+install+the+widget+with+%3Cscript%3E+tag%2C+the+SDK+is+in+window.theymes+namespace%2C+e.g.+theymes.initialize.\u0026amp;theme=6547f5549ec79a6ec2fd9e1e\u0026amp;signature=c49e5c0ed4f96b8d2d2547f1f38a62faf0c1d4c7da200b9badb739c10b5f6a24\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Web Widget - Theymes\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"If you install the widget with tag, the SDK is in window.theymes namespace, e.g. theymes.initialize.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://theymes.mintlify.app/_mintlify/api/og/v2?division=Web\u0026amp;title=Web+Widget\u0026amp;description=If+you+install+the+widget+with+%3Cscript%3E+tag%2C+the+SDK+is+in+window.theymes+namespace%2C+e.g.+theymes.initialize.\u0026amp;theme=6547f5549ec79a6ec2fd9e1e\u0026amp;signature=c49e5c0ed4f96b8d2d2547f1f38a62faf0c1d4c7da200b9badb739c10b5f6a24\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/theymes/Og1LJ4xnCFD9owLk/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Theymes\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FFBC0F\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.theymes.com/developers/sdk/web/web-widget\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/developers/sdk/web/web-widget.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.theymes.com/#organization\",\"name\":\"Theymes\",\"url\":\"https://docs.theymes.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/theymes/Pr90uYFAV_z9ooGO/logo/light.svg?fit=max\u0026auto=format\u0026n=Pr90uYFAV_z9ooGO\u0026q=85\u0026s=203e396f920ad30ef636acd04bb01599\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.theymes.com#website\",\"name\":\"Theymes\",\"url\":\"https://docs.theymes.com\",\"publisher\":{\"@id\":\"https://docs.theymes.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.theymes.com/developers/sdk/web/web-widget#webpage\",\"url\":\"https://docs.theymes.com/developers/sdk/web/web-widget\",\"name\":\"Web Widget\",\"description\":\"If you install the widget with tag, the SDK is in window.theymes namespace, e.g. theymes.initialize.\",\"dateModified\":\"2026-09-17T07:48:03.263Z\",\"isPartOf\":{\"@id\":\"https://docs.theymes.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.theymes.com/developers/sdk/web/web-widget#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.theymes.com/developers/sdk/web/web-widget#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"SDK\",\"item\":\"https://docs.theymes.com/developers/sdk/about\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Web\",\"item\":\"https://docs.theymes.com/developers/sdk/web/about\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Web Widget\",\"item\":\"https://docs.theymes.com/developers/sdk/web/web-widget\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.theymes.com/developers/sdk/web/web-widget#article\",\"headline\":\"Web Widget\",\"name\":\"Web Widget\",\"description\":\"If you install the widget with tag, the SDK is in window.theymes namespace, e.g. theymes.initialize.\",\"url\":\"https://docs.theymes.com/developers/sdk/web/web-widget\",\"mainEntityOfPage\":{\"@id\":\"https://docs.theymes.com/developers/sdk/web/web-widget#webpage\"},\"dateModified\":\"2026-09-17T07:48:03.263Z\",\"publisher\":{\"@id\":\"https://docs.theymes.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.theymes.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Theymes\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Theymes","nav":{"global":{"anchors":[{"anchor":"Theymes","icon":"globe","href":"https://theymes.com"},{"anchor":"Support app","icon":"comments","href":"https://app.theymes.com"}]},"tabs":[{"tab":"Product","pages":[{"title":"Product","href":"/product/overview"}]},{"tab":"Developers","groups":[{"group":"Get started","pages":[{"title":"Developers","href":"/developers"}]},{"group":"Player metadata","pages":[{"title":"Player Metadata","href":"/developers/player-metadata/player-metadata"},{"title":"Player Verification","href":"/developers/player-metadata/player-verification"},{"title":"Player Verification Guide","href":"/developers/player-metadata/player-verification-guide"}]},{"group":"SDK","root":{"title":"About Theymes SDK","href":"/developers/sdk/about"},"directory":"accordion","pages":[{"group":"Unity","pages":[{"title":"About Unity SDK","href":"/developers/sdk/unity/about"},{"title":"Installing the SDK","href":"/developers/sdk/unity/installing"},{"title":"Configuring the SDK","href":"/developers/sdk/unity/configuring"},{"title":"Notifications","href":"/developers/sdk/unity/notifications"},{"title":"Push notifications","href":"/developers/sdk/unity/push-notifications"},{"title":"Privacy and young players","href":"/developers/sdk/unity/privacy-and-young-players"},{"title":"API Reference","href":"/developers/sdk/unity/api"}]},{"group":"iOS","pages":[{"title":"About iOS SDK","href":"/developers/sdk/ios/about"},{"title":"Installing the SDK","href":"/developers/sdk/ios/installing"},{"title":"Configuring the SDK","href":"/developers/sdk/ios/configuring"},{"title":"Notifications","href":"/developers/sdk/ios/notifications"},{"title":"Push notifications","href":"/developers/sdk/ios/push-notifications"},{"title":"Privacy and young players","href":"/developers/sdk/ios/privacy-and-young-players"},{"title":"API Reference","href":"/developers/sdk/ios/api"}]},{"group":"Android","pages":[{"title":"About Android SDK","href":"/developers/sdk/android/about"}]},{"group":"Web","pages":[{"title":"About Web SDK","href":"/developers/sdk/web/about"},{"title":"Installing the SDK","href":"/developers/sdk/web/installing"},{"title":"Configuring the SDK","href":"/developers/sdk/web/configuring"},{"title":"Using the SDK","description":"If you install the SDK with \u003cscript> tag, the SDK is in window.theymes namespace, e.g. theymes.initialize.","href":"/developers/sdk/web/using"},{"title":"Web Widget","href":"/developers/sdk/web/web-widget"},{"title":"Content Security Policy (CSP)","description":"If you use Content Security Policy in your game or on your web page, this guide helps you to make sure Theymes SDK works with your policy.","href":"/developers/sdk/web/content-security-policy"},{"title":"API Reference","href":"/developers/sdk/web/api"}]}]},{"group":"API","pages":[{"title":"Theymes API","href":"/developers/api"},{"title":"Querying stats","href":"/developers/insights/querying-stats"}]}]},{"tab":"API reference","pages":[{"title":"API reference","href":"/api-reference/authenticated-endpoints-api-key/list-announcements"}]}]},"basePath":"","title":"Web Widget - Theymes","buildId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","deploymentId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","dynamics":[],"chunks":[]}