CJ Affiliate API Integration

CJ Affiliate’s multi-advertiser commissions across retail, finance, and travel flow into Google Ads, Microsoft Ads, and Meta Ads with wecantrack, through API and postback connections.

All your CJ Affiliate conversions in:

How to integrate CJ affiliate conversions in Google Analytics

If you wish to integrate all your CJ Affiliate conversions in Google Analytics and other marketing tools, it is necessary to track and match the sales data with the traffic data. Our system automatically places SubIDs in your affiliate links, which enables us to automatically match your traffic and affiliate conversion data.

The installation is done in four simple steps:

  1. Create a wecantrack account
  2. Connect your CJ Affiliate account to our system via API
  3. Connect your website to our system
  4. Activate the integration feature

How to connect your CJ affiliate account via API

In order to connect CJ Affiliate, previously called Commission Junction, to wecantrack you need to provide us with your account’s API key (Personal Access Token), account ID and each site ID of the websites registered in your CJ account. Those credentials need to be filled in within our data sources page which you can find by following this link: https://app.wecant​rack.com/user/data​-source/networks/commission-junction/accounts/create

You can give each of the data connections different names and tags which enables you to easily filter your data on account or sub account level.

Where can I find my CJ Affiliate (Commission Junction) API key (Personal Access Token)?

Where can I find my CJ Affiliate (Commission Junction) Account ID?

  • Log into your Commission Junction account
  • On the top right (within the parentheses) you can find your Account ID

Where can I find my Commission Junction Site IDs?

  • Log into your Commission Junction account
  • Click on Account > Websites
  • Here you can find a list of all your registered sites
  • Next to the site’s name you can see the site ID

Who is the CJ Affiliate integration for

Connecting CJ Affiliate to wecantrack is worth it if you fall into any of these buckets:

  • US content sites and review blogs running CJ Affiliate links across multiple advertisers (retail, finance, travel, telco, SaaS) who need per-merchant revenue back in their analytics.
  • Cashback, coupon, and rewards sites with high-volume CJ click activity who need clean per-program attribution for paid acquisition decisions.
  • Paid media buyers running Google Ads, Microsoft Ads, or Meta to CJ-tracked landing pages and needing commission data back in the ad platform for ROAS optimisation.
  • Affiliate teams and agencies running multi-merchant CJ publisher portfolios who need clean per-publisher, per-Site-ID, and per-SubID attribution for client reporting.
  • Existing wecantrack customers adding CJ alongside other networks they already pull data from.

CJ Affiliate network at a glance

CJ Affiliate logo

CJ Affiliate (formerly Commission Junction) is one of the largest and longest-running multi-advertiser affiliate networks, with thousands of advertiser programs across retail, finance, travel, and SaaS. Connect your CJ publisher account to wecantrack and every CJ commission gets matched to the click, campaign, and keyword that produced it.

  • Network type: Multi-advertiser global affiliate network
  • Integration method: Personal Access Token (API)
  • Tracked event: Sale or lead, depending on the advertiser program
  • Commission models: CPS (revenue share), CPA, CPL, set per advertiser
  • Reporting granularity: Per-advertiser, per-publisher, per-Website (Site ID), per-SubID
  • Cookie window: Defined by each advertiser program
  • Publisher payouts: Monthly, multi-currency
  • Program contact: Publisher dashboard at members.cj.com

Frequently asked questions

How does wecantrack connect to CJ Affiliate?

wecantrack connects to CJ Affiliate via its API, using a Personal Access Token. The API pulls rich transaction detail (advertiser, Website/Site ID, SubID, commission breakdown) directly from CJ.

What event does the CJ Affiliate integration track?

Whatever the advertiser program is configured to fire on CJ, a completed sale, a qualified lead, or an install, is registered as a transaction. Sale amount, commission, transaction ID, Website ID, and SubID all flow through to wecantrack.

Will my CJ Affiliate conversions show up in Google Ads, Microsoft Ads, and Meta?

Yes. wecantrack pushes attributed CJ conversions into Google Ads, Microsoft Ads, and Meta as offline conversions or server-side events, matched to the click. You optimise paid campaigns on real CJ revenue instead of front-end signups.

Do I need a developer to set up the CJ Affiliate integration?

No. Setup is a few clicks: generate a Personal Access Token in your CJ publisher dashboard, paste it into wecantrack, and the connection runs. Most publishers finish within a couple of minutes.

Can I track SubIDs and Website IDs through the CJ integration?

Yes. wecantrack preserves CJ's SubID parameters and Website (Site) IDs and passes them through to Google Analytics, Google Ads, Microsoft Ads, and Meta. Break down revenue by campaign, ad group, keyword, or any custom SubID convention you already use.

How long does CJ Affiliate setup take?

For most publishers, a couple of minutes end to end: generate a Personal Access Token inside CJ, paste it into wecantrack, and conversions start flowing as soon as CJ reports the commission.

Advertisers within CJ Affiliate that we know of:

Bed Bath & Beyond
Blue Apron
BuzzFeed
CheapOair
CNN
Ibotta
IHG Hotels & Resorts
J.Crew
Klarna
Meredith
NordVPN
Office Depot OfficeMax
Priceline
ShopBack
TurboTax

CJ Affiliate Network Integration – Video Guide

How to import CJ Affiliate conversions in Google Analytics?

Once you fully connected your CJ Affiliate accounts to wecantrack you have the possibility to let us integrate your conversions in your Google Analytics accounts. To accomplish that only two more steps are needed (JavaScript insertion and Ecommerce activation in Google Analytics accounts) which should not take longer than 10 minutes.

Do you want to learn more about our Google Analytics Integration feature? On our Google Analytics Integration page you can learn about the following:

How to import CJ Affiliate conversions in Google Ads?

You can choose from different methods to integrate your CJ Affiliate conversions into your Google Ads account, campaigns, keywords, adgroups and ads. With wecantrack you have available a Direct Google Ads integration, a Google Ads Integration via Google Analytics and an offline conversion import option. You can find out all about the setup required and the difference between them in our Google Ads integration page.

How to import CJ Affiliate conversions in Microsoft Ads?

Once you have connected your CJ Affiliate accounts and websites to our system, we can integrate affiliate conversion data coming from Microsoft Ads campaigns in your Microsoft Ads account. All you need to do is activate our Microsoft Ads integration feature and set up a conversion goal within your Microsoft Ads account and we will push the conversions to your campaigns.

How to import CJ Affiliate conversions in Facebook Ads manager?

Integrate all your affiliate sales into Facebook Ads Manager. That will allow you to optimize your CJ Affiliate Facebook campaigns in order to achieve the best ROIs. By activating our integration, you can easily import your CJ Affiliate affiliate conversion data in your Facebook Pixel via the Facebook Conversion API. Simply add your CJ Affiliate account and your website to our system and we will do the rest!