> For the complete documentation index, see [llms.txt](https://docs.perkville.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.perkville.com/faqs/referrals/how-does-perkville-track-who-referred-who.md).

# How does Perkville track who referred who?

Perkville can track referral relationships in two ways, depending on [how your referral page is configured](https://docs.perkville.com/features/referrals/configuring-your-referral-program.md):

**1. Referrer enters their friend’s contact information**

If your referral form allows users to directly enter their friend’s name and email, Perkville records the referral relationship at the time the form is submitted. This method also triggers an email to the referee with the referral offer.

> Note: This method is becoming less common because it requires the referrer to input their friend’s contact details manually, which can lead to a lower conversion rates and potential issues with unsolicited emails if the entered email is used for marketing purposes because the referee did not opt into marketing yet.

**2. Referrer shares a referral link**

If the referrer shares the referral offer via their personalized link (e.g., through text or WhatsApp), Perkville tracks the relationship when the referee clicks the link and claims the offer ([step 3 here](https://docs.perkville.com/features/referrals)). The referral link is encoded to the referrer, so no manual input is needed.

> Important: The referee must use the same email address they used when claiming the offer when performing the qualifying action [to complete the referral](https://docs.perkville.com/features/referrals/completing-a-referral) (e.g. buying a membership, making a purchase, etc). If the emails do not match, the referral will not complete, and no points will be awarded to the referrer.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.perkville.com/faqs/referrals/how-does-perkville-track-who-referred-who.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
