> ## Documentation Index
> Fetch the complete documentation index at: https://data-foundation.rockerbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CJ Affiliate

> Learn how to set up CJ Affiliate (Commission Junction) integration with Rockerbox

## Setup Process

1. Contact [support@rockerbox.com](mailto:support@rockerbox.com) to enable the integration. Let the team know the launch date, the UTMs you will apply, and the [tier structure](https://help.rockerbox.com/article/obce43haen-1-hierarchy-mappings) you'd like applied
2. Work with your CJ account manager to apply URL parameters to all landing pages **before launch** (see Click Tracking below)
3. Work with your CJ account manager to set up automated daily reporting from CJ to Rockerbox **before launch** (see Batch Spend below)

## Click Tracking

Ask your CJ representative to append the click tracking parameters to all of your landing pages (both active and future).

### Example Parameter String

```text wrap theme={null}
cj_publishercid={pubCid}
```

<Accordion title="Parameter Details">
  | Parameter         | Macro      | Description                              |
  | ----------------- | ---------- | ---------------------------------------- |
  | `cj_publishercid` | `{pubCid}` | Publisher CID (dynamically filled by CJ) |

  These parameter values use macros and do not need to be manually replaced. Their values will be dynamically filled by the platform when the ad is served.
</Accordion>

## Batch Spend

Your CJ account manager can assist with setting up automated daily reporting to Rockerbox. Ask your CJ contact to create a ticket for a scheduled report with the following details:

* **Endpoint:** Provided by [support@rockerbox.com](mailto:support@rockerbox.com)
* **Cadence:** Daily, as early in the day as available
* **Timezone:** UTC
* **Format:** .xlsx

**Required Columns** (must match exactly, including capitalization and spacing):

```
Period
Publisher CID
Publisher Name
Total Commission (USD)
```

## Verification

After setup:

1. Confirm tracking is applied on the [Advertising Platforms](https://app.rockerbox.com/v3/data/marketing/advertising_platforms/main) page
2. Verify spend data appears in Rockerbox dashboard
3. Contact [support@rockerbox.com](mailto:support@rockerbox.com) for QA assistance
