How do I set up referrals with Referral Candy?

Overview


Referral Candy allows sellers to add a refer-a-friend program to their Celery checkout.

Getting Started


1. Create a Referral Candy account at referralcandy.com.

Once registered, you'll need to collect 2 pieces of information to integrate with Celery (see Steps 2 and 3).

2. Collect Referral Candy Snippet

It should look something like this:
<script type='text/javascript'>
!function(d,s) {
  var rc = d.location.protocol + "//go.referralcandy.com/purchase/abcde.js";
  var js = d.createElement(s);
  js.src = rc;
  var fjs = d.getElementsByTagName(s)[0];
  fjs.parentNode.insertBefore(js,fjs);
}(document,"script");
</script>
3. Collect Referral Candy BCC email

This would be the invoices@xxxxxxx.referralcandy.com address.

Setting up


Once you've gathered the above, please do the following:

1. Paste your Referral Candy snippet into Celery



2. Add a time stamp to your "Order Placed" email.



Paste the following anywhere within your order placed email.
Your order was placed on {{formatDateAndTime order.created_date "YYYY-MM-DD HH:mm:ss Z"}}.
3. Add Referral Candy's BCC email to your "Order Placed" email notification



After the next order is placed, Referral Candy will notify you whether order data was received successfully. 



Feedback and Knowledge Base