# Referral system

## Introduction

All DApps created with DexAppBuilder have a referral system automatically included and very easy to use. Below are the steps to use it correctly:

1. Creating your DApp: this is the most important step because is the start point.
2. Go to the [DApp management section](/defi-products/dexappbuilder/managing-this-tool.md).
3. Once in your DApp backend navigate to the Analytics–Events section as we shown below

<figure><img src="/files/60PUZbcvRvVaPAbs3shB" alt=""><figcaption></figcaption></figure>

4. Let's create some example ref tags, these will be two and will be called `blog` and `social`. If the full name + domain DApp is called `https://mycooldapp.dexkit.app` you need to append the `/?ref=your-tag` to it, for example:

For the `blog` tag: `https://mycooldapp.dexkit.app/?ref=blog`

For the `social` tag: `https://mycooldapp.dexkit.app/?ref=social`

## Checking the interactions

In the same page below you will see a data-plenty table (if you set up your referral system and you are already receiving users).

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


---

# Agent Instructions: 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:

```
GET https://docs.dexkit.com/defi-products/dexappbuilder/referral-system.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
