Widget Installation

To embed a Viral Loops widget, add one of the following HTML elements in your page. After the page load, these elements will get populated with an iframe element that contains the widget.


Available widgets per template

The Newsletter Referral

<div data-vl-widget="embedForm"></div>
<div data-vl-widget="inviteeWidget"></div>
<div data-vl-widget="milestoneWidget"></div>

The Milestone Referral

<div data-vl-widget="embedForm"></div>
<div data-vl-widget="referralCountWidget"></div>
<div data-vl-widget="milestoneWidget"></div>

Refer a Friend

<div data-vl-widget="embedForm"></div>
<div data-vl-widget="rewardStats"></div>

The Altruistic Referral

<div data-vl-widget="sharingWidget"></div>
<div data-vl-widget="rewardStats"></div>


Did this page help you?