# How an Affiliate Campaign Works

### ℹ️ What Is an Affiliate Campaign?

An **affiliate campaign** defines:

* Which products affiliates can promote
* How commissions are calculated
* How sales are tracked and rewarded

***

### 🔄 Flow

Here’s how everything works together:

1. You create an affiliate campaign
2. Affiliates join your program
3. Affiliates share referral links
4. Customers make purchases
5. Sales are tracked automatically
6. Commissions are calculated
7. You approve and pay affiliates

***

### [⚙️ Step 1: Create a Campaign (Merchant)](https://docs.jaka.app/shopify/campaign-setup/create-a-campaign)

You start by creating an affiliate campaign in Jaka.

In this step, you define:

* Campaign name
* Eligible products or collections
* Commission rules (percentage or fixed amount)

This determines what affiliates promote and how they earn.

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

**Note**: Activate app embed on the theme&#x20;

To make the app function work on the site, you need to activate the app in theme editor. [Learn more](https://docs.jaka.app/shopify/jaka-affiliate-marketing-app/activate-app-embed-on-the-theme)

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

***

### [👥 Step 2: Affiliates Join Your Program](https://docs.jaka.app/shopify/affiliate-managment/create-affiliate/affiliate-registration)

Affiliates can join your program by:

* Applying through your affiliate signup page
* Being created manually by you

Once approved, affiliates get access to the **Affiliate Portal**.

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

***

### [🔗 Step 3: Affiliates Share Referral Links](https://docs.jaka.app/shopify/affiliate-managment/manage-affiliates/edit-affiliate-referral-link)

Inside the Affiliate Portal, affiliates:

* Get unique referral links
* Choose products to promote
* Share links on social media, blogs, or ads

Each link is unique and used for tracking.

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

***

### 🛒 Step 4: Customers Make a Purchase

When a customer:

* Clicks an affiliate link
* Visits your store
* Completes a purchase

The system records this as an affiliate order.

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

***

### 📊 Step 5: Tracking & Commission Calculation

Jaka automatically:

* Tracks the referral using cookies
* Attributes the sale to the correct affiliate
* Calculates commission based on campaign rules

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

***

### 💰 Step 6: Approve & Pay Affiliates

After sales are recorded:

* You review affiliate sales
* Approve commissions
* Pay affiliates based on your payout process

You stay in full control of approvals and payments.

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

***

### 🧩 Where Affiliates Manage Their Activity

Affiliates use the **Affiliate Portal** to:

* Track their sales and commissions
* View payout status
* Access creatives and referral links

This reduces support work for merchants.

***

### 🚀 Next Steps

* Create your first affiliate campaign
* Invite or approve affiliates
* Customize the affiliate portal
* Set up payouts

### ▶️ Tutorial video

{% embed url="<https://youtu.be/PxPDQI7gHXg?si=dLKM33-ZSDdSGRZ5>" %}

***

#### **Still need support?**

If you still need help, please feel free to contact us at <hi@tipo.io>. We’ll be happy to assist you further.


---

# 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://docs.jaka.app/shopify/~/revisions/rpY9mFDjQMRHRtjRdnC9/getting-started-with-jaka/how-an-affiliate-campaign-works.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.
