> For the complete documentation index, see [llms.txt](https://docs.patagon.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.patagon.ai/es/marketing-y-atribucion/what-is-attribution.md).

# ¿Qué es la atribución?

En Patagon AI, la atribución te permite ver **qué fuentes de tráfico están generando tus conversaciones de WhatsApp** (Meta, Google, TikTok y más) y, igual de importante, **cuáles de esas fuentes producen tus mejores leads**.

En lugar de adivinar qué campañas valen la inversión, ves la *calidad* de las conversaciones que genera cada fuente, y puedes enviar esa señal de vuelta a tus plataformas publicitarias para que optimicen por leads calificados en lugar de simples clics.

## Las tres formas en que Patagon AI captura la atribución

Patagon AI recopila datos de atribución de tres formas. La mayoría de los equipos usa más de una.

| Método                                                  | Qué captura                                                                                                                                 | Ideal para                                                                                   |
| ------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |
| **1. Botón de WhatsApp en un sitio web o landing page** | UTMs, click IDs (`fbclid`, `gclid`…) y la URL de origen de los visitantes que llegan a WhatsApp desde tu sitio                              | Sitios y landing pages con un botón de WhatsApp                                              |
| **2. Campaña Click-to-WhatsApp (solo Meta)**            | La campaña, el conjunto de anuncios y el anuncio de los usuarios que tocaron un anuncio CTWA (se completa automáticamente al conectar Meta) | Anuncios Click-to-WhatsApp de Facebook / Instagram                                           |
| **3. Enlace de Patagon AI con parámetros UTM**          | Los valores UTM que tú mismo agregas al enlace                                                                                              | Códigos QR, botones en newsletters, materiales impresos (donde no hay sitio ni anuncio CTWA) |

Cada método se configura de forma diferente: mira [Cómo capturar datos de atribución](/es/marketing-y-atribucion/capturing-attribution-data.md).

## Cómo fluyen los datos

1. **Captura**: configura uno o más de los tres métodos anteriores para que cada conversación lleve su fuente.
2. **Lectura**: revisa el volumen y la calidad por fuente en **Leads → Atribución** (mira [Cómo leer tus métricas de atribución](/es/marketing-y-atribucion/attribution-metrics.md)).
3. **Acción**: envía las conversiones de leads calificados de vuelta a tu plataforma publicitaria para que optimice por los leads que realmente convierten (mira [Cómo conectar Meta y mapear conversiones](/es/marketing-y-atribucion/meta-ads/meta-conversions-api.md)).

{% hint style="info" %}
Los datos de atribución y conversión están en **Leads → Atribución**. La configuración de captura (el script de rastreo y el enlace de tu agente) está en **Agente → Capacidades → Atribución**.
{% endhint %}


---

# 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://docs.patagon.ai/es/marketing-y-atribucion/what-is-attribution.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.
