MailerLite

Custom Fields

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

Custom Field

Merge Tag

Description

RH_SUBID

{{$rh_subid}}

Subscriber's ID.

RH_CODE

{{$rh_code}}

Subscriber's referral code.

RH_REFLINK

{{$rh_reflink}}

Subscriber's referral link.

RH_ISREF

{{$rh_isref}}

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

RH_SHARER

{{$rh_sharer}}

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

RH_TOTREF

{{$rh_totref}}

Subscriber's total number of referrals.

RH_LASTREF

{{$rh_lastref}}

Date of the last subscriber's referral.

RH_LASTREWARD

{{$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 of the email) with each subscriber's referral link and number of referrals. Here's an example from The Morning Brew:

Achieving the same result in your newsletter is very simple. You just need to use 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.

How to set up your referral program email automations

‚Äč