Client Side SDK

Installation

To have more control over your Viral Loops campaign, you can use our Custom Form integration or Javascript SDK to create more intricate flows. Follow the steps below to get started:

Install the Viral Loops snippet in the of your website by adding the following code:

<script data-campaign-id="<YOUR_CAMPAIGN_ID>"  type="text/javascript" src="https://app.viral-loops.com/widgetsV2/core/loader.js"></script>

πŸ“˜

This should be installed across all pages your campaign takes place!

The Campaign ID can be found on your campaign's installation page