All Collections
3rd Party Integrations
How to Enable the Retention Science Integration
How to Enable the Retention Science Integration

ReSci's email automation and customer data platform delivers a personalized experience to each customer—at scale.

Samantha avatar
Written by Samantha
Updated over a week ago


ReSci's award-winning artificial intelligence email automation and customer data platform delivers a personalized experience to each customer—at scale.

With this integration we will use a specified Campaign to generate a Personal URL (PURL) for each email submitted to ReSci. These urls will be stored in ReSci with the submitted email, along with the total number of conversions generated for a particular email address and the total number of rewards distributed to that email address.  We will also let ReSci know when an individual user unsubscribes from the referral program. 

Note: We will only send email addresses to ReSci where the user has checked Friendbuy’s newsletter opt-in checkbox before submitting their email into an Email Capture Widget or the Email Gate of a Referral Widget.

Integration Instructions

  1. Navigate to Settings > Configurations > Integrations > Retention Science

2. Enter the API Key that ReSci generates for Friendbuy in their portal

3. Select a Default Widget for generating Personal URLs (PURLs)

4. Click ‘Save’

Optional Settings

Overriding the default campaign

By default, all personal URLs (PURLs) that are generated and sent to ReSci will use the default campaign specified in the initial setup.  For any referral widget, the Personal URLs can come from that campaign instead of the default campaign.  If you want to enable this, navigate to Referral & Sharing > Widgets > Select Widget > Settings > Integrations and select ReSci.

Vanity PURLs

If vanity PURLs are enabled for the campaign used to generate a given personal URL for ReSci, we will send them a vanity PURL instead of the default personal URL format.  (ex. vs.

Backfilling Data

When you first enable the ReSci integration, Friendbuy will submit all pre-existing Advocate email addresses and referred Friend email addresses to ReSci. 

Opt Outs

If a user unsubscribes from Friendbuy referral emails, we will update the ‘date_unsubscribed’ field in ReSci for that user.  We will also set ‘accepts_marketing’ to ‘false’.  Additionally, during the backfill, any users that have opt-ed out in the past will have ‘accepts_marketing’ set to ‘false.’ 

Integration Data

Please see below for those supported attributes: 

User Custom Fields

ReSci Default Fields

Did this answer your question?