For the complete documentation index, see llms.txt. This page is also available as Markdown.

CJ Reference

Destination Info

Client-side
Server-side

Web

Mobile

Server

Events

Freshpaint forwards Track calls to CJ.

Track

Freshpaint Property
CJ Parameter
Type
Requirement
Notes

order_id

orderId

string

Required

Unique order identifier.

value / total / revenue / price

amount

float

Required

Freshpaint tries these in order and uses the first one present.

currency

currency

string

Required

ISO 4217 currency code (e.g. USD, EUR).

$cjEvent

cjEvent

string

Recommended

CJ click identifier for publisher attribution.

discount

discount

float

Optional

Order-level discount amount.

coupon

coupon

string

Optional

Coupon or promo code applied to the order.

items

items

array

Optional

Array of line items. See Items below.

Items

When items is present on the event, Freshpaint maps each element to a CJ line item:

Property
Type
Notes

unitPrice

float

Unit price of the item.

quantity

integer

Quantity of the item.

sku

string

Stock-keeping unit identifier.

discount

float

Item-level discount amount.

Freshpaint does not currently support Vertical Parameters for the CJ integration. If this is something you'd like to use, please reach out to support@freshpaint.io. You can view the full list of available Vertical Parameters in the CJ documentation.

Last updated

Was this helpful?