# The CJ SID parameter: how to track CJ Affiliate links by SID

> How to add sid to CJ Affiliate links, which values work, how to use CJ's single slot well, and where SID shows up in CJ reports and the API.

Source: https://hoplytic.com/blog/cj-sid-parameter · Updated 2026-11-28 · Hoplytic Guides

Video version (75 seconds): [https://hoplytic.com/video/cj-sid-parameter.mp4](https://hoplytic.com/video/cj-sid-parameter.mp4)

## Video transcript

How does CJ's SID parameter work? You get exactly one value of your own per click.

Start with your CJ link. The parameter is the same on every CJ domain. Add SID equals your value at the end. If the link already has a question mark, use an ampersand instead.

A fixed label is a fine start without a tracker, but it only tells you the page. A combined label packs in more, but it's messy and easy to mistype. A unique click ID is best. CJ only carries eight characters, and your tracker stores the page, placement, country and device.

In the Commission Detail report, add the SID column. In the API, the same value is called shopper ID.

A commission with no SID came from a link made without it. A placeholder means a macro nothing replaced. If they vanish after a site change, test the live link with the redirect checker.

In Hoplytic, a pasted CJ link gets the click ID in SID, and every other value is stored with the click. The CJAPI connection is in beta. Uploading the Commission Detail report always works.

The full guide is right below. Hoplytic: ad tracking made simple.

## Key points

- CJ Affiliate gives publishers one tracking value per click, the sid parameter, so plan what goes in it.
- Add sid with ? or & depending on the link, and keep it before any encoded destination in a deep link.
- A unique click ID in sid lets a tracker store everything else about the click, which works around CJ's single slot.
- SID shows in CJ's Commission Detail report and in the Commission Detail API, where the field is called shopperId.

CJ Affiliate is one of the oldest networks, and its tracking shows it: publishers get exactly one value of their own per click. Used well, that one value is enough.

**Short answer:** add `sid=yourvalue` to your CJ link (`?sid=` if the link has no query string, `&sid=` if it does). CJ reports the value next to each commission in the Commission Detail report and in its API, where the field is called `shopperId`. Since there's only one slot, the most useful thing to put there is a unique click ID from a tracker, which can hold everything else about the click.

## Adding sid to a CJ link

CJ links run on several domains, such as `anrdoezrs.net`, `dpbolvw.net`, `jdoqocy.com`, `tkqlhce.com` and `kqzyfj.com`. The parameter is the same on all of them.

`Before:
https://www.anrdoezrs.net/click-1234567-10987654

After:
https://www.anrdoezrs.net/click-1234567-10987654?sid=c7f3a9e1`
If the link already has a `?`, use `&sid=` instead. If it's a deep link that carries the merchant's page as an encoded URL parameter, add `sid` before that destination so it isn't read as part of the merchant's address. CJ's own link tools can build deep links for you; check whether they offer a field for SID before you add it by hand. The general rules are in [how to add a sub-ID to an affiliate link](https://hoplytic.com/blog/add-sub-id-to-affiliate-link).

## Values that work

- Letters, numbers, dashes and underscores: `c7f3a9e1`, `desk_review`.

- No spaces, `#`, `&`, `+` or quotes.

- No personal data, ever.

- Short. We couldn't find a length limit published by CJ, so don't rely on long values surviving; check CJ's help center if you need them.

## One slot: three ways to use it

| Approach | Example sid | Good for | Limit |
| --- | --- | --- | --- |
| Fixed label | `desk-review` | A few links, no tracker | Tells you the page, nothing about the click |
| Combined label | `desk-review_table_yt` | Page plus position plus source | Messy to read; easy to mistype |
| Unique click ID | `c7f3a9e1` | Any volume, paid traffic, many placements | Needs a tracker to create and store the details |

If you're not using a tracker yet, a fixed label per page is a fine start: it already answers "which post earns". Move to click IDs when you start buying traffic or need to know more than the page.

A combined label packs several facts into one string, for example page, position and source joined by underscores. It works, but each new dimension makes every label longer, and a typo in one post splits your report. A unique click ID avoids that: CJ only has to carry eight characters, and the tracker stores the page, placement, country, device and ad for that ID. When the commission comes back with `sid=c7f3a9e1`, all of that is attached. This is the same idea as in [click ID tracking](https://hoplytic.com/blog/click-id-tracking).

## Where SID shows up

- **Commission Detail report:** in CJ's reports, add the SID column to see the value next to each commission.

- **Commission Detail API:** CJ's API returns publisher commissions with a `shopperId` field, which holds the sid from the link. It also returns an event date and a posting date for each commission.

Those two dates matter when you compare numbers. The event date is when the sale happened; the posting date is when CJ recorded it. Totals grouped by one won't match totals grouped by the other. See [tracker and network numbers don't match](https://hoplytic.com/blog/network-vs-tracker-discrepancy).

## When SID is missing or wrong

| What you see | Likely cause | Fix |
| --- | --- | --- |
| Commission with no SID | The sale came from a link without `sid`: an older link, a widget or a link made in another tool | Find that advertiser's links in your content and add `sid` |
| SID is a placeholder such as `{clickid}` | A macro that nothing replaced | Use macros only where an ad platform or tracker fills them |
| SID cut short or garbled | Special characters, spaces or a very long value | Use short letters-and-numbers values |
| SID from a different page than expected | The visitor clicked more than one of your links; the advertiser's rules credited another click | Normal; the value always belongs to the credited click |
| SIDs vanish after a site change | A plugin, shortener or cloaking tool now strips query strings | Test the live link with the [redirect checker](https://hoplytic.com/tools/redirect-checker) |

The redirect checker shows the hop on CJ's domain. Your `sid` should be there exactly as you wrote it. If it is, but the report still shows nothing, wait a day: commissions appear once CJ posts them.

## Timing and corrections

Commissions usually show once CJ posts them, typically within a day. Advertisers can correct or reverse commissions until they lock, so a commission's amount or status can change after you first see it. Any tracker you use should re-read recent periods, not just new records.

## Getting CJ commissions into a tracker

Most CJ publisher accounts don't get postbacks, so trackers read commissions through CJ's API or a report export.

In Hoplytic, a pasted CJ link gets the click ID in `sid`; because CJ has no other slots, every other value you choose is stored with the click instead, so nothing is lost. The [CJ API connection](https://hoplytic.com/help/network-connections) is in beta: it's built from CJ's documentation and not yet confirmed with a live account. It uses a personal access token from developers.cj.com and your Publisher (CID) number, and CJ's API returns at most 31 days per request, which Hoplytic splits for you. If it fails, the error says why, and uploading the Commission Detail report with SID always works.

![Making a tracking link in Hoplytic: paste an Awin affiliate link, the network is detected and the click ID goes into its sub-ID, name the link, create it and copy the short link.](https://hoplytic.com/video/howto-link-create.gif)

*Paste your affiliate link, name it, create it, copy it.*

## Questions people ask

### What does SID mean on CJ?

It's CJ's tracking value for publishers, often explained as Shopper ID. You add sid=yourvalue to a CJ link, and CJ reports that value next to the commission the click produced.

### Can I add more than one SID to a CJ link?

No. CJ has one sid per link. To track several values, put a unique click ID in sid and keep the other values in your tracker, or combine short values into one, such as review_sidebar.

### What characters can I use in a CJ SID?

Stick to letters, numbers, dashes and underscores, and avoid spaces and symbols. We couldn't find a published length limit from CJ, so keep values short and check CJ's help center if you need long ones.

### Why don't I see SID in my CJ report?

Add the SID column in the Commission Detail report. If it's empty, the link used for that sale didn't carry sid, or the value was lost on the way to CJ.
