This guide will help you install a Viral Loops campaign to your WordPress 5 website.

Step 1 - Creating an HTML block on the campaign page

At the end of the page where you want to host the campaign, add an HTML block:

❗ This needs to be the same page (URL) that you have submitted on the Info step of the campaign wizard.

🔎 If the HTML block is not in your 'most used' options, search for it:

Step 2 - Installing the campaign snippet

An HTML block appears that allows you to add HTML:

Here, you need to copy and paste the campaign snippet. It is found on the Installation step of the wizard, after selecting > "I'll do it myself" > See instructions for > Choose Custom Built:

❗ Some campaign editors (depending on the template) don't have the "See instructions for" drop-down so you just take the snippet you'll see below.

So, it will look like this when you paste it to the HTML block:

Step 3 - Add widgets

The campaign snippet cannot stand alone in your campaign page as it doesn't contain any visuals. So, you need to repeat Step 1 and instead of the snippet, add the Form or any other Widget you wish (provided that it's supported by the template at hand).

In this example, we are using the Milestone template so the Form and Milestone Widgets need to be added in separate HTML blocks:

❗ Please bear in mind that the campaign snippet (Step 1) needs to be placed after your widgets, so you might want to re-arrange your blocks at this point. 

Click Update on WordPress and that's it! 🙌🏻

You can view the page and see that your campaign has been successfully installed. Yaaay 🎉

Did this article help? Let us know 😊

Did this answer your question?