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 seamless implementation.
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:
- 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 pixels 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 API so you can feed your ad platform's Machine Learning, AI and automatic optimization according to 100% of your conversion data.
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
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
The API Integration is fully pre-defined and ready to be implemented with your CJ account.
Before you begin
The CJ integration requires that the AnyTrack Tracking Tag in the
head
section of your website or landing pages. Learn now to Install the AnyTrack Tag on your website.
Setup Guide
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
- 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)
- Return to the AnyTrack settings and Paste the token in the token field
- Add your CJ Publisher id
- Save
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 (ex: Facebook Conversion API)
Validate your integration
Install the AnyTrack Pixel Helper Extension
Install the AnyTrack Pixel Helper Chrome extension to verify the AnyTrack Tag is installed on your website. It also shows connected ad networks and browser-side events. Learn more.
This section will enable you to validate the main aspects of your setup.
Link tracking
Since Tracking starts when visitors clicks on offer links, you should verify that your links are tracked and AutoTagged.
AutoTag Methods
Reminder about AutoTag:
AutoTag is a function that is enabled by default through the AnyTrack Tracking Tag, and that appends
sid
&click_id
data to affiliate links. Learn more about AutoTag.
- 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 from cj
:
<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 Group
Tracking Group refers to the integration technology. For example, CJ Tracking Group tracking group is
cj
and ClickBank isclickbank
. The Tracking Group
Conversion Tracking
To validate your setup, you should either 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 & Troubleshooting
-
No. Anytrack can only ingest conversions that have been triggered following a visitor session on your website.Can I import past conversions into Anytrack? -
Yes, but this requires a custom setup. Please refer to this article.Can I track direct linking campaigns? -
No.Can I use a differentsubid
parameter than the one predefined by AnyTrack? -
No. TheCan I track conversions without theclick_id
?click_id
passed to the CJ links is required to track conversions. -
Not at this time. CJ Sends two types of events across all offers.The Conversion Event Name is not what I am expecting, how can I change it?
Take these steps to troubleshoot errors you encounter in AnyTrack
-
General troubleshooting
- Verify that your tracking tag is set in the
head
section of your website. - If you're on the free plan, verify that you didn't reach the monthly traffic limit and upgrade if needed.
- Verify that your tracking tag is set in the
-
When you are not tracking conversions, or most conversions trigger an error follow the guidelines below.Conversion sources
Before you reach out to the tech support, please inspect the conversion log to see what type of errors you are getting and try to fix the integration by following these troubleshooting guidelines.
-
Native integrations refer to platforms that are predefined in the catalog and should provide an error-free data flow.Native integrations
The most common error is that theclick_id
is unknown or missing. It happens when AutoTag could not be activated.- Check that your links are not hidden behind some javascripts or double redirects.
- Check that the links are in a standard
a
element. - Try to manually set the tracking group attribute (check the integration guidelines).
- Check whether your offers don't get traffic from websites where the AnyTrack Tag isn't set.
-
Conversion data doesn't trigger an error 🔴, but is not validated 🟢:
- Check that the API Integration you've set matches the pre-defined API Integration we provide.
- Copy the Event Reference from the Conversion Event Log and contact the support.
-
You're not getting any conversions:
- Check that the API Integration is set and active in your platform.
- Check that you're passing the correct AutoTag
sid
parameter to the offer link. - Check that the Postback URL is correctly inserted in the custom integration.
Updated 20 days ago