Skip to main content
All CollectionsFAQWordPress
How to install Viral Loops on your WordPress website
How to install Viral Loops on your WordPress website

The Viral Loops plugin works with Gutenberg, Elementor, Divi and WP Bakery

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

The easiest way to install your Viral Loops campaign in your WordPress website is to use the Viral Loops plugin for WordPress.

The plugin adds a Viral Loops block to the Gutenberg editor (default WordPress editor) and to these page editors:

  • Elementor

  • Divi Builder

  • WPBakery

That way, installing your campaign is as simple as dragging and dropping the Viral Loops block in the page.

The plugin supports all Viral Loops templates except the Altruistic Referral and Viral Loops for Shopify.

Instructions

  1. In your WordPress Admin, go to Plugins and click “Add New”. Find Viral Loops in the marketplace and install and activate it.

  2. Find Viral Loops on the left sidebar and add a new campaign. It will ask for your secret API token. You can find that in the Installation step of the Campaign Wizard. Only one campaign can be active at any time. (if you are using the Newsletter template, you can find the secret API token from the "Finish step" in the "Integrations" section. You will find "Campaign secret API token" there)

  3. Edit the page where you want to install your campaign.

  4. Find the Viral Loops block in the builder you are using (Gutenberg, Elementor, Divi, WP Bakery) and add it to the page. (if you are using the Newsletter template with Elementor, it will probably ask you for the secret API token now. Add it and proceed)

  5. From the dropdown that appears, select the widget that you want to add. The dropdown only shows widgets that are available for the template you have installed.

  6. Publish the page and you’re ready!

Visitors that get to the page will see the Viral Loops Widgets and can join the campaign or see rewards they have won.

Using shortcodes

If you are not using any of these page editors then you can also use shortcodes to embed the widgets in your WordPress pages. These are the relevant shortcodes for each Viral Loops widget:

Form Widget

[vl_form widget='embedForm']

Milestone Widget

[vl_form widget='milestoneWidget']

Popup Trigger

[vl_form widget='popupTrigger']

Referral Count Widget

[vl_form widget='referralCountWidget']

Reward Stats Widget (for Refer a Friend)

[vl_form widget='rewardStats']

Invitee Widget

[vl_form widget='inviteeForm']

Screenshots

Did this answer your question?