Configuring Refer-a-Friend Contents

Connect provides the flexibility for Content Administrators and Designers to indicate the location and text displayed for the Refer-a-Friend link. Content Administrators need to insert an Refer-a-Friend merge field in the desired location to add the Refer-a-Friend link.

In the following example, Refer your friend is displayed as an Refer-a-Friend link in the inserted HTML content in the desired position:

<a href=”<%[inviteFriend()]%>”>Refer your friend</a>
Note: Do not include the Refer-a-Friend merge field in the incompatible campaigns or message types.

Following is a sample email HTML content with the “inviteFriend” macro field:

<HTML><Body><pre>Dear Customer,This is a sample Html content to introduce “Refer-a-Friend” Feature!Thanks,Administrator<a href=”<%[inviteFriend()]%>”>Refer your friend</a></pre></Body></HTML>
Note: The whitespaces must not be used in between href=”<inviteFriend()]%>”. If there are whitespaces, Connect considers this as a regular link and customers who click this link will not receive the Refer-a-Friend form.

Following is the resulting e-mail content:

<HTML><Body><pre>Dear Customer,This is a sample Html content to introduce “Refer-a-Friend” Feature!Thanks,Administrator<a href=”http://www.connecttracker.com/1002.123.0.-4”>Refer your friend</a></pre></Body></HTML>

Similarly, you need to include <%[inviteFriend()]%> in the desired location of the TEXT content (or other content, such as AOL) to have the Refer-a-Friend link.

Defining Referral Content

Connect provides the ability to define referral content to be sent to referred customers. Referral content should be designed such that customers with no attributes receive meaningful messages. If a referral message is not defined, then the referred customer receives a copy of the message that the original customer received.

To define a message with referral content, you must create the content with referral content link defined. For more information on managing content URLs, please see Managing Content URLs.

Configuring Refer-a-Friend Pages

You can design your own Refer-a-Friend form and Thank-You page by following the guidelines set out in the table below.

Note: Make sure no external style sheets or images with a relative URL are used in the form.

Refer-a-Friend Form

The Administrator can customize the Refer-a-Friend form (HTML Page) available under KCHOME/Others directory. Make sure that you have the following text fields with the exact names (case sensitive) while designing the pages.


S.No. Referral Detail Text Field Name
1 First Name * firstname
2 Middle Name middlename
3 Last Name lastname
4 Email Address * emailaddress
5 Notes forward_message

Thank-you Page

The Administrator can customize the Thank-you page (HTML page) available under KCHOME/Others directory.

Note: The Refer-a-Friend form and the Thank-You pages must be in plain HTML.