Skip to content
Referral Rock

Shopify Referral Program Integration

A paid Shopify order approves the matching referral, and a checkout pixel credits every referred purchase. Read-only access, in open beta, with no app store install.

About our Shopify referral integration

Referral Rock is referral program software for businesses with teams. Referral Rock integrates with Shopify through a native, read-only connection to your orders (in open beta) and a checkout pixel that tracks referred purchases.

Shopify logo

Shopify

Native Integration JavaScript Snippet
What it does
Conversion Tracking | Customer Feed beta
Category
E-commerce
Requirements
  • • A Shopify store
  • • A Shopify app you create with read-only order and customer access
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 Shopify connects to Referral Rock

  1. A customer shares a referral link

    The friend lands on your Shopify store, with any friend discount you set up already applied.

  2. The friend checks out

    The checkout pixel tells Referral Rock who bought, with the order ID and subtotal.

  3. The order is paid

    The paid Shopify order comes in over the read-only connection.

  4. The referral is approved

    The matching referral is approved in every program, the reward goes out, and the buyer can join the program.

How the integration connects
A Shopify app you create with read-only order and customer access (no app store install), plus a custom pixel under Settings, Customer events. Customer Feed is in open beta.
Shopify sends to Referral Rock
Orders that reach paid. The matching referral is approved across all programs, and the buyer can be added as a member, depending on your account settings.
What the checkout pixel sends
On each completed checkout: email, first and last name, order ID and the order subtotal.
How records match
By email. Referrals already approved or denied stay as they are, and an email that matches more than one referral is skipped.
What the integration doesn't do
Nothing goes back to Shopify: the connection only reads. Friend discounts are Shopify discount links you create; Referral Rock doesn't write discount codes into Shopify.

When teams use Shopify with a referral program

Ecommerce brands

A referred friend places a first order

The checkout pixel credits the purchase to the customer who shared the link, and the paid order approves the referral, so the reward follows real sales.

Brands with a friend offer

Friends get a discount on arrival

Create a shareable discount link in Shopify and set it as the program's Webpage Redirect. Friends land on your store with the discount applied to the cart.

Growing customer bases

New buyers join the program

When a referred friend's order is paid, the buyer can be added as a program member, so first-time customers get their own referral link.

Affiliate and influencer programs

Pay affiliates on paid orders

Affiliates and influencers share their own links like any member. The checkout pixel credits each sale they send, and the paid order approves the referral, so commissions follow real sales.

Setting up Referral Rock with Shopify

  1. 1

    Create a Shopify app

    You

    In Shopify, create an app with the read-only read_orders and read_customers scopes, install the app and copy the Client ID and Client Secret.

  2. 2

    Connect Shopify in Referral Rock

    You

    On the Integrations page, select Connect on Shopify, then Save & Verify Keys, and enter your store domain, Client ID and Client Secret.

  3. 3

    Add the checkout pixel

    You

    With Referral.js set up and your program's referral destination set to your store, add a custom pixel under Settings, Customer events, and paste the Referral.js script and the checkout_completed script from the help doc.

  4. 4

    Optional: a friend discount

    You

    Create a shareable discount link in Shopify and paste it as the Webpage Redirect destination in your program.

Full steps: the Shopify 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

Shopify referral integration FAQs

Two ways. A native, read-only connection reads paid orders through a Shopify app you create (in open beta). And a custom checkout pixel credits each referred purchase to the customer who sent the friend.

Create a Shopify app with read-only access and connect it in Referral Rock, add the checkout pixel, and set your reward. Paid orders from referred friends approve the matching referral and the reward goes out.

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.

Referral Rock looks for a referral with the buyer's email and approves the referral in every program the referral appears in. Referrals already approved or denied stay as they are. Depending on your account settings, the buyer can also be added as a program member.

No. You create a small Shopify app yourself with read-only order and customer access, then connect the app in Referral Rock with the Client ID and Client Secret.

Yes. Create a shareable discount link in Shopify and set it as your program's Webpage Redirect. The discount applies to the friend's next checkout cart.

No. The Shopify connection is read-only: Referral Rock reads paid orders and customers and never writes to your store.

Yes. Referral Rock is referral software built to run customer referral, brand ambassador, and affiliate marketing programs from one platform. The Shopify integration works the same way no matter which type you run.

Customer reviews

Referral Rock + Shopify, in their words

Our account manager was amazing and greatly helped with onboarding / customization

Our account manager was amazing and greatly helped with onboarding / customization. He was available and responsive to all our questions. Referral Rock is quite powerful, automated and well…

RM

Ryan M.

Chief Operating Officer, Exokinetics

Need help setting up?

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

Ready to connect Shopify?

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

Not ready to talk? See a free referral flow →