Events

Checkout Started

User initiated the order process (a transaction is created).

Suggested source: server, website front-end

Properties

Name

Type

Description

Required

affiliation

string

Store or affiliation from which this transaction occurred (for example, "Google Store")

no

checkout_type

string

Checkout provider (for example, "stripe")

no

coupon

string

Transaction coupon redeemed with the transaction

no

currency

string

Currency code of the transaction (for example, "USD") Pattern: ^[A-Z]{3}$

no

discount

number

Total discount associated with the transaction

no

order_id

string

Order/transaction ID

no

order_name

string

Order number (for example, "CHORD-000111222")

no

products

object[]

Products in the order

yes

revenue

number

Revenue ($) associated with the transaction (excluding shipping and tax)

no

shipping

number

Shipping cost associated with the transaction

no

tax

number

Total tax associated with the transaction

no

value

number

Revenue ($) with discounts and coupons added in

no

Example

JSON


products[] array

Products in the order

The product

Item Properties

Name

Type

Description

Required

affiliation

string

Product affiliation to designate a supplying company or brick and mortar store location (for example, "Google Store")

no

brand

string

Brand associated with the product

no

bundle

boolean

Product belongs to a bundle

no

category

string

Product category

no

coupon

string

Coupon code associated with a product (for example, "MAY_DEALS_3")

no

description

string

Short description of the product

no

image_url

string

Image URL of the product

no

name

string

Name of the product

yes

option_values

string[]

Option values of the product variant

no

position

integer

Position in the product list (for example, 3)

no

price

number

Price ($) of the product

no

product_id

string

Database ID of the product

yes

quantity

integer

Quantity of the product

no

sku

string

SKU of the product variant

no

slug

string

Slug of the product, often used in URLs (for example, "product-red")

no

url

string

URL of the product page

no

variant

string

Name of the product variant

no

line_item_id

string

Database ID of the line item

no

Example

JSON


products[].option_values[] array

Option values of the product variant

Option value (for example, "red")

Item Type: stringExample

JSON