CJ Affiliates
The article provides an overview of integrating CJ with AnyTrack to enhance conversion tracking and maximize ROI. This integration allows real-time conversion data from CJ to be sent to AnyTrack, which can then forward it to platforms like Google Ads and Facebook `Conversion API`, offering transparency and insights for campaign optimization. The setup involves adding CJ to AnyTrack, connecting the CJ account, and adjusting conversion event mapping, with detailed steps and troubleshooting tips provided for automatic implementation.
CJ Integration Overview
Section titled “CJ Integration Overview”Integrating CJ with AnyTrack gives you the power to accurately track all your conversions and maximize ROI. With this integration, conversion data is sent from CJ directly to AnyTrack where it can be forwarded in real-time to platforms like Google Ads, Facebook Conversion API and TikTok API. This provides complete transparency into your campaigns’ performance so you know exactly which ones perform well and take action accordingly. Additionally, marketers gain access to powerful analytics & insights that help them optimize their campaigns for maximum efficiency.
How does the CJ AnyTrack integration work:
Section titled “How does the CJ AnyTrack integration work:”- Traffic: When visitors land on your website, AnyTrack collects traffic source data and First Party data.
- Engagements: When visitors click on your CJ affiliate links, AnyTrack does a few things:
- Collects granular data tied to the
OutboundClick. - Triggers Event Tracking API requests to your Tracking Tags and analytics.
- Collects granular data tied to the
- Conversions: When visitors convert on the merchant’s website, AnyTrack receives real time conversion data through API Integration.
- Attribution: AnyTrack processes the conversion data and reports it across various reporting sections of the AnyTrack Dashboard.
Conversion API: AnyTrack then sends your conversions to your Ad Platforms’Conversion APIso you can feed your ad platform’s Machine Learning, AI and automatic optimization according to 100% of your conversion data.
Technical details
Section titled “Technical details”| Reference | Value | Information |
|---|---|---|
| Tracking Group | cj | The Tracking Group reference can be used to activate AutoTag . |
| Subid Parameter | sid | The Subid Parameter used to pass the AnyTrack click_id. |
| Tracking Method | API Integration | - |
Standard Conversions
Section titled “Standard Conversions”| Event Name | Details | Data Source |
|---|---|---|
OutboundClick | When a visitor clicks on CJ offer links. | AnyTrack JS Tag |
Lead | When a free registration is recorded in CJ. | API Integration |
Purchase | When a user generates a commission in CJ. | API Integration |
The CJ API Integration
Section titled “The CJ API Integration”The API Integration is fully pre-defined and ready to be implemented with your CJ account.
Setup Guide
Section titled “Setup Guide”Step #1: Add CJ to your AnyTrack Account
Section titled “Step #1: Add CJ to your AnyTrack Account”-
Go to the Integration Catalog, search for CJ.
-
Now click on the CJ cardand then Click on Install.
Step #2: Connect your CJ account
Section titled “Step #2: Connect your CJ account”-
Navigate to the CJ Affiliates Developer Portal to generate your personal token.
-
Register a new personal token and Copy it to your clipboard (ctrl+c)
-
Find and copy your CJ Publisher id (cid)
-
Add both values to your AnyTrack-CJ integration and click Connect.
Step #3: Adjust the Conversion Event Mapping
Section titled “Step #3: Adjust the Conversion Event Mapping”The Event Mapping allows you to define which events to track and map them to Conversion Events you will forward to your Ads Integrations (e.g., Facebook Conversion API)
Validate your integration
Section titled “Validate your integration”This section will enable you to validate the main aspects of your setup.
Link tracking
Section titled “Link tracking”Since Tracking starts when visitors clicks on offer links, you verify that your links are tracked and AutoTagged.
AutoTag Methods
Section titled “AutoTag Methods”- Default: By default, AnyTrack automatically identifies and AutoTags CJ links found on your website.
- AutoScan: AnyTrack scans links that are embedded in redirects plugins and AutoTags them accordingly.
- Manual:
- Tracking Group Attribute: You add the tracking group attribute to links according to their tracking requirements. For example:
data-tracking-group="cj"orrel="cj". More about Tracking Group. - Click ID Token: You Manually append the
subid:&sid=--CLICK-ID--to the offer link.
- Tracking Group Attribute: You add the tracking group attribute to links according to their tracking requirements. For example:
Once the links are set up, you can check in your CJ account reports and see whether the sid parameters are passed to the offer links.
Here is an example of how you would manually update links fromcj:
<p> <a href="https://example.foo/goto/cj" data-tracking-group="cj">Hover on the CJ Demo Link to see the AnyTrack `click_id` </a></p>📘 Tracking
Tracking Group refers to the integration technology. For example, CJ Tracking Group tracking group is
cjand ClickBank isClickBank. The Tracking Group
Conversion Tracking
Section titled “Conversion Tracking”To validate your setup, you wait for a conversion or trigger a test conversion yourself and inspect the conversion logs.
CJ conversion payload example
{ "websiteName": "All About Pets", "actionType": "item_sale", "actionTrackerName": "Petlibro.com Purchase", "pubCommissionAmountUsd": "12", "commissionId": "3172553564", "actionStatus": "new", "shopperId": "Zojr5qPF3fVktRfjutq1YQ1I9ykZVgacsA", "postingDate": "2023-05-21T01:00:31Z", "items": [ { "perItemSaleAmountPubCurrency": "120", "quantity": 1, "totalCommissionPubCurrency": "12" } ], "advertiserName": "PetLibro", "eventDate": "2023-05-21T00:01:59Z"}FAQ and Troubleshooting
FAQ was last reviewed on 2026-06-10
Can I import past conversions into AnyTrack?
Can I track direct linking campaigns?
Can I use a different <code>subid</code> parameter than the one predefined by AnyTrack?
Can I track conversions without the <code>click_id</code>?
click_id passed to the CJ links is required to track conversions.