> For the complete documentation index, see [llms.txt](https://academy.vambe.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://academy.vambe.ai/vambe-ads/configuracion-plataformas/tiktok-como-obtener-la-atribucion-correcta.md).

# Tiktok: Cómo obtener la atribución correcta

## Click a WhatsApp directo del Ad

{% stepper %}
{% step %}

#### Abrir o editar el Ad en TikTok Ads Manager

Dirígete al Ads Manager de Tiktok. Una vez acá, puedes crear un nuevo Ad o editar un Ad ya creado.

![image (4).png](/files/252bd27c920292caf3788c98f74053dc4d620cd6)
{% endstep %}

{% step %}

#### Verificar Optimization location del Ad group

Asegúrate que tu Ad group tiene seleccionado Website como Optimization location. Para revisar esto, puedes hacer click a la izquierda en el Ad Group donde está el Ad.

![image (5).png](/files/246fb16370a9d64899823d12483f86cebdf88d9f)

![image (6).png](/files/549e6efa546575827d7a9890e676981b99c42847)
{% endstep %}

{% step %}

#### Sección de destino del Ad: pegar la URL de WhatsApp

Tu Ad tendrá una sección de destino. Aquí es donde pegaremos la URL que dirige a Whatsapp. Para obtener esta URL, dirígete a Vambe Ads.

![image (7).png](/files/f5b02edbfe85f0f5c7992f883858680bc07d79b4)
{% endstep %}

{% step %}

#### Generar la URL de WhatsApp en Vambe Ads

En Vambe Ads dirígete a la sección de Workspaces y haz click en "Generar URL de Whatsapp".

<https://performance.vambeai.com/en/workspaces>

![image (8).png](/files/6a120aea521800a291d54945122612bd35c490ba)
{% endstep %}

{% step %}

#### Completar número y mensaje; copiar la URL

Esto abrirá un popup donde debes escribir el número de whatsapp al que quieres que los leads de tiktok te hablen y el mensaje con el que quieres iniciar la conversación. Haz click en el botón a la derecha de la url para copiar esta.

![image (9).png](/files/9c23aa2d0e2035f3f11b4326460b6c94150e8ae2)
{% endstep %}

{% step %}

#### Pegar la URL en TikTok y revisar parámetros

Una vez pegues la URL en tiktok podrás revisar los url parameters asociados a esta. Haz click en Edit y asegúrate que los valores de auto-detect y auto-attach estén encendidos.

![image (10).png](/files/11aec7df06dfbe1b0a85adfa65e2ad73f36454a6)

![image (12).png](/files/c3d6be76956e5b9e7e04a7d8ec29ace7efead9a5)
{% endstep %}

{% step %}

#### Lanzar ADS

Listo! Ahora puedes lanzar tus ADS y trackearemos desde Mercur quienes vienen de Tiktok.
{% endstep %}
{% endstepper %}

## Click a una página web

Es necesario incluir el universal script de la pestaña workspaces en la página web de destino del ad. Este script solo hace el match si en la página web se usa cualquier tipo de click a hablar por whatsapp o en algún lado de la página web el usuario ingresa su número de telefono.

{% hint style="info" %}
Asegúrate de que el script del workspace esté presente en la página de destino para que se pueda realizar el matching cuando el usuario haga click para hablar por WhatsApp o ingrese su número.
{% 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://academy.vambe.ai/vambe-ads/configuracion-plataformas/tiktok-como-obtener-la-atribucion-correcta.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.
