Skip to content
Referral Rock

Wix Referral Program Integration

Turn every referred Wix form into a referral credited to the customer who sent the friend. Copy-paste scripts in Wix's Velo editor pass the friend's details to Referral Rock.

About our Wix referral integration

Referral Rock is referral program software for businesses with teams. Referral Rock integrates with Wix through Referral.js and scripts you paste into Wix's Velo editor from our help doc.

When a friend arrives through a customer's referral link and submits your Wix form, the form sends the friend's name, email and phone to Referral Rock, which creates a referral credited to the customer who sent the friend.

Wix logo

Wix

JavaScript Snippet
What it does
Conversion Tracking
Category
Website Builders
Requirements
  • • A Wix Forms form on your Wix site
  • • Wix's Velo developer tools turned on
  • • Your Referral Rock API keys
Documentation
View Setup Guide
Data Privacy
When using this integration, it's up to you to comply with applicable laws and regulations, as well as Referral Rock's Terms of Service and Privacy Policy.

How Wix connects to Referral Rock

  1. A customer shares a referral link

    The link carries the customer's referral code to your Wix site.

  2. The friend fills out your Wix form

    A hidden Referral Code field picks up the code while the friend fills out the form like any visitor.

  3. Your Wix site sends the details to Referral Rock

    A backend method on your site passes the friend's name, email, phone and the referral code to Referral Rock.

  4. Referral Rock creates the referral

    The referral is credited to the customer who sent the friend. You approve the referral and the reward goes out.

How the integration connects
Referral.js plus scripts in Wix's Velo editor that send each referred form to Referral Rock.
Who does what
You do every step yourself in Wix, with ready-made scripts from the help doc (steps below). No support request needed.
What the integration sends
First name, last name, email, phone and the referral code from each Wix form submitted with a referral code.
What the integration doesn't do
The integration covers Wix Forms, not Wix Stores orders or bookings, and doesn't decide who counts as a customer. You approve referrals yourself, or connect a CRM or billing tool to approve referrals for you.

When teams use Wix with a referral program

Service businesses

A referred friend requests a quote

Your Wix contact form is where new jobs start. Each request from a referred friend becomes a referral with the friend's name, email and phone, so you know who to call and who to thank.

Studios & local businesses

A referred friend signs up for a trial class

Sign-up forms count too. Reward the member who sent the friend once the friend joins.

Professional services

A referred client asks for a consultation

Each consultation request from a referred friend is credited to the client who shared the link, so referral thank-yous stop depending on memory.

Setting up Referral Rock with Wix

  1. 1

    Add Referral.js to your site's header

    You

    Add the Referral.js script to the header of each page on your Wix site, and set your program's referral destination to your Wix site.

  2. 2

    Add the page scripts

    You

    Put the store-code script from the help doc on the page referrals land on, and the form script on each page with a form, replacing the example form ID with your form's ID.

  3. 3

    Add a hidden Referral Code field

    You

    Give your Wix form a hidden Referral Code field, plus First Name, Last Name, Email and Phone fields, so the script can fill in the code and pass the details.

  4. 4

    Add your API keys and the backend method

    You

    Save your Referral Rock public and private API keys in Wix Secrets, then add the backend method from the help doc to your site.

  5. 5

    Test the integration

    You

    Follow the test video in the help doc: submit the form through a referral link and check that the referral shows up in Referral Rock.

Full steps: the Wix setup guide.

See a referral flow built based on your business

Give us your website. Our team builds you a referral flow from it, styled to your brand.

Get my free referral flow

Yours to keep. No sales call.

How it works

  1. 1 We build a referral flow from your website, styled to your brand
  2. 2 We send you a link to preview it
  3. 3 See the experience you'd send your customers

Wix referral integration FAQs

Through Referral.js plus scripts from our help doc that you paste into Wix's Velo editor.

When a friend who came through a referral link submits your Wix form, a hidden field holds the referral code, and a backend method on your site sends the friend's details to Referral Rock, which creates the referral.

Add Referral.js to your Wix site, add the page scripts and a hidden Referral Code field to your form, and save your API keys in Wix Secrets with the backend method from the help doc. Then set your reward. Each referred Wix form becomes a referral credited to the customer who sent the friend.

Referral Rock is referral program software for businesses with teams. An advisor sets up your program with you on every plan, with no setup fee.

You won't write code, but you will paste code. The scripts come ready-made in the help doc; you swap in your form's ID and your API keys in Wix's Velo editor. If code makes you nervous, ask a teammate who's comfortable with code, or reach our support team through the chat on the help doc.

Wix Forms. The form script listens for your Wix form's submit, so each form page gets the form script with that form's ID.

No. The help doc covers Wix Forms. To reward on a sale, approve the referral when the friend buys: by hand, by importing your customer list (each matching email approves the matching referral), or from a connected billing tool.

Referral Rock creates the referral, credited to the customer who sent the friend. Most programs reward once the friend becomes a customer, so you approve the referral at that point: by hand, by importing your customer list, or automatically from a connected CRM or billing tool.

Yes. Referral Rock is referral software built to run customer referral, brand ambassador, and affiliate marketing programs from one platform. The Wix integration works the same way no matter which type you run.
“Their integrations, their obsession to be on the leading edge of their niche, the overall customizability... All in all, I saved thousands by not needing to build an app or sign up for a long-term contract.”

Need help setting up?

Every Referral Rock plan includes onboarding help. Our team will help you configure the Wix integration and make sure everything is working perfectly. View the setup guide

Ready to connect Wix?

Start your free trial and set up the integration. No credit card required.

Not ready to talk? See a free referral flow →