All Collections
FAQ
WordPress
Viral Loops on WordPress - Custom installation
Viral Loops on WordPress - Custom installation

How to install Viral Loops on WordPress without using the Viral Loops plugin

Fivos Stergiannis avatar
Written by Fivos Stergiannis
Updated over a week ago

Viral Loops can be installed in your WordPress website very easily using the official Viral Loops plugin: Viral Loops WP Integration

However, if you don't want to use the plugin, follow these instructions to make a custom installation on WordPress.

This is for all templates except the Altruistic Referral, Viral Loops for Shopify and the Newsletter Referral.


The first step you need to do is to add a custom HTML block at the end of the page where you want to host the campaign:

❗ 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:


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:


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 Widget or other widgets you wish to install, provided that they are supported by the template you are installing.

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?