Hubspot

How to easily add a SparkLoop referral program to your email-list or newsletter in Hubspot.

Custom Fields

When you create a campaign in SparkLoop a bunch of custom fields are automatically added to subscribers in your Drip account:

Custom Field

Merge Tag

Description

RH_SUBID

{{ contact.rh_subid }}

Subscriber's ID.

RH_CODE

{{ contact.rh_code }}

Subscriber's referral code.

RH_REFLINK

{{ contact.rh_reflink }}

Subscriber's referral link.

RH_ISREF

{{ contact.rh_isref }}

Whether or not the subscriber has been referred. "YES" or "NO".

RH_ISSHARER

{{ contact.rh_issharer }}

Whether or not the subscriber has shared the link. "YES" or "NO".

RH_TOTREF

{{ contact.rh_totref }}

Subscriber's total number of referrals.

RH_LASTREF

{{ contact.rh_lastref }}

Date of the last subscriber's referral.

RH_COUPON

{{ contact.rh_coupon }}

Subscriber's most-recently-won coupon code.

RH_LASTREWARD

{{contact.rh_lastreward}}

The ID of the last reward won by this subscriber.

Using SparkLoop's custom fields in your newsletter

A common need for people is to add a section in their newsletter (usually at the bottom) with each subscriber's referral link and a number of referrals. Here's an example from The Morning Brew:

You can achieve the same result in your newsletter by adding the corresponding merge tags, like this:

When you send your newsletter the merge tags will be automatically replaced with each subscriber's total number of referrals and referral link.