> For the complete documentation index, see [llms.txt](https://support.referralhero.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.referralhero.com/campaign-builder/misc/forward-and-refer.md).

# Forward & Refer

The ReferralHero Forward & Refer feature is a powerful tool that allows you to grow your email list fast and track natural subscriber engagement.&#x20;

This feature is useful if you want to allow subscribers to easily refer friends by forwarding your email or newsletter to a friend. When they forward your email to a friend, ReferralHero will track when the friend visits your website and signs up for your newsletter!

Here is the typically expected behavior:

1. You set up the Forward & Refer feature and include it in your email URLs.
2. Subscriber reads your email or newsletter.
3. Subscriber organically forwards (aka shares) your email to a friend.
4. Friend clicks any link within the email (to further read the article, get information about your website, or sign up for your newsletter).
5. ReferralHero tracks and rewards the referrer when the friend clicks, signs up for your newsletter, and becomes a referral.

### Set Up The Forward & Refer Feature

1. Install the ReferralHero Global Tracking Code on your website if you haven't done so already.
2. [Integrate ReferralHero with your ESP](/campaign-builder/integrations.md) to pass over and store subscribers’ referral CODE

<figure><img src="/files/Nheogq5pvsUaSxsAy0k7" alt=""><figcaption></figcaption></figure>

3\. Find a link you want to enable Forward & Refer tracking to and add <mark style="background-color:orange;">?mwr=CODE</mark> to the end of any email or newsletter URL.

{% hint style="warning" %}
**IMPORTANT:** Use your ESP merge tag to replace and attach the corresponding referral CODE shown above.
{% endhint %}

4\. For MailChimp, that would look like this: <mark style="background-color:orange;">[www.newsletterarticle.com?mwr=\*|CODE|\*](http://www.newsletterarticle.com?mwr=*|CODE|*)</mark>&#x20;

<figure><img src="/files/Lw3UE8a81GGybTAAdBrL" alt=""><figcaption></figcaption></figure>

5\. Complete this for every link (hyperlink, image, etc.) within your email, or set it up to automatically apply the dynamic URL parameter if your EPS allows.

6\. Use the [ReferralHero Signup Widget](/campaign-builder/embeddable-widgets.md#referralhero-signup-widget) or [your own signup form](/integrate/javascript-web-api/adding-a-subscriber-manually.md) to track when a friend signs up for your newsletter.

7\. For the first time ever, you'll now be able to track and reward subscribers when they forward your emails and their friends sign up for your newsletter! Sit back and watch your subscriber grow exponentially.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://support.referralhero.com/campaign-builder/misc/forward-and-refer.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
