> For the complete documentation index, see [llms.txt](https://ctracker-docs.keywordrush.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ctracker-docs.keywordrush.com/affiliate-networks/supported-networks/cj.md).

# CJ Affiliate

### What you need

| Field                     | Where to find it                                                                                       |
| ------------------------- | ------------------------------------------------------------------------------------------------------ |
| **Personal access token** | [developers.cj.com](https://developers.cj.com/account/personal-access-tokens) → Personal Access Tokens |
| **Company ID** (CID)      | Your account number — top right of the CJ screen, beside your name                                     |
| **Website ID** (PID)      | CJ → **Account** → **Site Settings**                                                                   |

All three are required. CJ uses three different identifiers and they are easy to mix up: the token authenticates you, the Company ID says which account, the Website ID says which of your sites.

### Setting it up

1. `Cashback Tracker` → `Networks`. CJ Affiliate is already in the list — press **Configure** on its row.
2. Paste all three values.
3. Tick **Enable network**.
4. Set **Default cashback**.
5. Save, then press **Refresh shops** on the row.

### What it imports

* **Shops** — advertisers you are joined to
* **Coupons** — links and offers
* **Orders** — commissions, on the schedule you set

{% hint style="info" %}
**CJ sends no shop logos.** Its advertiser feed simply has no logo field, so every CJ shop arrives without one. Use `Cashback Tracker` → `Shop catalog` → **Bulk tools** → **Logos** → **Fill missing** to fetch them by domain instead — see [Shop logos](/shops-and-cashback-rates/shop-logos.md).
{% endhint %}

### CJ-specific settings

**Locked orders** — CJ locks a commission once it is finalised for payment. You decide whether that counts as pending, approved or declined on your site. Approved is usually right: locked means CJ has committed to paying it.

**Publisher currency** — by default CJ reports in **USD** and cashback is recorded in USD before conversion to your site currency. If CJ pays you in something else, enter that currency code here so cashback is worked out from what you are actually paid.

Get this wrong and every figure is off by an exchange rate, quietly. Check which currency CJ actually pays you in rather than assuming it matches your country.

### The sub ID

CJ calls it **sid** in the link, and reports it back as the shopper ID. Cashback Tracker sends `cbtrkr-<member id>`.

### Getting orders sooner

{% hint style="danger" %}
**Do not set up a postback for CJ Affiliate.** It has a built-in module, and the plugin polls it over an authenticated API.

Adding a postback would mean creating a second, custom network — and the same purchase would then arrive twice, once from each. Both copies are stored, and **the member is credited twice**, at two different cashback rates.
{% endhint %}

To have sales show up faster, lower **Download new orders** in `Settings` → `General`. It goes down to every 15 minutes, and a short interval is cheap because it only asks for the last couple of days.

See [Importing orders](/affiliate-networks/importing-orders.md).

### When nothing imports

**Nothing at all, and the log mentions authentication.** The personal access token is the usual cause — they can be regenerated in the CJ developer portal, which invalidates the old one.

**Shops import but orders do not.** Check the Website ID (PID). CJ ties commissions to the site that generated them, and a PID from a different site of yours reports nothing.

**Every amount looks wrong by roughly the same proportion.** That is the publisher currency setting — see above.
