Integrate InviteReferrals App with Shopify

Shopify is an e-commerce platform that allows you to build your brand, foster community, and drive traffic to your website. As your customers are omnipresent, you are required to engage them at every channel to provide them a favorable experience. This is how you can leave a long-lasting impact on the users by engaging them. Also, you can host your entire business website on Shopify which is easy and hassle-free.

Follow below steps to integrate:

Install App

  • Go to the Shopify App Store and add the InviteReferrals app to your shopify account.
  • Once app is added to shopify account, it can be seen in shopify apps.
  • Click on the InviteReferrals and login to the InviteReferrals account.
  • Now click on the “Go to dashboard” button and you will be navigated to the IR dashboard.

Create Campaigns

  • Once the integration process is done, you can now create the marketing campaigns through Campaigns to engage users and nudge them to refer their friends on your website.

Track Conversions:

  • In order to track the conversions for your campaigns, Go to Settings > Checkout,

Conversion Tracking Code

   var ir = ir || function(){( = || []).push(arguments)};
   var invite_referrals = window.invite_referrals || {}; (function() {
      invite_referrals.auth = { bid_e :'XXXX48BF2XXXX482D5F8C28425AAC6F',
                                  bid : '29XXX',
                                   t : '420',
                                   email : '', userParams : {'fname': ''}};
                                   invite_referrals.async = false;
   var script = document.createElement('script');
   script.src = "//";
   var entry = document.getElementsByTagName('script')[0];entry.parentNode.insertBefore(script, entry); })();

ir('track',{ orderID : '{{ order_number }}', event: 'sale', email:' {{ }}', fname: '{{}}', mobile:'{{}}',purchaseValue:'{{ total_price | money_without_currency }}'});



In above code, Dummy Brand ID and Encryption keys shown. Kindly login your IR_account to see your credentials.

  • Place the Conversion Tracking Javascript Code to Additional Scripts under Order Processing as shown below.