> For the complete documentation index, see [llms.txt](https://docs.goaffpro.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.goaffpro.com/affiliate-commissions/advanced-settings/setup-rule-based-tracking-for-sales/setup-tracking-for-customer-location.md).

# Setup Tracking for Customer Location

**GoAffPro** provides you with the option to set up rule based tracking for customer location.

To set up tracking for customer location, go to the **Royalties (Fixed commissions)** section in the **Commissions** tab of the GoAffPro admin panel.&#x20;

<figure><img src="/files/0uQ3VNDFm35THRpjDhPv" alt=""><figcaption><p>Commissions > Royalties (Fixed commissions)</p></figcaption></figure>

Here, go to the Rule based tracking section.

![Rule based tracking](/files/U9KEFpNnq2wUXwdN8k9W)

Now, click on **New rule**.

![Click on New rule](/files/M0VDosPEJtw4YGh5iIwW)

This will open up the New commission rule window.&#x20;

![New commission rule](/files/LdA4GXwDs4aGaLdZW1nn)

Here, select the customer shipping state condition.&#x20;

{% hint style="info" %}
You also have the option to select the customer post code (zip code) and customer shipping country conditions.&#x20;
{% endhint %}

![Select condition](/files/HTByXS6L60ReXRlhNsnL)

Now, set the matches value.

![Set the matches value](/files/yq6PUQC2sczG9zxFRh4j)

After this, select the affiliate (to whom the sale will get attributed).

![Select the affiliate](/files/s7By98CZ4x2RfFDncIff)

Finally, click on **Submit**.&#x20;

![Click on Submit](/files/6FsHzAwGxH94DZlP0k9m)

The rule based tracking for the order value will get set.&#x20;

![](/files/U9WwxSs1o4QmiL3KC3ym)
