> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lomadee.com.br/llms.txt
> Use this file to discover all available pages before exploring further.

# How a click becomes a commission

> From the affiliate's link to the order and its commission

Every commission follows the same path. Knowing it helps an affiliate find why a sale is missing, and a brand check its tracking.

**1. The affiliate shares a link**

The link belongs to one channel and points to one store page. It can be a short link or a [deep link](https://docs.lomadee.com.br/docs/affiliates/deep-link.md), with an optional [sub-ID](https://docs.lomadee.com.br/docs/affiliates/click-sub-id.md).

**2. A visitor clicks**

Lomadee checks that the link, the brand and the channel are active, records the click, and redirects the visitor to the store with a tracking parameter (`lmdeeTracking`) in the URL.

**3. The visitor buys**

The store's checkout sends the order and the tracking parameter to Lomadee through the [Pixel](https://docs.lomadee.com.br/docs/pixel/introduction.md) or a platform integration.

**4. Lomadee attributes the order**

The order is attributed to the channel of the click, and its commission is calculated from the brand's commission rules.

## Where a sale can get lost

| Step | Common cause | Who fixes it |
| - | - | - |
| Click | The link points to a channel that is not approved, or to a page outside the brand's domains | Affiliate |
| Redirect | The store removes URL parameters on its landing page | Brand |
| Checkout | The Pixel is missing on the order confirmation page, or fires without the tracking parameter | Brand |

Brands: the [Pixel](https://docs.lomadee.com.br/docs/pixel/introduction.md) pages describe the installation for each platform.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.