Embed widget
Add giveaway draws to your site
Embed the full PickAWin draw experience inside your own page with one line of HTML. No backend setup, no API integration — comments scrape, draw runs, certificate generates, all inside the iframe.
Option 1: iframe (zero JS)
Drop this into any HTML page. Works on Squarespace, WordPress, Webflow, custom sites.
<iframe
src="https://pickawin.app/embed/draw?theme=dark&locale=en"
width="100%"
height="720"
style="border: 0; border-radius: 16px;"
allow="clipboard-write"
title="PickAWin giveaway draw"
></iframe>Option 2: JS snippet (auto-resizes)
Loads the widget asynchronously and auto-adjusts height to content. Recommended for production.
<div id="pickawin-widget" data-locale="en" data-theme="dark"></div>
<script src="https://pickawin.app/widget.js" async></script>Configuration options
theme"dark" | "light" | "auto"Color scheme. Defaults to auto (matches user system preference).
locale"pt" | "en" | "es"Interface language.
default_urlstringPre-fill an Instagram/TikTok URL on load. Useful for landing pages dedicated to one giveaway.
winnersnumberPre-set winner count. Hides the input field.
brand_colorhex stringOverride the emerald accent with your brand color (e.g. #ff5500).
brand_logoURLLogo shown in the certificate (white-label tier required).
hide_footerbooleanHide the 'Powered by PickAWin' footer (white-label tier required).
callbackJS function nameCalled when draw completes. Receives { winners, hash, certificate_url }.
Webhook on completion
Configure a webhook URL in your dashboard to receive a POST when any embedded draw completes — useful for syncing winners back to your CRM/email system.
POST https://yoursite.com/webhooks/pickawin
{
"event": "draw.completed",
"embed_id": "your_embed_session_id",
"winners": [...],
"verification": { "sha256": "..." }
}Real-world examples
Brand landing page
Pre-fill the URL of the Instagram post you want to draw from. Visitors come in via email/social, click "draw winner", get a SHA-256 certificate inline. Zero friction.
Agency client portal
Embed inside your client dashboard. Each client logs in, sees ONLY their giveaways. White-label tier removes all PickAWin branding.
WordPress sweepstakes
Drop the iframe into a WP block. Pair with WP Forms for entry collection — PickAWin handles only the verifiable draw step.
Live event activation
Display on a screen at a conference/event. Audience members comment on a hashtag, presenter clicks 'draw', cinematic reveal plays full-screen.
Pricing
Embed widget is free to use — you're charged only when a draw runs (same per-draw pricing as the dashboard: $2.99 Standard / $7.49 Premium). White-label features (custom logo, hide footer, brand color override) require Growth or Enterprise plan.
Need help embedding?
We'll help you get it live in 30 minutes — free integration support for any plan.