Referral Rock

Wix Referral Program Integration

Embed Referral Rock widgets on your Wix website to enable referral sharing and track conversions from site visitors.

About Our Wix Referral Integration

Wix logo

Wix

JavaScript Snippet

Embed Referral Rock widgets on your Wix website to enable referral sharing and track conversions from site visitors.

What it does
Share | Track
Category
Website Builders
Requirements
  • Wix account
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.

What You Can Do with Wix

Wix is one of the world's most popular website builders, powering millions of small businesses, entrepreneurs, and creators. Referral Rock integrates with Wix through the Referral.js SDK, which you install once via Wix's Custom Code tool under Marketing & SEO. Once in place, any form submission on your Wix site, including Wix Forms, lead capture pages, and store checkout thank-you pages, can be tracked as a referral conversion and attributed back to the advocate who sent the visitor. A paid Wix plan is required to access the Custom Code feature.

Install the Referral Rock tracking SDK once via Wix's Custom Code tool (Marketing & SEO), no per-page edits required
Capture referred form submissions from Wix Forms on any page and record them as referral conversions
Track Wix Stores purchases and checkout completions as referral conversion events
Attribute every lead and sale to the advocate who referred them, automatically, using the submitted email address
Automatically invite captured email addresses to join your referral program, creating a self-sustaining referral loop

How the Wix Integration Works

1

Add the Referral Rock SDK via Wix's Custom Code tool

In your Wix dashboard, navigate to Marketing & SEO > Marketing Integrations > Custom Code (or Settings > Custom Code). Paste the Referral Rock JavaScript snippet and set it to load on all pages in the Head section. This single step activates referral tracking across your entire Wix site, no Wix Editor changes needed.

2

Identify the Wix Forms or pages you want to track as conversions

Choose which pages drive your referral conversions, whether a Wix Form on a landing page, a Wix Stores checkout thank-you page, or a booking confirmation page. Referral Rock listens for form submissions on those pages and records them as program conversions.

3

Referral Rock attributes every submission to the right advocate

When a visitor arrives through a referral link and completes a form on your Wix site, Referral Rock reads the submitted email address and automatically matches the conversion to the advocate who referred them, no manual reconciliation required.

4

Rewards issue automatically when a referred visitor converts

Once a referred conversion is confirmed, Referral Rock triggers your reward rules without any manual work. Advocates can receive gift cards, cash, discount codes, or custom incentives and track their status in their personal referral portal in real time.

One-time setup via Wix Custom Code

Wix's Custom Code tool lets you inject JavaScript into every page on your site from a single location in your dashboard, no Wix Editor sessions, no page-by-page edits. Paste the Referral Rock SDK snippet once and tracking is live everywhere.

  • Access Custom Code under Marketing & SEO > Marketing Integrations or Settings > Custom Code in your Wix dashboard, no Wix Editor access required.
  • Setting the snippet to load on 'All Pages' in the Head section ensures referral tracking is active on every Wix page, including dynamically generated pages.
  • The SDK is lightweight and loads asynchronously, so it won't slow down your Wix site or affect your visitors' experience.

Track Wix Forms as referral conversions

Any form built with Wix Forms can become a referral conversion trigger. Whether you're capturing consultation requests, newsletter signups, or quote inquiries, Referral Rock listens for those submissions and attributes them to the right advocate.

  • Referral Rock reads the email field from submitted Wix Forms and creates a referral conversion attributed to the advocate who sent the visitor.
  • Any email address captured, even from visitors who didn't arrive via a referral link, can be automatically invited to join your referral program, turning every lead into a potential advocate.
  • Works with standard Wix Forms out of the box, with no changes to your form design or Wix Editor layout needed.

Works with Wix Stores and e-commerce

For businesses running Wix Stores, Referral Rock can track purchases and checkout completions as referral conversion events. Reward advocates when their referred visitors complete a purchase, not just when they fill out a form.

  • Track Wix Stores order completions as referral conversions by targeting the checkout thank-you page in your Referral Rock program settings.
  • Tie referral credit directly to purchases. Issue rewards based on sale amount, flat commissions, or custom incentive structures.
  • Works alongside your existing Wix Stores product catalog and checkout flow without requiring any modifications to your store setup.

A referral portal that complements your Wix brand

The advocate-facing referral portal lives inside Referral Rock and is fully brandable, including colors, logo, messaging, and reward language. Your Wix site drives referral traffic; Referral Rock handles the program experience behind the scenes.

  • Customize the referral member portal with your brand colors, logo, and copy to match the look and feel of your Wix site.
  • Advocates get a personal dashboard with their unique referral link, sharing tools, and real-time reward status, without you having to build anything in Wix.
  • Concierge Onboarding is available on every plan. Our team will walk you through Custom Code installation, form connection, and a full test conversion before you launch.

Wix Referral Integration — FAQ

In your Wix dashboard, go to Marketing & SEO > Marketing Integrations > Custom Code (or Settings > Custom Code on some Wix versions). Click 'Add Custom Code,' paste the Referral Rock JavaScript SDK snippet, set the placement to Head, and choose 'All Pages.' Save and publish your site. Full step-by-step instructions are in our Wix integration documentation.
Yes. You can track Wix Stores purchase completions as referral conversions by targeting the checkout thank-you page in your Referral Rock program settings. Referral Rock will attribute confirmed purchases to the advocate who referred the buyer, and rewards can be issued based on the sale amount or a flat rate, whichever your program uses.
The Wix integration uses the Referral Rock JavaScript SDK (Referral.js), which you install manually via Wix's Custom Code tool. There is no OAuth app or Wix App Market listing to install. You paste the snippet into your Wix dashboard once, and it runs on every page of your site automatically.
Yes. Wix's Custom Code feature is only available on paid Wix plans. It is not available on the free Wix tier. Any paid Wix hosting plan (Connect Domain and above) unlocks Custom Code access, which is required to install the Referral Rock SDK.
Yes. Because the snippet is installed at the site level via Custom Code rather than in the Wix Editor canvas, it applies to both desktop and mobile versions of your Wix site automatically. Referred visitors who land on your site from a mobile device are tracked the same way as desktop visitors.
When a visitor arrives on your Wix site through a referral link, Referral Rock stores the referral attribution in the browser. When that visitor completes a Wix Form, Referral Rock reads the submitted email address and records the submission as a conversion attributed to the advocate who referred them. Any email captured, even from non-referred visitors, can also be automatically emailed an invitation to join your referral program, keeping the referral loop running.
“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 dedicated onboarding support. 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 in minutes. No credit card required.