> For the complete documentation index, see [llms.txt](https://wamoca.gitbook.io/wamoca-docs-en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wamoca.gitbook.io/wamoca-docs-en/campaign-tracking.md).

# CAMPAIGN TRACKING

In order to track those clicks, we will need to use **UTM** (Urchin Tracking Module) parameters.

UTM links are URLs with **additional parameters that allow you to track traffic coming to your website from different sources**. By adding UTM parameters to your links, you can accurately identify where clicks are coming from and how users are interacting with your campaigns.

For example, if you send a WhatsApp template message with a UTM link, **you will be able to see in Google Analytics or another similar tool** how many users have clicked on that link and from which specific campaign.

There are several basic UTM parameters that we recommend adding to our WhatsApp campaigns:

## Source

The source paramete**r identifies the specific website, publication, or advertiser that is sending traffic to your page**. Here's what it looks like in the URL: “utm\_source=\[source]”. For example: utm\_source=wamoca

This way, we'll know that the traffic came from the Wamoca app.

## Campaign

The campaign UTM parameter **identifies the specific campaign, promotion, or sale that your link represents**. It's used to differentiate campaigns so that you can monitor them individually. Here's what it looks like in the URL: “utm\_campaign=\[campaign]”. For example: utm\_campaign=winter\_sale

To easily create links with UTM parameters, we can do it directly from[ Google's free URL builder.](https://ga-dev-tools.google/campaign-url-builder/)

We add our complete website and the parameters we want, in our case the "source" and the "campaign name".

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

And we just need to copy the link that has been generated at the bottom. That link already has the UTM parameters.

## How do we add it to our campaign?

When we add the button to our template message, we must paste the URL that we have generated with the UTM parameters added.

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

Once we program our campaign with this template, clicks will begin to be tracked, which we can analyze from our Google Analytics.

## How to find data in Google Analytics?

To view your campaign data in GA4, go to “Reports.”

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

Luego, a “Adquisición” > “Adquisición de tráfico”.

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

Desplázate por la página hasta que veas una tabla agrupada por canal de tráfico y ordenada por número de usuarios.

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

Selecciona la flecha desplegable para cambiar el parámetro. A continuación, tienes las opciones disponibles:

<figure><img src="/files/wxkiihO9toyK7TCzRBq1" 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 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://wamoca.gitbook.io/wamoca-docs-en/campaign-tracking.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.
