Setting up your site
The Viral Loops snippet
To install a Viral Loops widget please add the following snippet of code in the <head>
section of your site:
<script id="viral-loops-loader" src="https://app.viral-loops.com/widgetsV2/core/loader.js"></script>
This will load the Viral Loops JavaScript globally on your site. After this, you're ready to install our widgets!
Depending on your template, there is a different variety of widgets available to you.
If you prefer to integrate with an existing form then make sure to also include your unique campaign ID on the snippet like this:
<script id="viral-loops-loader" data-campaign-id="<YOUR_CAMPAIGN_ID>" src="https://app.viral-loops.com/widgetsV2/core/loader.js"></script>
The Campaign ID can be found on your campaign's installation page
This should be installed across all pages your campaign takes place!
Installation instructions for your template |
---|
The Milestone Referral |
The Startup Prelaunch |
Refer a Friend |
The Leaderboard Giveaway |
The Newsletter Referral |
The Tempting Giveaway |
Updated 4 months ago