- Open your affiliate program and go to Settings under Program.
- On the General tab, scroll down to the Default tracking section:

Referral link structure
Two link structures are available:- Query: https://demowebsite.com?aff=token
- Link: https://demowebsite.com/aff/token

Attribution window and model
Next, you can configure the attribution window (cookie lifetime) and model.

- Last click: the commission is assigned to the affiliate whose referral link was clicked most recently before the conversion.
- First click: the commission is assigned to the affiliate whose referral link was clicked first, even if the customer interacted with other affiliate links later.

UTM tracking
Lastly, you can set up UTM tracking for referral links:
