CJ Affiliate (formerly Commission Junction) Tag Setup Guide
This article describes how to set up the CJ Affiliate Conversion Tag tag in your Tealium iQ Tag Management account.
Tag tips
- This tag requires the E-Commerce Extension (
_corder
,_cprod
,_cquan
,_cprice
). - Use mapping to override E-Commerce Extension values for ITEM, AMT, QTY, DCNT.
- Map a variable to DISCOUNT for order-level discount and an array to DCNT for product-level discounts.
- Currency will default to USD if no currency is set on the page.
- Map the event ID variable to CJEVENT to register the event as an affiliate referral. If you’re using a template as recent as October 2018, the tag will try to use the
cjevent
query parameter by default, although you can still use a mapping to override this.
Tag configuration
Navigate to the Tag Marketplace to add a new tag. Read the Tag Overview article for general instructions on how to add a tag.
When adding the tag, configure the following settings:
- Client ID
- Advertiser Account Number
- Sale Tag Type
- Standard: CID, OID, TYPE and CURRENCY are sent.
- Advanced: Sends additional values ITEM, AMT, QTY, DCNT.
- Action ID
- Populates the TYPE querystring parameter.
- Leave blank to use the e-commerce extension
_ctype
value.
- Container Tag ID
- Optional.
- Leave blank to use image tag.
- When this value is set, the iframe (container) tag is used instead of IMG tag
- CJ Referral Period
- Optional.
- Set the
CJEVENT
cookie duration. - Specify in days using a number between 1 and 120, or leave blank to use the default behavior of a session based duration.
- Must use a tag template as recent as October 2018 for this config option to take effect.
Data mappings
Mapping is the process of sending data from a data layer variable to the corresponding destination variable of the vendor tag. For instructions on how to map a variable to a tag destination, see data mappings.
The available categories are:
Standard
Destination Name | Description |
---|---|
cid |
|
aid |
|
containerid |
|
name |
|
CJEVENT |
|
referralperiod |
|
E-Commerce
Variable | Description |
---|---|
OID |
|
AMOUNT |
|
CURRENCY |
|
DISCOUNT |
|
COUPON |
|
ITEM |
|
AMT |
|
QTY |
|
DCNT |
|
Advanced
These variables are not to be used unless instructed by your assigned CJ Client Integration Engineer
Destination Name | Description |
---|---|
CHANNEL |
|
CHANNEL_TS |
|
Vendor Documentation
This page was last updated: July 13, 2021