Embed a giveaway on your site
Copy a giveaway's embed code to show it on your own website.
- Open the giveaway and choose Manage giveaway. On the Preview tab, choose Copy embed code.
- Paste it into the HTML of your website, where you want the giveaway to appear.
The embed code looks like this, with your giveaway's own address and title:
Embed code
<iframe src="https://vast.gg/CampaignsDetailed/YOUR-GIVEAWAY-ID?widget=true" title="Your giveaway title" width="100%" height="820" style="border:0;max-width:480px" loading="lazy"></iframe>
<p><a href="https://vast.gg/CampaignsDetailed/YOUR-GIVEAWAY-ID">Enter this giveaway on Vast</a></p>The widget shows the giveaway on its own, without Vast's menus. Visitors who aren't logged in to Vast enter their name and email in the widget, tick I have read the terms and conditions, and choose Submit. If the giveaway asks for a code, we email them a 6-digit code to enter.
The Enter this giveaway on Vast link under the widget lets visitors open the giveaway on Vast if the widget can't load.