Domain authorization
Every widget load is checked against your account. The widget renders only when all of these are true:- The widget is active.
- Your publisher account is active.
- The widget’s domain is verified.
- The embedding page’s host is the verified domain or one of its subdomains.
Referer header the browser sends with the iframe request, which is why the snippet sets referrerpolicy="strict-origin-when-cross-origin". If any check fails, the widget collapses, and PolyEmbed records a widget_authorization_failed event.
This means someone who copies your snippet onto their own site gets nothing: no widget renders, and no traffic is attributed to you.
Signed snippets
PolyEmbed can also sign snippets to your domain. A signed snippet carries three extra URL parameters:
When signing is on, the embed code and shortcode on your widget page include these parameters. Copy them exactly and don’t edit them: a snippet with a missing or wrong signature doesn’t render. If your snippet has no
d, kv or sig, signing isn’t required for your widget.
Rotate the embed key
Rotate the key if a signed snippet was copied to a site you don’t control.1
Open the widget
In Widgets, open the widget and find Embed key. It shows the current version.
2
Rotate
Click Rotate embed key, then Yes, rotate key. The version number increases.
3
Update your template right away
Copy the new embed code or shortcode and replace the old one everywhere. Signed snippets with the old key stop rendering immediately.
Trading sessions
When a widget renders with trading enabled, PolyEmbed issues a short-lived embed session for that page view. The session is required for the widget’s trading requests, such as signing builder-attributed requests and generating deposit addresses. Sessions last 30 minutes and extend while the reader is active, with a hard upper limit. Session issuance is rate limited per visitor.What PolyEmbed never has
- Readers’ private keys. Readers sign with their own wallet or an email wallet they control.
- Readers’ funds. Funds sit in the reader’s own Polymarket deposit wallet.
- Your site’s credentials. Verification only reads a public DNS record, meta tag or file.