> For the complete documentation index, see [llms.txt](https://docs.zipchat.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zipchat.ai/settings-tracking-and-security/tracking-and-attribution.md). Agents can also search and read this documentation through its [MCP server](https://docs.zipchat.ai/~gitbook/mcp).

# Tracking, UTM Parameters & Attribution

How Zipchat attributes orders to conversations within 24 hours, on your store and in WhatsApp, Instagram, Messenger and email, and how UTM tracking works.

Zipchat attributes an order to a conversation when the purchase happens within 24 hours of that conversation. This lets you see the sales your AI agent produces, on your store and in your messaging channels.

![Tracking settings in Zipchat](https://2043605213-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvYpZDb6HsnLHFu8ZygCS%2Fuploads%2Fgit-blob-551e1932ac811dbeb475489aeca0ae51c8e68c1b%2Fconfiguration-settings-2026.png?alt=media)

## How attribution works

| Where the conversation happens                                  | When an order is attributed                                                                                        |
| --------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |
| **Your store** (bubble chat, AI Search, Product Page Questions) | The purchase happens within 24 hours of the last message in the conversation. Purchase tracking must be installed. |
| **WhatsApp, Instagram, Messenger, email and comments**          | The customer clicks a link the agent sent and completes the order within 24 hours of the click.                    |

The 24-hour attribution window is fixed and cannot be changed.

When more than one conversation could claim an order, the last one before the purchase gets the credit.

Attribution is recorded when the order is created. Later refunds, returns or cancellations do not remove the order from Zipchat's attributed sales.

On your store, Zipchat links the purchase to the browser where the conversation happened, through the visitor ID stored in that browser. In messaging channels, Zipchat adds its own reference to the links the agent sends. Zendesk conversations are not attributed.

A comment can lead to a private message with a product link. A purchase from that link is credited to the Instagram or Messenger conversation, not to the comment.

To install purchase tracking, see [Purchase Tracking](https://docs.zipchat.ai/developers-and-integrations/sales-pixel.md).

## Why numbers differ from GA4 or Shopify

Zipchat uses its own rule: the last Zipchat conversation or link click within 24 hours gets the credit. GA4 and Shopify use their own attribution models and windows, so the same order can be credited differently in each tool. An attributed order shows a link between the conversation and the purchase. It does not prove that the conversation alone caused the sale.

## UTM parameters

Go to **Channels → Configuration → Tracking settings**. **Enable UTM tracking** adds UTM parameters to links in chat responses, source links and follow-up campaigns, so your analytics tools can see Zipchat traffic.

Turning it off gives clean links. Zipchat's own attribution on links in messaging channels keeps working either way.

## Where to see results

Attributed sales appear in your **Dashboard** and **Reports**, and in the `purchases` field of the [Backend API](https://docs.zipchat.ai/developers-and-integrations/backend-api.md). See [Analytics](https://docs.zipchat.ai/settings-tracking-and-security/analytics-and-roi.md).

## FAQ

### What is Zipchat's attribution window?

24 hours: from the last message on your store, or from the link click in messaging channels.

### Can I change the attribution window?

No. The 24-hour attribution window is fixed and cannot be changed.

### Do refunds or cancellations change attributed sales?

No. Attribution is recorded when the order is created. Later refunds, returns or cancellations do not remove the order from Zipchat's attributed sales.

### Does Zipchat credit orders with no conversation?

No. An order is attributed only when it follows a conversation, or a click on a link the agent sent, within 24 hours.

### Why do Zipchat's sales differ from GA4?

Each tool uses its own attribution model and window. Zipchat credits the last Zipchat conversation or link click within 24 hours.

### Does turning off UTM tracking break attribution?

No. Zipchat's own attribution keeps working; only the visible UTM parameters are removed.


---

# 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.zipchat.ai/settings-tracking-and-security/tracking-and-attribution.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.
