Start by building your website in Unbounce. For this example we replicated the page we set up at Viral Loops to give away our #goviral t-shirt. If you haven't already, you should get one too!
We used a "Tempting Giveaway" template there but this guide works just the same for the "Leaderboard Giveaway" and the "Startup Pre-launch" templates.
So, this is what it looks like in Unbounce:
Step 1: A bit of code
While editing your page in Unbounce, click Javascripts at the bottom of the page and add the campaign JavaScript snippet. You will find it in the Installation Step of the Campaign Wizard.
Step 2: The popup trigger
You need a button in your page to trigger the popup to open so that your visitors can join the campaign.
While editing your page in Unbounce, drag and drop a Custom HTML block inside the page, where you want your button to be placed.
Add the following code inside it and click Save Code :
<div data-vl-widget="popupTrigger"></div>
You can customize the look and feel of the trigger button on the Joining step of this wizard.
Step 3: Ready to launch!
Congrats, you’re ready to go! Just save and publish your page and it's ready to start receiving visitors who will click the trigger button and join the campaign you just created!
Did this article help you? Let us know!