White jigsaw pieces locked together, with more pieces about to click into place, on a steel-blue floor

Integration · Website & store

Viral Loops + WordPress

Install the official Viral Loops plugin, add the Viral Loops block in Gutenberg, Elementor, Divi Builder or WPBakery, and choose a widget. Shortcodes work too.

Connect WordPress14-day free trial · No credit card requiredRead the setup guide
What syncs
Referral widgets, by block or shortcode
Plan
All plans
Setup
Install the plugin

What syncs between Viral Loops and WordPress?

The referral widgets go on any page or post.

Viral Loops to WordPress

Viral Loops block
Adds a widget in Gutenberg, Elementor, Divi Builder or WPBakery
embedForm
The form visitors use to join your program
popupTrigger
Opens the joining form in a popup
inviteeForm
The form referred friends use to accept an invite
referralCountWidget
How many friends a participant has referred
milestoneWidget
The rewards ahead, milestone by milestone
rewardStats
A participant's reward stats

Each widget is also a shortcode, written like [vl_form widget='embedForm']. The plugin keeps one campaign active at a time.

What can you do with WordPress and Viral Loops?

  1. 1

    Build a referral page with shortcodes

    Stack shortcodes on a page: the form to join, the milestones ahead and each person's referral count.

  2. 2

    Welcome referred friends

    Put inviteeForm on the page your participants' friends land on, so they join through the invite they got.

  3. 3

    Use the builder you already have

    The plugin adds a Viral Loops block to Gutenberg, Elementor, Divi Builder and WPBakery. Drop it in and choose a widget.

How do you connect WordPress?

Full setup guide
  1. 1

    Install the plugin

    Install the official Viral Loops plugin, viral-loops-wp-integration, from wordpress.org.

  2. 2

    Add your campaign

    Add your campaign in the plugin with its secret API token, from the campaign's Installation step. Newsletter campaigns show it in the Finish step, under Integrations.

  3. 3

    Add the block

    Add the Viral Loops block to a page in Gutenberg, Elementor, Divi Builder or WPBakery, and choose a widget.

  4. 4

    Publish

    Publish the page. Shortcodes work too, if you prefer them.

Which templates work best with WordPress?

All templates

FAQ

WordPress FAQ

Is there a Viral Loops WordPress plugin?

Yes. The official plugin, viral-loops-wp-integration on wordpress.org, adds a Viral Loops block to Gutenberg, Elementor, Divi Builder and WPBakery.

Can I use shortcodes?

Yes. Write [vl_form widget='embedForm'] for the form, or use milestoneWidget, popupTrigger, referralCountWidget, rewardStats or inviteeForm as the widget.

Can I run more than one campaign on my site?

The plugin keeps one campaign active at a time.

Can I use my own Elementor form?

Yes. Custom Elementor forms need Elementor Pro.

What if I can't use the plugin?

Install by hand: the campaign snippet in your site's head, and the widget in an HTML block.

Can you install it for me?

Yes. Our Concierge service installs campaigns on WordPress. It's included with Power on annual plans.

More website and store integrations

All integrations

Connect WordPress to your referral program.

Plans start at $35 a month, billed annually. Try it free for 14 days, or talk to our team.

Connect WordPress14-day free trial · No credit card requiredBook a demo