> For the complete documentation index, see [llms.txt](https://docs.dexkit.com/productos-defi-y-soluciones-es/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dexkit.com/productos-defi-y-soluciones-es/dexappbuilder/sistema-de-referidos.md).

# Sistema de referidos

Dirigido a quienes se dedican al marketing de referidos, con el fin de fortalecer el vínculo con sus usuarios conociendo el canal fuente desde el que llegan.

## Introducción

Todas las DApps creadas con DexAppBuilder tienen un sistema de referidos incluido automáticamente y muy fácil de usar. A continuación se muestran los pasos para usarlo correctamente:

1. Crear su DApp: este es el paso más importante porque es el punto de inicio.
2. Ir a la [sección de gestión de DApp](/productos-defi-y-soluciones-es/dexappbuilder/gestionando-esta-herramienta.md).
3. Una vez en el backend de su DApp navegue a la sección Analytics–Events como se muestra a continuación

<figure><img src="https://3072554521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWrjgYUyO4ch1fBehrMEq%2Fuploads%2Fi2O6ARPec2tfQ5fcWimw%2Fimage.png?alt=media&amp;token=6d05d195-df9e-4be4-b7d7-d90f243bf3d5" alt=""><figcaption></figcaption></figure>

4. Vamos a crear algunas etiquetas de referencia de ejemplo, serán dos y se llamarán `blog` y `social`. Si el nombre completo + dominio de la DApp se llama `https://mycooldapp.dexkit.app` necesita añadir el `/?ref=su-etiqueta` a ello, por ejemplo:

Para la `blog` etiqueta: `https://mycooldapp.dexkit.app/?ref=blog`

Para la `social` etiqueta: `https://mycooldapp.dexkit.app/?ref=social`

## Comprobando las interacciones

En la misma página abajo verá una tabla data-plenty (si configuró su sistema de referidos y ya está recibiendo usuarios).

<figure><img src="https://3072554521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWrjgYUyO4ch1fBehrMEq%2Fuploads%2FbNsHkfWFmRkAM2tHftu4%2Fevents.png?alt=media&amp;token=42f4bef8-044a-4769-9bce-1251253649b7" alt=""><figcaption></figcaption></figure>


---

# 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.dexkit.com/productos-defi-y-soluciones-es/dexappbuilder/sistema-de-referidos.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.
