Automatically trigger the popup
Sometimes you want the popup to open automatically on the landing page of your campaign, without the users clicking a button to trigger it.
That's easy to accomplish: You just have to add the following piece of JS code on the landing page of your campaign (or in all the pages where you want your campaign to live in). Make sure to add this script after the Viral Loops campaign javascript snippet.
What this script does is to wait until the Javascript of the popup has loaded completely and then fires the VL.openModal()
function that opens the popup.
Automatic participation
If you would also like the participant to join automatically when they visit the page, then check out this article: Automatically joining a Viral Loops campaign - Automatic Participation.