If you have a campaign created with the Startup Pre-launch, the Tempting Giveaway or the Leaderboard Giveaway templates and your website is on Leadpages, you can install your campaign in just a few steps.
Step 1: Copy-paste some code
Find your campaign Javascript Snippet in the Installation Step of the Campaign Wizard and copy it. It looks like this:
Step 2: Add the code to Leadpages
In Leadpages select the site that will host your campaign and click "Edit". On the left Leadpages bar, select "Tracking" and then go to the "Analytics" tab.
Paste the code you copied from Viral Loops on the "Immediately before the closing <body> tag" section in Leadpages.
Edit your page in Leadpages and from the left sidebar click Page Tracking and Analytics:
Paste the campaign Javascript Snippet at the section Immediately before the closing tag.
Then select Save.
Step 3: Add a trigger button for the popup
Afterwards, you need to create a trigger to open the popup of Viral Loops.
To do that, you need to go to the left corner, select "Widgets" and drag + drop the HTML icon in your page.
Like so:
When you add your widget, you just have to click on it and add the following code:
<div data-vl-widget="popupTrigger"></div>
Like so:
Select "Save".
Finally, you'll just have to publish your page and you're ready to go!
Did this article help you? Let us know!