The first-party events PolyEmbed records for widgets, trading and funding.
PolyEmbed records these events in its own database to power your Analytics and to attribute trades for earnings. Widget-load events are also sent to PolyEmbed’s Google Analytics property with publisher_id, domain_id, widget_id, market_id, score and failure_code parameters.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"PolyEmbed Docs","description":"Embed the live Polymarket market that matches each article, and let readers trade without leaving the page.","colors":{"primary":"#1D4FFF","light":"#7C97FF","dark":"#1238D8"},"logo":{"light":"https://mintcdn.com/poly-embed/EDfqJtre16zCut_s/logo/light.svg?fit=max\u0026auto=format\u0026n=EDfqJtre16zCut_s\u0026q=85\u0026s=83da4d48987d3d9997fc47583453284c","dark":"https://mintcdn.com/poly-embed/EDfqJtre16zCut_s/logo/dark.svg?fit=max\u0026auto=format\u0026n=EDfqJtre16zCut_s\u0026q=85\u0026s=680a3ef7cba92bb89678f97621d2ff97","href":"https://polyembed.io"},"favicon":"https://mintcdn.com/poly-embed/EDfqJtre16zCut_s/favicon.svg?fit=max\u0026auto=format\u0026n=EDfqJtre16zCut_s\u0026q=85\u0026s=ea7ba3ad3c5c473c54bf11861031395a","navbar":{"links":[{"href":"mailto:contact@polyembed.io","label":"Contact"},{"href":"https://polyembed.io/portfolio","label":"Portfolio"}],"primary":{"type":"button","label":"Publisher dashboard","href":"https://polyembed.io/publisher-login"}},"footer":{"socials":{"x":"https://x.com/polyembed","website":"https://polyembed.io"},"links":[{"header":"Product","items":[{"label":"Home","href":"https://polyembed.io"},{"label":"Live demo","href":"https://polyembed.io/"},{"label":"Demo news site","href":"https://demo.polyembed.io"}]},{"header":"Publishers","items":[{"label":"Publisher login","href":"https://polyembed.io/publisher-login"},{"label":"Revenue share","href":"https://polyembed.io/policies/rev-share"}]},{"header":"Legal","items":[{"label":"Terms of Service","href":"https://polyembed.io/terms"},{"label":"Privacy Policy","href":"https://polyembed.io/privacy"},{"label":"Trading risk","href":"https://polyembed.io/policies/trading-risk"}]}]},"seo":{"metatags":{"og:site_name":"PolyEmbed Docs","twitter:site":"@polyembed"}},"fonts":{"family":"Inter"},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","cursor"],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"PolyEmbed","icon":"house","href":"https://polyembed.io"},{"anchor":"Demo news site","icon":"newspaper","href":"https://demo.polyembed.io"},{"anchor":"Polymarket docs","icon":"book-open","href":"https://docs.polymarket.com"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"poly-embed","hasAudioNarration":false,"actualSubdomain":"poly-embed","customDomains":["docs.polyembed.io"],"gitSource":{"type":"github","owner":"nudgen-marketing","repo":"polyembed-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":"","_id":"6ae0cacb02cd8de5ec2edbfe"},"chroma":{"latestBuiltDeploymentHistoryId":"6ae0cb8602cd8de5ec2ef185","collectionId":"d0483722-714a-40c7-85a9-70d262890271","liveDeploymentHistoryId":"6ae0cb8602cd8de5ec2ef185","schemaVersion":"v3"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae0d74a6c1a15a18d9e7a9e","clientVersion":"0.0.3971","searchFilterCounts":[{"language":"default","tag":"Guides","count":19},{"language":"default","tag":"Reference","count":9},{"language":"default","tag":"Run your widgets","count":5},{"language":"default","tag":"Embed reference","count":5},{"language":"default","tag":"Install the widget","count":4},{"language":"default","tag":"For readers","count":4},{"language":"default","tag":"Get started","count":3},{"language":"default","tag":"Publisher setup","count":3},{"language":"default","tag":"Help","count":3},{"language":"default","tag":"Policies","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"contact@polyembed.io"}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"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":"editor-v7-file-tree","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":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"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":"editor-agent-model-picker","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":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"reference/analytics-events","slug":"/reference/analytics-events","pageMetadata":{"title":"Analytics events","description":"The first-party events PolyEmbed records for widgets, trading and funding.","icon":"list-check","href":"/reference/analytics-events"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"The first-party events PolyEmbed records for widgets, trading and funding.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"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`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Heading,Table}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`PolyEmbed records these events in its own database to power your `,_jsx(_components.a,{href:`/publishers/analytics`,children:`Analytics`}),` and to attribute trades for `,_jsx(_components.a,{href:`/publishers/earnings`,children:`earnings`}),`. Widget-load events are also sent to PolyEmbed’s Google Analytics property with `,_jsx(_components.code,{children:`publisher_id`}),`, `,_jsx(_components.code,{children:`domain_id`}),`, `,_jsx(_components.code,{children:`widget_id`}),`, `,_jsx(_components.code,{children:`market_id`}),`, `,_jsx(_components.code,{children:`score`}),` and `,_jsx(_components.code,{children:`failure_code`}),` parameters.`]}),`\n`,_jsx(Heading,{level:`2`,id:`widget-and-matching`,children:`Widget and matching`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Event`}),_jsx(_components.th,{children:`When`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`market_search_performed`})}),_jsx(_components.td,{children:`The widget searched Polymarket for an article`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`market_matched`})}),_jsx(_components.td,{children:`A market cleared the threshold. Includes the score breakdown`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`market_search_failed`})}),_jsx(_components.td,{children:`No market cleared the threshold; the widget collapsed`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`widget_impression`})}),_jsx(_components.td,{children:`The widget rendered a matched market. Counts as an impression`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`widget_loaded`})}),_jsx(_components.td,{children:`The widget finished loading`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`widget_authorization_failed`})}),_jsx(_components.td,{children:`The widget, domain or publisher was inactive, or the page wasn’t on the verified domain`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`market_viewed`})}),_jsx(_components.td,{children:`A reader viewed the market in the widget`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`embed_error`})}),_jsxs(_components.td,{children:[`The widget hit an error. Counts toward `,_jsx(_components.strong,{children:`Widget errors`})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`reader-actions`,children:`Reader actions`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Event`}),_jsx(_components.th,{children:`When`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`open_polymarket_clicked`})}),_jsx(_components.td,{children:`A reader followed the link to Polymarket. Counts as a Polymarket click`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`trade_button_clicked`})}),_jsx(_components.td,{children:`A reader started a trade. Counts toward interaction rate`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`trading_unavailable`})}),_jsx(_components.td,{children:`Trading was off for the reader, for example because of their region`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`owner_signer_connect_clicked`})}),_jsx(_components.td,{children:`A reader started connecting a wallet`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`owner_signer_connected`})}),_jsx(_components.td,{children:`A wallet connected`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`deposit_wallet_created`})}),_jsx(_components.td,{children:`The reader’s Polymarket deposit wallet was set up`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`funding`,children:`Funding`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Event`}),_jsx(_components.th,{children:`When`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`funding_clicked`})}),_jsxs(_components.td,{children:[`A reader opened `,_jsx(_components.strong,{children:`Add funds`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`funding_address_copied`})}),_jsx(_components.td,{children:`A reader copied a deposit address`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`orders`,children:`Orders`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Event`}),_jsx(_components.th,{children:`When`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`order_ticket_opened`})}),_jsx(_components.td,{children:`The order form opened`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`order_reviewed`})}),_jsx(_components.td,{children:`A reader reviewed an order`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`order_signed`})}),_jsx(_components.td,{children:`The reader signed the order in their wallet`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`order_submitted`})}),_jsx(_components.td,{children:`The order was sent to Polymarket`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`order_matched`})}),_jsx(_components.td,{children:`Polymarket filled the order`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`order_failed`})}),_jsx(_components.td,{children:`Polymarket rejected the order, or it failed to submit`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`position_sold`})}),_jsx(_components.td,{children:`A reader sold shares`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`dashboard`,children:`Dashboard`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Event`}),_jsx(_components.th,{children:`When`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`widget_created`})}),_jsx(_components.td,{children:`You created a widget`})]})})]})]})}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":"Analytics events","description":"The first-party events PolyEmbed records for widgets, trading and funding.","icon":"list-check","href":"/reference/analytics-events"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Widget and matching","slug":"widget-and-matching","depth":2,"children":[]},{"title":"Reader actions","slug":"reader-actions","depth":2,"children":[]},{"title":"Funding","slug":"funding","depth":2,"children":[]},{"title":"Orders","slug":"orders","depth":2,"children":[]},{"title":"Dashboard","slug":"dashboard","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"poly-embed","siteName":"PolyEmbed Docs","title":"Analytics events - PolyEmbed Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-27T16:54:37.987Z","originalFileLocation":"reference/analytics-events.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=\"system\"}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=\"The first-party events PolyEmbed records for widgets, trading and funding.\">\u003cmeta data-mint-head name=\"application-name\" content=\"PolyEmbed Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/poly-embed/jBjRXolcJNCgyx6-/_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/poly-embed/jBjRXolcJNCgyx6-/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/poly-embed/jBjRXolcJNCgyx6-/_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/poly-embed/jBjRXolcJNCgyx6-/_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/poly-embed/jBjRXolcJNCgyx6-/_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/poly-embed/jBjRXolcJNCgyx6-/_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/poly-embed/jBjRXolcJNCgyx6-/_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/poly-embed/jBjRXolcJNCgyx6-/_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/poly-embed/jBjRXolcJNCgyx6-/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Analytics events - PolyEmbed Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"The first-party events PolyEmbed records for widgets, trading and funding.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"PolyEmbed Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.polyembed.io/reference/analytics-events\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://poly-embed.mintlify.app/_mintlify/api/og/v2?division=Embed+reference\u0026amp;title=Analytics+events\u0026amp;description=The+first-party+events+PolyEmbed+records+for+widgets%2C+trading+and+funding.\u0026amp;theme=cbeccc1989eea77ca925340e\u0026amp;signature=1c88671ad2eeb812c61125d974714cdcdfb0a4e808207444c078971682801bf3\">\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=\"Analytics events - PolyEmbed Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"The first-party events PolyEmbed records for widgets, trading and funding.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://poly-embed.mintlify.app/_mintlify/api/og/v2?division=Embed+reference\u0026amp;title=Analytics+events\u0026amp;description=The+first-party+events+PolyEmbed+records+for+widgets%2C+trading+and+funding.\u0026amp;theme=cbeccc1989eea77ca925340e\u0026amp;signature=1c88671ad2eeb812c61125d974714cdcdfb0a4e808207444c078971682801bf3\">\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/poly-embed/jBjRXolcJNCgyx6-/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"PolyEmbed Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1D4FFF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.polyembed.io/reference/analytics-events\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/reference/analytics-events.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.polyembed.io/#organization\",\"name\":\"PolyEmbed Docs\",\"url\":\"https://docs.polyembed.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/poly-embed/EDfqJtre16zCut_s/logo/light.svg?fit=max\u0026auto=format\u0026n=EDfqJtre16zCut_s\u0026q=85\u0026s=83da4d48987d3d9997fc47583453284c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.polyembed.io#website\",\"name\":\"PolyEmbed Docs\",\"url\":\"https://docs.polyembed.io\",\"publisher\":{\"@id\":\"https://docs.polyembed.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.polyembed.io/reference/analytics-events#webpage\",\"url\":\"https://docs.polyembed.io/reference/analytics-events\",\"name\":\"Analytics events\",\"description\":\"The first-party events PolyEmbed records for widgets, trading and funding.\",\"dateModified\":\"2026-10-27T16:54:37.987Z\",\"isPartOf\":{\"@id\":\"https://docs.polyembed.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.polyembed.io/reference/analytics-events#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.polyembed.io/reference/analytics-events#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Embed reference\",\"item\":\"https://docs.polyembed.io/reference/embed-url\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Analytics events\",\"item\":\"https://docs.polyembed.io/reference/analytics-events\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.polyembed.io/reference/analytics-events#article\",\"headline\":\"Analytics events\",\"name\":\"Analytics events\",\"description\":\"The first-party events PolyEmbed records for widgets, trading and funding.\",\"url\":\"https://docs.polyembed.io/reference/analytics-events\",\"mainEntityOfPage\":{\"@id\":\"https://docs.polyembed.io/reference/analytics-events#webpage\"},\"dateModified\":\"2026-10-27T16:54:37.987Z\",\"publisher\":{\"@id\":\"https://docs.polyembed.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.polyembed.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"PolyEmbed Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"PolyEmbed Docs","nav":{"global":{"anchors":[{"anchor":"PolyEmbed","icon":"house","href":"https://polyembed.io"},{"anchor":"Demo news site","icon":"newspaper","href":"https://demo.polyembed.io"},{"anchor":"Polymarket docs","icon":"book-open","href":"https://docs.polymarket.com"}]},"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"Reference","groups":[{"group":"Embed reference","pages":[{"title":"Embed URL","icon":"link","href":"/reference/embed-url"},{"title":"WordPress shortcode","icon":"wordpress","href":"/reference/shortcode"},{"title":"postMessage events","icon":"message","href":"/reference/postmessage"},{"title":"Domain verification","description":"Exact formats and checks for DNS, meta tag and file verification.","icon":"badge-check","href":"/reference/domain-verification"},{"title":"Analytics events","icon":"list-check","href":"/reference/analytics-events"}]},{"group":"Help","pages":[{"title":"Troubleshooting","description":"Fixes for widgets that don't appear, verification that fails, poor matches and trading problems.","icon":"wrench","href":"/reference/troubleshooting"},{"title":"FAQ","icon":"circle-question","href":"/reference/faq"},{"title":"Glossary","icon":"book","href":"/reference/glossary"}]},{"group":"Policies","pages":[{"title":"Policies","icon":"scale-balanced","href":"/policies/overview"}]}]}]},"title":"Analytics events - PolyEmbed Docs","buildId":"dpl_DFJrtvUi8HS5F9nkooKuDJsuD5BM","deploymentId":"dpl_DFJrtvUi8HS5F9nkooKuDJsuD5BM","dynamics":[],"chunks":[]}