Skip to main content
All CollectionsPre-launch and Giveaway CapaignsInstallation
The Leaderboard Giveaway or Tempting Giveaway or Start-Up Prelaunch + Custom Built website
The Leaderboard Giveaway or Tempting Giveaway or Start-Up Prelaunch + Custom Built website

How to install your Leaderboard Giveaway or Tempting Giveaway or Start-Up Prelaunch campaign on your Custom Built website

Fivos Stergiannis avatar
Written by Fivos Stergiannis
Updated over a week ago

If you know HTML and can edit your site, installing Viral Loops only takes a few minutes.

Step 1: A bit of code

First, add the Javascript Snippet right before the closing  </body> tag. You will find it in the Installation Step of the Campaign Wizard:

Step 2: The popup trigger

You just need to create a trigger to open the popup of Viral Loops. You can use the Viral Loops Simple button, or you can create your own custom button if you are comfortable with it.

Simple button (recommended)

Add the following code inside your custom built page:

<div data-vl-widget="popupTrigger"></div> 

You can customize the look and feel of the trigger button on the Joining step of this wizard.

Use your own (advanced)

Create a button or a link and give to it a class vrlps-trigger.

For example,

<button type="button" class="vrlps-trigger">Join our campaign!</button>

or

<a href="#" class="vrlps-trigger">Join our campaign!</a> 

Step 3: Ready to launch!

Congrats, you're ready to go! Now just take your page live 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!

Did this answer your question?