Lead Gen & CRM
How can we help you?
Search our help articles, video tutorials, and quickstart guides

You've got this. You've got us. Search our Knowledge Base to quickly find answers to your questions.

Using Referrer Fields as Merge Variables in Emails

Article: 000050311
Updated: June 10, 2026

Lead Gen & CRM automation allows you to incorporate who the lead was referred by into the email you send out to them

This is done through automation by first creating a custom referrer field, adding it as a merge variable in an email and as a special field in a form, and sending the email when someone fills out the related form. This article will detail how to use referrer fields in emails and how to create an entire automation based around the referrer field as a merge variable in emails.


Article Contents

 
Users:
Administrators 
Company Managers 
Marketing Managers 
Sales Managers  
Salespersons  
Jr. Salespersons  

Understanding Referral Fields

Forms in Lead Gen & CRM use two field types: standard and referral

In forms, Standard fields are those that require a user to enter expected information, such as their name or email address. Standard fields are for your primary users. Referral fields request the same information, but they are for users who receive the forwarded form from the primary user. Referral fields add a contact record based on the information, but do not establish tracking between the device and the contact’s record.

Referral fields can be used with many Lead Gen & CRM features, though they are mostly used with forms and emails. When paired with emails, referral forms can be a valuable asset. Referring or forwarding emails can help generate more leads. As the person forwarding the email is most likely a friend of the person being referred to in the email, this reinforces the credibility of your message.

If you want your message to be heard by as many people as possible, consider adding referral functionality to all of your forms and emails being sent through Lead Gen & CRM. When the custom referral form is submitted, a custom field will be populated in the referred person's profile, which will then trigger that email to go out to that referred person.

When using referral fields, be aware that the fields do not establish tracking. That said, referral fields do create a second contact record for that referral. When using referral fields, send an email to that referral stating that they were referred. This encourages the referred visitor to visit your website or fill out a form to establish tracking.
 



Creating Referrer fields

For the entire email process to function, you will first need to create a custom referrer field.

To create a custom referrer field, complete the following steps:

  1. Click Settings.
  2. Click Custom Fields, located under Features in the left panel.
  3. Click Add Field.

    Blue Add Field button in the Custom Fields section in Settings 
  4. Enter a name in the Field Label box.
  5. Choose Lead Field.
  6. Choose a folder for your new field. 
  7. Choose Text input radio button.
  8. Enter text that asks how the user was referred in the Placeholder text box.
  9. Enable the following checkboxes:

    • Available in Contact Manager
    • Available in Forms
    • Email Merge Variable

  10. Click Create Field

    Lead field created in the Create Field form with blue Create Field button


Creating Referrer Forms 

Once the referrer field has been created, you will need to attach it to a form.

To create a referral form, create or edit a form from the Forms page in the left toolbar. 

  1. In the Fields section, under Referral Fields, click the Referral Fields drop-down menu.
  2. Click the Custom section.
  3. Select the created referrer field.

    Referral Field section in the Forms section

  4. Click Save Changes.
  5. Click  12more.png  Actions > Embed Code.

    Blue Save Changes button and expanded three dots menu with Embed Code in the dropdown menu 

     

Add the tracking code to the webpage that the form is hosted on.



Creating referrer emails in the Classic email editor

Once the referrer form has been created, you will need to create the email that will be sent after a user fills out the form. To create emails with referrer fields, create or edit an email from Email in the left toolbar. 

 

  1. Design the email to fit your needs then click Merge.
  2. Select Custom Fields.
  3. Select the custom referrer field

    Select the referral field in the Custom Fields section of Merge variables

  4. Optionally, enter a field default value (the value that appears if the merge value doesn't populate) and click OK.

    Default value field and green OK button

Save the email template. Once you've created your form and email, you'll need a workflow that joins them together. Visit Creating Referrer Workflows to learn how to build a referral workflow using your form and email. 


Did this article answer your question?


Constant Contact Logo

Copyright © 2026 · All Rights Reserved · Constant Contact · Privacy Center