← View All Guides
Marketo logo
Integration Guide

How to Add Referral Links to Marketo Emails and Smart Campaigns

Lead tokens put each person’s own referral link into one Marketo email, and referral counts drive the smart list.

Want the full setup walkthrough?

Use these docs for exact setup steps, supported fields, and troubleshooting.

Once GrowSurf syncs to Marketo, every person carries their referral link and progress as lead fields. Marketo prints them with {{lead.*}} tokens and filters on them in smart lists, so a single email program can serve the whole database.

Because there is no list to manage, Marketo segmentation is where this integration earns its keep: build the audience from referral counts and send accordingly.

Integration Steps

Confirm the fields are on the lead

The Marketo integration card in GrowSurf
Marketo lives in Program Editor > 4. Options > Integrations.

Open a synced person in Marketo and confirm the GrowSurf lead fields carry values before you build the email or the smart list against them.

Build the smart list on referral count

Filter on {{lead.GrowSurf Total Referral Count}} to split people who have never referred from active referrers. Those two groups need different emails, and the first group is nearly always larger.

Print the link with a lead token

Use {{lead.GrowSurf Share URL}} as both the href and the visible text. The token name includes spaces, which is normal for Marketo and required here.

Keep the offer in GrowSurf

Reward amounts and milestone copy are configured in GrowSurf. Change them there and the next sync updates every Marketo person without an edit to the email program.

Code Snippets

The referral link

<p>Share your referral link:</p>
<a href="{{lead.GrowSurf Share URL}}">{{lead.GrowSurf Share URL}}</a>

Progress and next milestone

<p>You have made {{lead.GrowSurf Total Referral Count}} referrals so far.</p>
<p>{{lead.GrowSurf Next Milestone}}</p>

A share button

<a href="https://twitter.com/intent/tweet?url={{lead.GrowSurf Share URL}}">Share on X</a>

Tips

Spaces in token names are correct

{{lead.GrowSurf Share URL}} is the real token. Removing the spaces breaks it.

Two field names differ from the pattern

The participant first name token is {{lead.GrowSurf First Name}}, and the previous-month count is {{lead.GrowSurf Previous Monthly Referral Count}}. Copy them from the field table rather than inferring them.

Segment first, personalize second

With no list to sync into, the smart list is your audience. Get that right and the email writes itself.

FAQ

What is the token for the referral link?

{{lead.GrowSurf Share URL}}, spaces included.

Can smart lists filter on referral data?

Yes. The counts and statuses are ordinary lead fields.

Why do some token names look inconsistent?

A few Marketo field names differ slightly from the other integrations. Use the field table as the reference.

Trusted by marketing and product teams that grow through customer, user, and partner referrals.