Skip to main content
Skip table of contents

Parameter definitions

Dynamic parameters are variable and determined when the code is running. If you're unable to pass the parameters in the pixel, pass the following empty string: <parameter>: "", 

EXAMPLES

note: "",  

lastTouchChannel: "", 

All code snippets needed for pixel implementation are available within Peacock Ad Manager (on the Tracking tab). Refer to Install tracking pixels for step-by-step instructions on copying code snippets. 

Parameter 

Required?

Description 

Example 

Amount 

For purchase events 

Subtotal of the transaction (pre-tax, pre-shipping, post-discount) up to two decimal places.

9.99 

EventId 

Yes

Unique event identifier your platform assigns to events/orders. Used to dedupe events. 

8765680 

OrderId 

RegistrationId 

LeadId 

Last Touch Channel 

For incremental measurement

Last channel the user interacted with before landing on the website. If unavailable, pass an empty string. 

BEST PRACTICE

While not always required, we strongly recommend that you include this parameter to determine whether user purchases were directly driven by the ads or in partnership with your search/social efforts.

Paid search 

CustomerId 

No

Unique customer identifier your platform assigns to customer accounts. Do not use personally identifiable data for this field. 

123456789 

CustomerStatus

No

New or Existing. Can be configured to alter payouts. 

New 

Note 

No

Custom notes about the event. 

Special note 

Items 

No

Item level data array, mapped with the following parameters: SKU (SKU), CAT (Category), QTY (Quantity), PR (single item price, post discount, pre-tax).

items: { 

"SKU": "LEGO-STAR_WARS_MAN1", 

"CAT": "Toys", 

"PR": 8.99, 

"QTY": 4 

}, 

"SKU": "YELLOW_CHAIR-10", 

"CAT": "FURNITURE", 

"PR": 1000.99, 

"QTY": 1 

}, 

PromoCode 

No

Promotional code applied to the order. If multiple codes are used, include only one. 

TVCODE 

Currency 

No

Three-letter ISO 4217 code for the currency of your platform.

USD 

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.