Commission Junction Sync

What is Commission Junction?

Commission Junction provides a platform that connects advertisers with a network of publishers, making it easier for both parties to find suitable partnerships. Publishers promote the advertisers’ products through various channels such as websites, blogs, social media, email marketing, etc. When a user clicks on an affiliate link and completes a desired action, the publisher earns a commission.


Product Type: Affiliate

Integration Type: Starter Kit & ID Sync


Capabilities

  • Captures cjevent from URL parameters for attribution tracking.
  • Stores cjevent in first-party storage to persist affiliate click information.
  • Automatically refreshes stored values when the cjevent parameter is encountered again.
  • Appends identifiers to server-side events to support affiliate commission tracking.

Sync Details

  • IDs:

    • cjevent – A unique click identifier passed via URL by CJ Affiliate to attribute user actions and conversions to specific affiliates.
  • Description:

    • The sync captures the cjevent identifier from URL parameters.
    • Each value is stored in first-party storage for a configured duration, defaulting to 365 days unless otherwise set in the UI.
    • Values are refreshed whenever a new cjevent is detected in the URL.
    • The identifiers are added to server-side event payloads for affiliate attribution.
  • Server-side Event Payload:
    Upon completion of all vendor's sync, the server-side events will incorporate all resolved identifiers as described above. The following object will be appended to the context.providers property within the event's JSON payload.

    
    {
      "commissionJunction": {
        "cjevent": "URL parameter value from cjevent"
      }
    }
    
  • Cookie Name:

    • Cookie: _meta_commissionJunction_cjevent
    • IndexedDB: [your storage prefix]_commissionJunction_cjevent
    • For a general guide on ID Sync validation, see here.

Sync Setup Guide

1. Add a Commission Junction Sync in MetaRouter

To gather the cjevent value, you must add a Commission Junction sync.

  1. From the Pipelines page, find the pipeline associated with the web property you’d like to add a sync to. Hover over the three dot dropdown and select “Build AJS File.”
  2. In the Identity Syncs section, select the Commission Junction sync.
  3. Fill out the following field
    1. Cookie Lifetime (in days) – Defines how long the stored cjevent value remains in storage unless renewed. Example: 30
  4. Scroll down and click the Save and Build File button.
  5. Deploy your AJS file to propagate changes to your web property.

What’s Next

If applicable, proceed with setting up your Commission Junction Starter Kit.