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

November 28, 2026 · Hoplytic team · 5 min read

The short version: this guide in 75 seconds.
Read the 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 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.

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.

Values that work

One slot: three ways to use it

ApproachExample sidGood forLimit
Fixed labeldesk-reviewA few links, no trackerTells you the page, nothing about the click
Combined labeldesk-review_table_ytPage plus position plus sourceMessy to read; easy to mistype
Unique click IDc7f3a9e1Any volume, paid traffic, many placementsNeeds 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.

Where SID shows up

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.

When SID is missing or wrong

What you seeLikely causeFix
Commission with no SIDThe sale came from a link without sid: an older link, a widget or a link made in another toolFind that advertiser's links in your content and add sid
SID is a placeholder such as {clickid}A macro that nothing replacedUse macros only where an ad platform or tracker fills them
SID cut short or garbledSpecial characters, spaces or a very long valueUse short letters-and-numbers values
SID from a different page than expectedThe visitor clicked more than one of your links; the advertiser's rules credited another clickNormal; the value always belongs to the credited click
SIDs vanish after a site changeA plugin, shortener or cloaking tool now strips query stringsTest the live link with the 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 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.

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.

More in Tracking fundamentals

Also: tracking glossary · ad platform macros · Markdown copy