Categories: Integration

Shopify Referral App Integration

Launching shopify referral App is very simple with invitereferrals.com. If you are not signed up with InviteReferrals already, you’ll need to do so. Please sign up and create a referral campaign for your Shopify store first. Sign up for free now !! Follow these steps to add InviteReferrals integration code to your store:

Part A : Integrate InviteReferrals Shopify Referral App

1. Install the InviteReferrals Shopify App

Visit the following page and click on “Get App”.
https://apps.shopify.com/invitereferrals-referral-marketing-software
Then you will be redirected to a page where you will need to login with InviteReferrals.

2. Login to InviteReferrals

Enter InviteReferrals “username”, “password” and click on login

3. Include InviteReferrals Snippet tag

a) Go to your Shopify Theme Editor. Click on the layouts theme file to open it.

b) Insert the following code to the theme file just before the body tag:

{% include ‘invitereferrals’ %}

4. Add InviteReferrals Tracking Pixel to track referral conversions

– Go to Settings > Checkout in your shop admin and add the InviteReferrals tracking code in the “Additional Content & Scripts’” text box.
Source : Add third party conversion tracking
-First login to the invitereferrals site and then copy the InviteReferrals tracking pixel from documentation section -> Referral Tracking Pixel.  so that the secret keys are already prefilled.

Also replace the following two variables in the tracking code you have copied:
a) Replace {Unique tracking number like orderID or customerID}  with  {{ order_number }}
b) Replace {email address of customer} with {{ customer.email }}
c) Add fname and purchaseValue parameters as defined in example below

Example code –

<img style='position:absolute; visibility:hidden' src='https://www.ref-r.com/campaign/t1/settings?bid_e=C538A0AE9XXXXXXXX8&bid=5XX&t=420&orderID={{ order_number }}&email={{ customer.email }}&fname={{ customer.name }}&purchaseValue={{ total_price | money_without_currency }}' />

Part B : Create campaign in InviteReferrals Software

Setup up the campaign using easy setup tutorial guide given below

Go through referral program promotion guide to increase effectiveness of your referral program. You can also check out our case studies section to learn from success stories. Thats it! Your Shopify referral App is ready. You can customize anything from the admin panel. No code changes are needed on your shopify store.

Aman Gupta

Co-founder, The product guy at inviteReferrals. Ensures that the best industry practices are built right into your customer referral program.

View Comments

  • I am looking for this type of articles from many days, found your website recently. i had bookmarked your blog for regular updates.Thanks for the posts.

Recent Posts

How Referral Programs Quietly Push You Up the Rankings

Marketers love chasing shiny objects. More keywords. More ads. More backlinks bought from some sketchy…

5 days ago

7 Best Mobile App Retention Strategies – Expert Product Manager Insights

Did you know that most mobile apps lose more than 70% of users within the…

4 weeks ago

5 Popular Generative AI-based Testing Tools for Automation

In the software quality assurance (QA) process, one of the critical components is the test…

1 month ago

Viral Marketing Strategies: How to Make Your Brand Go Viral?

Viral marketing is one of the most exciting forms of digital marketing. It can turn…

1 month ago

The Five Best Email Tools For Boosting Referral Marketing Results

The right tools can simplify the process of managing and automating referral programs, making it…

2 months ago

Referral Marketing Strategies to Help You Drive Customer-Led Growth

  Wouldn’t it be great if the happiest customers could shout from the rooftops about…

2 months ago