CJ Integration

How to connect and integrate with CJ.

Updated over a week ago

How to Integrate with CJ

  1. Go to Organization > Connections Tab

  2. Click on the CJ Tab

  3. Enter your CJ API Key

  4. Enter your CJ Publisher ID

  5. Click Save

Once you click save, you will need to create a new offer for each ad that you want to sync in Swaarm with CJ. There are a few settings you must configure described below.

CJ Offer Configuration to Sync Data

When creating an offer that you want to sync data for, via your CJ integration, then you will need configure your offer in the following areas:

Adv. Offer ID

You must add the following to the Adv. Offer ID field:

cj:<input_cjAdvertiserId>:<input_$cjLinkId>

So that in the Adv. Offer ID field it will look like:

cj:10101:96024

Tracking Link

When setting up the tracking link you must add the following: ?sid={id}

For example, here is a link from CJ:

https://www.stwrkm.com/click-12345-67890

And this is what it should look like in Swaarm:

https://www.stwrkm.com/click-12345-67890?sid={id}

โŒš How often does Swaarm sync with CJ

  • Hourly for postbacks from the previous hour

  • Once per day for all postbacks from the previous day

  • Once per week for all postbacks from the previous week

  • Once per month for all postbacks from the previous month


List of Fields that are synced from CJ

For each Commission, a postback is created with the following details

  • clickDate

  • clickReferringURL

  • commissionId

  • advertiserId

  • country

  • pubCommissionAmountUsd

  • concludingBrowser

  • concludingDeviceName

  • concludingDeviceType

  • correctionReason

  • eventDate

  • initiatingBrowser

  • initiatingDeviceName

  • initiatingDeviceType

  • shopperId

  • aid

  • orderId

Did this answer your question?