Embed widget

Add giveaway draws to your site

The embed widget is not self-serve yet: the snippets below do not work on your site today. To run a draw now, use /sortear. For embed or white-label requests, email [email protected].

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_urlstring

Pre-fill an Instagram URL on load. Useful for landing pages dedicated to one giveaway.

winnersnumber

Pre-set winner count. Hides the input field.

brand_colorhex string

Override the emerald accent with your brand color (e.g. #ff5500).

brand_logoURL

Logo shown in the certificate (white-label tier required).

hide_footerboolean

Hide the 'Powered by PickAWin' footer (white-label tier required).

callbackJS function name

Called 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

Draws are a one-time payment per draw at the same prices as on the site (Standard from US$ 7.99, Premium from US$ 14.99; price shown in your currency before paying). White-label features (custom logo, hide footer, brand color override) require Growth or Enterprise plan.

Need help embedding?

Email us about embed or white-label needs.

Embed Giveaway Draws on Your Site | PickAWin