# Affiliate Tracking Link/String

To find your affiliate’s tracking string, navigate to **CRM → Affiliates** then click the blue **Edit** button.

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

When your Affiliate sends traffic they will use an **Affiliate Tracking Link**, which will link the Affiliate to the Traffic / Order.

* The **Tracking Link** is the URL for your landing page with the **Tracking String** appended to the end.
  * The **Tracking String** is located in the the Passed Values section on the affiliate's profile. The Tracking String contains the **affId** and **Passed Values**.

Up to five **Passed Values** can be added inside of each affiliate profile and they can be configured to be in any order that you would like. You can also determine which values represent the Publisher and the Sub Affiliate to view reporting by these values.

<figure><img src="/files/YnJ8rc60hCaSIFUpLpX1" alt=""><figcaption><p>If you are using DirectAPI to connect your funnel to CheckoutChamp, the # column represents the corresponding sourceValue1-5 parameter that you should use for the value on the <a href="https://apidocs.checkoutchamp.com/#35a47084-1a24-454e-9309-f6163329fd51">Import Lead</a> and <a href="https://apidocs.checkoutchamp.com/#275a54c6-b4b0-414c-819b-7387e9a81f58">Import Order</a> API requests.</p></figcaption></figure>

In the example above, the affiliate has the following passed values: **c1, c2, c3, SubAffId, testValue**

A full url example would look like this:

<https://yourcheckouturl.com/checkout?\\&affId=**\\[affId-assigned-by-system]**\\&c1=**\\[c1-value]**\\&c2=**\\[c2-value]**\\&c3=**\\[c3-value]**\\&SubAffId=**\\[SubAffId-value]**\\&testValue=**\\[testValue-value>]\*\*

***

### Sending affiliate information to CheckoutChamp for each session/order: <a href="#affiliatetrackinglink-string-sendingaffiliateinformationtocheckoutchampforeachsession-order" id="affiliatetrackinglink-string-sendingaffiliateinformationtocheckoutchampforeachsession-order"></a>

* [CheckoutChamp Funnel Builder](#affiliatetrackinglink-string-checkoutchampfunnelbuilder)
* [Direct API](#affiliatetrackinglink-string-directapi)

***

#### CheckoutChamp Funnel Builder <a href="#affiliatetrackinglink-string-checkoutchampfunnelbuilder" id="affiliatetrackinglink-string-checkoutchampfunnelbuilder"></a>

You will just need to make sure the Ad link your customers will be clicking on includes the Tracking String outlined above, appended to tail of the sales link so the system can attribute the traffic/sales to the appropriate Source.

The funnel system already API’s built in place to extract those values from the links customers will be clicking on!

***

#### Direct API <a href="#affiliatetrackinglink-string-directapi" id="affiliatetrackinglink-string-directapi"></a>

Send the affiliate tracking string as part of the requestUri parameter in your first [Import Click](https://apidocs.checkoutchamp.com/#e576c9e1-2606-49c2-8ac0-143a35c7add2) call for each new session.

{% hint style="warning" %}
The passed values inside the URL string are case sensitive and much match exactly how they display inside the affiliate profile
{% endhint %}

{% hint style="info" %}
This API will return a sessionId. Send the returned sessionId value as the sessionId parameter on the subsequent [Import Lead](https://apidocs.checkoutchamp.com/#35a47084-1a24-454e-9309-f6163329fd51), [Import Order](https://apidocs.checkoutchamp.com/#275a54c6-b4b0-414c-819b-7387e9a81f58), [Import Upsale](https://apidocs.checkoutchamp.com/#46b9bc0a-687a-4a87-a57c-266f9914681f), and [Confirm Paypal](https://apidocs.checkoutchamp.com/#6d2a3ec0-e1f5-44b3-94a0-101921c28521) API calls to fill the Outcome column of the Conversion Details Report and also to provide Conv% on the Affiliate Report. See [here](/api-documentation/api-documentation/recommended-api-flow.md) for our recommended API flow.
{% endhint %}

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

You can also pass the affiliate values directly to the [Import Lead](https://apidocs.checkoutchamp.com/#35a47084-1a24-454e-9309-f6163329fd51) or [Import Order](https://apidocs.checkoutchamp.com/#275a54c6-b4b0-414c-819b-7387e9a81f58) call.

The following API fields are used for passing the affiliate information:

* affId - the CheckoutChamp affId (Find affId on the **Affiliates Page** or on the **Affiliate Edit Page**)
* sourceValue1 - passed value #1
* sourceValue2 - passed value #2
* sourceValue3 - passed value #3
* sourceValue4 - passed value #4
* sourceValue5 - passed value #5

The numbers of the passed/source values must match how they are numbered in the passed values panel on the **Affiliate Edit page**.

<figure><img src="/files/3Zzs9MH33E8JgGugzJ77" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/4c2tmFjonrFlKmEz5uca" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: 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:

```
GET https://help.checkoutchamp.com/crm/crm-setup/affiliate-setup/affiliate-tracking-link-string.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
