Canonical event reference

Event names, reliability, transport eligibility, payload fields, and validated examples for schema version 1.

Gift card purchases create liability, not sales. Checkout started, payment chosen and purchase exclude gift card lines from value and items. Checkout and payment events also exclude them from subtotal and item_count, which can be zero. Goods paid with gift cards remain sales. Payment methods include gift_card and store_credit. Gift cards and store credit cannot buy gift cards. Meta and Google receive these same canonical sales amounts.

This reference describes event schema version 1. Event names are append-only within the version. Each app receives only the events and top-level payload fields selected in its installed release.

Reliability#

Badge

What it means

Guaranteed

Recorded by Tringify's servers together with the cart, checkout or order change itself, so it is never lost and never counted twice. Server delivery may still repeat a batch after an ambiguous response; deduplicate by event_id.

Best effort

Reported by the shopper's browser. Ad blockers, a closed tab or a lost connection can stop it, so some are missing.

Event

Name

Category

Reliability

Delivery

Description

session_started

Session started

Browsing

Best effort

Browser, Server

A new storefront browsing session began.

page_view

Page viewed

Browsing

Best effort

Browser, Server

A storefront page was viewed.

product_viewed

Product viewed

Browsing

Best effort

Browser, Server

A product detail page was viewed.

search

Search performed

Browsing

Best effort

Browser, Server

A shopper submitted a storefront search.

cart_add

Cart item added

Cart and wishlist

Guaranteed

Browser, Server

A cart line was added or its quantity increased.

cart_update

Cart item updated

Cart and wishlist

Guaranteed

Browser, Server

A cart line quantity was changed.

cart_remove

Cart item removed

Cart and wishlist

Guaranteed

Browser, Server

A cart line was removed or its quantity decreased.

wishlist_add

Wishlist item added

Cart and wishlist

Guaranteed

Browser, Server

A product or variant was added to a wishlist.

wishlist_remove

Wishlist item removed

Cart and wishlist

Guaranteed

Browser, Server

A product or variant was removed from a wishlist.

begin_checkout

Checkout started

Checkout and orders

Guaranteed

Browser, Server

A shopper started checkout, once per cart: going back to change the cart and returning does not count again. Value, subtotal, item_count and items exclude gift card lines; a gift-card-only checkout has zero sales value and zero sales items.

purchase

Purchase completed

Checkout and orders

Guaranteed

Browser, Server

An order payment was authoritatively completed. Value and items exclude gift card lines; goods paid with gift cards remain included.

refund

Refund completed

Checkout and orders

Guaranteed

Server

A payment refund was authoritatively recorded.

cancellation

Order cancelled

Checkout and orders

Guaranteed

Server

An order cancellation was authoritatively recorded. Amounts and items are what the order still held when it was cancelled.

rec_impression

Recommendations shown

Browsing

Best effort

Browser, Server

A recommendation placement displayed products.

rec_click

Recommendation clicked

Browsing

Best effort

Browser, Server

A shopper opened a product from a recommendation placement.

customer_login

Customer signed in

Customer

Best effort

Browser, Server

A customer successfully signed in without exposing their identifier.

customer_register

Customer registered

Customer

Best effort

Browser, Server

A customer account was successfully created without exposing its identifier.

order_edited

Order edited

Checkout and orders

Guaranteed

Server

A merchant changed the items of an order after its purchase was recorded. Amounts are the signed change the edit made.

newsletter_signup

Newsletter sign-up

Customer

Best effort

Browser, Server

A shopper subscribed to the store's newsletter from the storefront. The email address is not included.

contact_submitted

Contact form sent

Customer

Best effort

Browser, Server

A shopper sent the storefront contact form. Nothing they typed is included.

payment_info_added

Payment chosen

Checkout and orders

Best effort

Browser, Server

A shopper chose how to pay and continued to payment, once per checkout cart. Value, subtotal, item_count and items exclude gift card lines.

audience_view

Group sections shown

Browsing

Best effort

None

A page showed sections targeted at customer groups; each entry is the version the visitor saw. Recorded for Analytics only, never sent to apps or pixels.

comment_submitted

Blog comment posted

Customer

Best effort

Browser, Server

A shopper posted a comment on a blog post and the store saved it, live or waiting for approval. Comments saved as spam are not sent. The comment, name and email are not included.

review_submitted

Product review submitted

Customer

Best effort

Browser, Server

A shopper submitted a product review and the store saved it, live or waiting for approval. Reviews saved as spam are not sent. The review text and reviewer are not included.

Browser means a storefront page can publish the event to pixels, so it may be declared for the browser transport. refund, cancellation, order_edited are server-only: they happen after the shopper has left, and a browser declaration naming them is refused. In the browser, begin_checkout, payment_info_added and purchase are replayed on checkout and order confirmation pages with the same event IDs as their server events. Browser delivery of every event is best effort; use server delivery when you need complete counts.

Session started (`session_started`)#

A new storefront browsing session began.

This event has an empty payload object.

session_started-payload.json json
{}

Page viewed (`page_view`)#

A storefront page was viewed.

Field

Type

Required

Description

page_type

string

Yes

Canonical storefront page type: home, product, page, policy, blog (a post), blog_list, blog_category, blog_tag, blog_author, blog_month, metaobject (a custom content entry page), metaobject_list (a custom content type's list page), collection, category, brand, vendor and their lists, search, cart, wishlist and the other storefront pages.

display_name

string

No

Localized name shown for the viewed resource.

slug

string

No

Localized public handle for the resource.

resource_id

string

No

Stable identifier of the viewed resource.

page_view-payload.json json
{
  "display_name": "Canvas Print",
  "page_type": "product",
  "resource_id": "4821",
  "slug": "canvas-print"
}

Product viewed (`product_viewed`)#

A product detail page was viewed.

Field

Type

Required

Description

product_id

integer

Yes

Stable product identifier.

variant_id

integer

No

Stable selected variant identifier when one applies.

sku

string

No

SKU captured at event time when available.

slug

string

Yes

Localized public handle for the resource.

title

string

Yes

Product or line title at event time.

currency

string

No

ISO 4217 currency code for the accompanying amounts.

price

string

No

Exact major-unit decimal amount as a string.

product_viewed-payload.json json
{
  "currency": "EUR",
  "price": "1499.00",
  "product_id": 4821,
  "sku": "CANVAS-A4",
  "slug": "canvas-print",
  "title": "Canvas Print",
  "variant_id": 9102
}

A shopper submitted a storefront search.

Field

Type

Required

Description

query

string

Yes

Shopper search query.

results_total

integer

No

Number of matching results when known.

search-payload.json json
{
  "query": "canvas",
  "results_total": 12
}

Cart item added (`cart_add`)#

A cart line was added or its quantity increased.

Field

Type

Required

Description

action

string

Yes

Canonical mutation action.

source

string

No

Originating workflow when the mutation came from another feature.

product_id

integer

Yes

Stable product identifier.

variant_id

integer

No

Stable selected variant identifier when one applies.

quantity

integer

Yes

Resulting line or item quantity.

quantity_delta

integer

No

Signed quantity change made by this mutation.

pricing_status

string

Yes

Whether authoritative pricing was available for the mutation.

unit_amount

string

No

Exact major-unit price for one unit as a string.

line_total

string

No

Exact major-unit line total as a string.

currency

string

Yes

ISO 4217 currency code for the accompanying amounts.

subtotal

string

Yes

Exact major-unit cart subtotal as a string; checkout and payment events exclude gift card lines.

item_count

integer

Yes

Total quantity across the cart; checkout and payment events count only non-gift-card lines, which can be zero.

unique_item_count

integer

Yes

Number of distinct cart lines.

title

string

No

Product or line title at event time.

sku

string

No

SKU captured at event time when available.

coupons

array of value

No

Applied coupon projections when available.

customized

boolean

No

True when the line carries a file an app attached, such as the shopper's uploaded design.

cart_add-payload.json json
{
  "action": "added",
  "currency": "EUR",
  "item_count": 2,
  "line_total": "2998.00",
  "pricing_status": "available",
  "product_id": 4821,
  "quantity": 2,
  "quantity_delta": 1,
  "sku": "CANVAS-A4",
  "subtotal": "2998.00",
  "title": "Canvas Print",
  "unique_item_count": 1,
  "unit_amount": "1499.00",
  "variant_id": 9102
}

Cart item updated (`cart_update`)#

A cart line quantity was changed.

Field

Type

Required

Description

action

string

Yes

Canonical mutation action.

source

string

No

Originating workflow when the mutation came from another feature.

product_id

integer

Yes

Stable product identifier.

variant_id

integer

No

Stable selected variant identifier when one applies.

quantity

integer

Yes

Resulting line or item quantity.

quantity_delta

integer

No

Signed quantity change made by this mutation.

pricing_status

string

Yes

Whether authoritative pricing was available for the mutation.

unit_amount

string

No

Exact major-unit price for one unit as a string.

line_total

string

No

Exact major-unit line total as a string.

currency

string

Yes

ISO 4217 currency code for the accompanying amounts.

subtotal

string

Yes

Exact major-unit cart subtotal as a string; checkout and payment events exclude gift card lines.

item_count

integer

Yes

Total quantity across the cart; checkout and payment events count only non-gift-card lines, which can be zero.

unique_item_count

integer

Yes

Number of distinct cart lines.

title

string

No

Product or line title at event time.

sku

string

No

SKU captured at event time when available.

coupons

array of value

No

Applied coupon projections when available.

customized

boolean

No

True when the line carries a file an app attached, such as the shopper's uploaded design.

cart_update-payload.json json
{
  "action": "updated",
  "currency": "EUR",
  "item_count": 3,
  "line_total": "4497.00",
  "pricing_status": "available",
  "product_id": 4821,
  "quantity": 3,
  "quantity_delta": 1,
  "subtotal": "4497.00",
  "unique_item_count": 1,
  "unit_amount": "1499.00",
  "variant_id": 9102
}

Cart item removed (`cart_remove`)#

A cart line was removed or its quantity decreased.

Field

Type

Required

Description

action

string

Yes

Canonical mutation action.

source

string

No

Originating workflow when the mutation came from another feature.

product_id

integer

Yes

Stable product identifier.

variant_id

integer

No

Stable selected variant identifier when one applies.

quantity

integer

Yes

Resulting line or item quantity.

quantity_delta

integer

No

Signed quantity change made by this mutation.

pricing_status

string

Yes

Whether authoritative pricing was available for the mutation.

unit_amount

string

No

Exact major-unit price for one unit as a string.

line_total

string

No

Exact major-unit line total as a string.

currency

string

Yes

ISO 4217 currency code for the accompanying amounts.

subtotal

string

Yes

Exact major-unit cart subtotal as a string; checkout and payment events exclude gift card lines.

item_count

integer

Yes

Total quantity across the cart; checkout and payment events count only non-gift-card lines, which can be zero.

unique_item_count

integer

Yes

Number of distinct cart lines.

title

string

No

Product or line title at event time.

sku

string

No

SKU captured at event time when available.

coupons

array of value

No

Applied coupon projections when available.

customized

boolean

No

True when the line carries a file an app attached, such as the shopper's uploaded design.

cart_remove-payload.json json
{
  "action": "removed",
  "currency": "EUR",
  "item_count": 1,
  "line_total": "1499.00",
  "pricing_status": "available",
  "product_id": 4821,
  "quantity": 1,
  "quantity_delta": -1,
  "subtotal": "1499.00",
  "unique_item_count": 1,
  "unit_amount": "1499.00",
  "variant_id": 9102
}

Wishlist item added (`wishlist_add`)#

A product or variant was added to a wishlist.

Field

Type

Required

Description

product_id

integer

Yes

Stable product identifier.

variant_id

integer

No

Stable selected variant identifier when one applies.

effect

string

No

Result of the wishlist operation.

sku

string

No

SKU captured at event time when available.

title

string

No

Product or line title at event time.

currency

string

No

ISO 4217 currency code for the accompanying amounts.

price

string

No

Exact major-unit decimal amount as a string.

wishlist_add-payload.json json
{
  "effect": "added",
  "product_id": 4821,
  "sku": "CANVAS-A4",
  "variant_id": 9102
}

Wishlist item removed (`wishlist_remove`)#

A product or variant was removed from a wishlist.

Field

Type

Required

Description

product_id

integer

Yes

Stable product identifier.

variant_id

integer

No

Stable selected variant identifier when one applies.

effect

string

No

Result of the wishlist operation.

sku

string

No

SKU captured at event time when available.

title

string

No

Product or line title at event time.

currency

string

No

ISO 4217 currency code for the accompanying amounts.

price

string

No

Exact major-unit decimal amount as a string.

wishlist_remove-payload.json json
{
  "effect": "removed",
  "product_id": 4821,
  "sku": "CANVAS-A4",
  "variant_id": 9102
}

Checkout started (`begin_checkout`)#

A shopper started checkout, once per cart: going back to change the cart and returning does not count again. Value, subtotal, item_count and items exclude gift card lines; a gift-card-only checkout has zero sales value and zero sales items.

Field

Type

Required

Description

subtotal

string

Yes

Exact major-unit cart subtotal as a string; checkout and payment events exclude gift card lines.

value

string

No

Exact major-unit event value after applicable discounts.

currency

string

Yes

ISO 4217 currency code for the accompanying amounts.

item_count

integer

Yes

Total quantity across the cart; checkout and payment events count only non-gift-card lines, which can be zero.

items

array of object

No

Line-item snapshot included with the event.

items[].product_id

integer

Yes

Stable product identifier.

items[].variant_id

integer

No

Stable selected variant identifier when one applies.

items[].sku

string

No

SKU captured at event time when available.

items[].title

string

No

Product or line title at event time.

items[].quantity

integer

Yes

Resulting line or item quantity.

items[].unit_amount

string

Yes

Exact major-unit price for one unit as a string.

items[].line_total

string

Yes

Exact major-unit line total as a string.

items[].base_unit_amount

string

No

Unit amount converted into the store reporting currency.

items[].base_line_total

string

No

Line total converted into the store reporting currency.

items[].unit_amount_ex_tax

string

No

Unit price without tax and before order discounts, in the order currency.

items[].discount_ex_tax

string

No

Order discount on the items without tax, in the order currency; shipping discounts excluded.

begin_checkout-payload.json json
{
  "currency": "EUR",
  "item_count": 2,
  "items": [
    {
      "line_total": "2998.00",
      "product_id": 4821,
      "quantity": 2,
      "sku": "CANVAS-A4",
      "title": "Canvas Print",
      "unit_amount": "1499.00",
      "variant_id": 9102
    }
  ],
  "subtotal": "2998.00",
  "value": "2798.00"
}

Purchase completed (`purchase`)#

An order payment was authoritatively completed. Value and items exclude gift card lines; goods paid with gift cards remain included.

Field

Type

Required

Description

order_id

string

Yes

Stable Tringify order identifier.

order_number

string

No

Merchant-facing order number when available.

currency

string

Yes

ISO 4217 currency code for the accompanying amounts.

value

string

Yes

Exact major-unit event value after applicable discounts.

base_currency

string

No

Store reporting currency used for normalized reporting.

base_value

string

No

Exact value converted into the store reporting currency.

items

array of object

No

Line-item snapshot included with the event.

items[].product_id

integer

Yes

Stable product identifier.

items[].variant_id

integer

No

Stable selected variant identifier when one applies.

items[].sku

string

No

SKU captured at event time when available.

items[].title

string

No

Product or line title at event time.

items[].quantity

integer

Yes

Resulting line or item quantity.

items[].unit_amount

string

Yes

Exact major-unit price for one unit as a string.

items[].line_total

string

Yes

Exact major-unit line total as a string.

items[].base_unit_amount

string

No

Unit amount converted into the store reporting currency.

items[].base_line_total

string

No

Line total converted into the store reporting currency.

items[].unit_amount_ex_tax

string

No

Unit price without tax and before order discounts, in the order currency.

items[].discount_ex_tax

string

No

Order discount on the items without tax, in the order currency; shipping discounts excluded.

discount_total

string

No

Exact total discount amount in the order currency.

shipping

string

No

Exact shipping amount in the order currency.

tax

string

No

Exact tax amount in the order currency.

has_attribution

boolean

No

Whether the order retained an eligible attribution touch.

tax_included

boolean

No

Whether the order's item prices include tax.

market_id

string

No

Market the order was placed in.

shipping_country

string

No

ISO 3166-1 alpha-2 country of the shipping address, or of the billing address when nothing ships.

locale

string

No

Language the order was placed in, such as fr or en-GB. Absent on orders placed before it was recorded.

discount_ex_tax

string

No

Order discount on the items without tax, in the order currency; shipping discounts excluded.

origin

string

No

Where the order was made: checkout (the storefront), sales_channel_app (a sales channel app, such as a marketplace), app (another app, through the Store API or MCP), admin (Store Admin) or system (the replacement order of a return's exchange). An order made outside checkout carries no shopper consent, so its events reach an app only when that changes.

channel_id

string

No

Sales channel the order belongs to.

channel_name

string

No

Name of the order's sales channel, such as Online Store.

purchase-payload.json json
{
  "base_currency": "EUR",
  "base_value": "2798.00",
  "channel_id": "3c2b1a09-8f7e-4d6c-b5a4-938271605f4e",
  "channel_name": "Online Store",
  "currency": "EUR",
  "discount_ex_tax": "169.49",
  "discount_total": "200.00",
  "has_attribution": true,
  "items": [
    {
      "base_line_total": "2998.00",
      "base_unit_amount": "1499.00",
      "discount_ex_tax": "169.49",
      "line_total": "2998.00",
      "product_id": 4821,
      "quantity": 2,
      "unit_amount": "1499.00",
      "unit_amount_ex_tax": "1270.34",
      "variant_id": 9102
    }
  ],
  "locale": "en",
  "market_id": "9a1f2c3d-4e5f-6789-abcd-ef0123456789",
  "order_id": "66b0a1d2-4f13-4d32-a51d-93e595034e95",
  "order_number": "1042",
  "origin": "checkout",
  "shipping": "0.00",
  "shipping_country": "DE",
  "tax": "426.81",
  "tax_included": true,
  "value": "2798.00"
}

Refund completed (`refund`)#

A payment refund was authoritatively recorded.

Field

Type

Required

Description

components

array of object

Yes

What the refund returned, one entry per refunded item or charge, with its tax share.

components[].key

string

Yes

Identifies what was refunded, built from the type and the order item or charge ID, such as item:<order_item_id>. A key repeats when units and extra money come from the same source.

components[].order_item_id

string

No

Order item refunded, when type is item.

components[].type

string

Yes

What was refunded: item, shipping, cod_fee, checkout_fee, duty, or adjustment for an amount not tied to an item or charge.

components[].id

string

No

Checkout fee refunded, when type is checkout_fee.

components[].quantity

integer

Yes

Units returned with this refund; 0 when only money was returned.

components[].amount

string

Yes

Money returned for this entry including tax, in the order currency.

components[].goods_amount

string

Yes

Money returned for this entry excluding tax, in the order currency.

components[].tax_amount

string

Yes

Tax returned for this entry, in the order currency.

components[].base_goods_amount

string

Yes

Money returned excluding tax, converted into the store reporting currency.

components[].base_tax_amount

string

Yes

Tax returned, converted into the store reporting currency.

components[].base_rounding_amount

string

Yes

Rounding difference from converting this entry into the store reporting currency.

components[].tax_lines

array of object

Yes

Tax returned for this entry, one line per tax.

tax

string

Yes

Exact tax amount in the order currency.

base_tax

string

Yes

The refund tax share in store base currency, retained separately from gross refunded money.

goods_value

string

Yes

Refund money excluding its tax share, including non-tax adjustments.

order_id

string

Yes

Stable Tringify order identifier.

refund_transaction_id

string

No

Stable refund transaction identifier.

currency

string

Yes

ISO 4217 currency code for the accompanying amounts.

value

string

Yes

Exact major-unit event value after applicable discounts.

base_currency

string

No

Store reporting currency used for normalized reporting.

base_value

string

No

Exact value converted into the store reporting currency.

items

array of object

No

Line-item snapshot included with the event.

items[].product_id

integer

Yes

Stable product identifier.

items[].variant_id

integer

No

Stable selected variant identifier when one applies.

items[].sku

string

No

SKU captured at event time when available.

items[].title

string

No

Product or line title at event time.

items[].quantity

integer

Yes

Resulting line or item quantity.

items[].unit_amount

string

Yes

Exact major-unit price for one unit as a string.

items[].line_total

string

Yes

Exact major-unit line total as a string.

items[].base_unit_amount

string

No

Unit amount converted into the store reporting currency.

items[].base_line_total

string

No

Line total converted into the store reporting currency.

items[].unit_amount_ex_tax

string

No

Unit price without tax and before order discounts, in the order currency.

items[].discount_ex_tax

string

No

Order discount on the items without tax, in the order currency; shipping discounts excluded.

origin

string

No

Where the order was made: checkout (the storefront), sales_channel_app (a sales channel app, such as a marketplace), app (another app, through the Store API or MCP), admin (Store Admin) or system (the replacement order of a return's exchange). An order made outside checkout carries no shopper consent, so its events reach an app only when that changes.

channel_id

string

No

Sales channel the order belongs to.

channel_name

string

No

Name of the order's sales channel, such as Online Store.

refund-payload.json json
{
  "base_currency": "EUR",
  "base_tax": "228.66",
  "base_value": "1499.00",
  "components": [
    {
      "amount": "1499.00",
      "base_goods_amount": "1270.34",
      "base_rounding_amount": "0.00",
      "base_tax_amount": "228.66",
      "goods_amount": "1270.34",
      "key": "item:5c2e8f1a-7d3b-4a96-b0e4-1f8a2c6d9e73",
      "order_item_id": "5c2e8f1a-7d3b-4a96-b0e4-1f8a2c6d9e73",
      "quantity": 1,
      "tax_amount": "228.66",
      "tax_lines": [
        {
          "amount": "228.66",
          "name": "VAT",
          "rate": "18.0000"
        }
      ],
      "type": "item"
    }
  ],
  "currency": "EUR",
  "goods_value": "1270.34",
  "items": [
    {
      "base_line_total": "1499.00",
      "base_unit_amount": "1499.00",
      "line_total": "1499.00",
      "product_id": 4821,
      "quantity": 1,
      "unit_amount": "1499.00"
    }
  ],
  "order_id": "66b0a1d2-4f13-4d32-a51d-93e595034e95",
  "refund_transaction_id": "refund_1042_1",
  "tax": "228.66",
  "value": "1499.00"
}

Order cancelled (`cancellation`)#

An order cancellation was authoritatively recorded. Amounts and items are what the order still held when it was cancelled.

Field

Type

Required

Description

order_id

string

Yes

Stable Tringify order identifier.

currency

string

Yes

ISO 4217 currency code for the accompanying amounts.

value

string

Yes

Exact major-unit event value after applicable discounts.

base_currency

string

No

Store reporting currency used for normalized reporting.

base_value

string

No

Exact value converted into the store reporting currency.

items

array of object

No

Line-item snapshot included with the event.

items[].product_id

integer

Yes

Stable product identifier.

items[].variant_id

integer

No

Stable selected variant identifier when one applies.

items[].sku

string

No

SKU captured at event time when available.

items[].title

string

No

Product or line title at event time.

items[].quantity

integer

Yes

Resulting line or item quantity.

items[].unit_amount

string

Yes

Exact major-unit price for one unit as a string.

items[].line_total

string

Yes

Exact major-unit line total as a string.

items[].base_unit_amount

string

No

Unit amount converted into the store reporting currency.

items[].base_line_total

string

No

Line total converted into the store reporting currency.

items[].unit_amount_ex_tax

string

No

Unit price without tax and before order discounts, in the order currency.

items[].discount_ex_tax

string

No

Order discount on the items without tax, in the order currency; shipping discounts excluded.

origin

string

No

Where the order was made: checkout (the storefront), sales_channel_app (a sales channel app, such as a marketplace), app (another app, through the Store API or MCP), admin (Store Admin) or system (the replacement order of a return's exchange). An order made outside checkout carries no shopper consent, so its events reach an app only when that changes.

channel_id

string

No

Sales channel the order belongs to.

channel_name

string

No

Name of the order's sales channel, such as Online Store.

cancellation-payload.json json
{
  "base_currency": "EUR",
  "base_value": "2798.00",
  "currency": "EUR",
  "items": [
    {
      "base_line_total": "2998.00",
      "base_unit_amount": "1499.00",
      "line_total": "2998.00",
      "product_id": 4821,
      "quantity": 2,
      "unit_amount": "1499.00",
      "variant_id": 9102
    }
  ],
  "order_id": "66b0a1d2-4f13-4d32-a51d-93e595034e95",
  "value": "2798.00"
}

Recommendations shown (`rec_impression`)#

A recommendation placement displayed products.

Field

Type

Required

Description

placement

string

Yes

Stable recommendation placement identifier.

product_ids

array of integer

Yes

Stable product identifiers shown in the placement.

strategy

string

No

Recommendation strategy identifier when available.

rec_impression-payload.json json
{
  "placement": "related_products",
  "product_ids": [
    4821,
    4822
  ],
  "strategy": "related"
}

Recommendation clicked (`rec_click`)#

A shopper opened a product from a recommendation placement.

Field

Type

Required

Description

placement

string

Yes

Stable recommendation placement identifier.

product_id

integer

Yes

Stable product identifier.

variant_id

integer

No

Stable selected variant identifier when one applies.

sku

string

No

SKU captured at event time when available.

rec_click-payload.json json
{
  "placement": "related_products",
  "product_id": 4821,
  "sku": "CANVAS-A4",
  "variant_id": 9102
}

Customer signed in (`customer_login`)#

A customer successfully signed in without exposing their identifier.

Field

Type

Required

Description

provider

string

Yes

Authentication method used: email or phone.

surface

string

Yes

Storefront surface where the action completed: for sign-in, account or checkout; for forms, website (newsletter), contact_page, or product_enquiry (the contact form sent about a product, such as one with price on request).

customer_login-payload.json json
{
  "provider": "email",
  "surface": "account"
}

Customer registered (`customer_register`)#

A customer account was successfully created without exposing its identifier.

Field

Type

Required

Description

provider

string

Yes

Authentication method used: email or phone.

surface

string

Yes

Storefront surface where the action completed: for sign-in, account or checkout; for forms, website (newsletter), contact_page, or product_enquiry (the contact form sent about a product, such as one with price on request).

customer_register-payload.json json
{
  "provider": "email",
  "surface": "checkout"
}

Order edited (`order_edited`)#

A merchant changed the items of an order after its purchase was recorded. Amounts are the signed change the edit made.

Field

Type

Required

Description

order_id

string

Yes

Stable Tringify order identifier.

edit_id

string

Yes

Stable order edit identifier.

order_version

integer

Yes

Order version the edit produced.

currency

string

Yes

ISO 4217 currency code for the accompanying amounts.

value_change

string

Yes

Signed change in the order total made by the edit, in the order currency.

base_currency

string

Yes

Store reporting currency used for normalized reporting.

base_value_change

string

Yes

Signed change in the order total converted into the store reporting currency.

items

array of object

No

Line-item snapshot included with the event.

items[].product_id

integer

Yes

Stable product identifier.

items[].variant_id

integer

No

Stable selected variant identifier when one applies.

items[].sku

string

No

SKU captured at event time when available.

items[].title

string

No

Product or line title at event time.

items[].quantity_delta

integer

Yes

Signed quantity change made by this mutation.

items[].line_total_delta

string

Yes

Signed change in the line total, in the order currency.

items[].base_line_total_delta

string

Yes

Signed change in the line total converted into the store reporting currency.

origin

string

No

Where the order was made: checkout (the storefront), sales_channel_app (a sales channel app, such as a marketplace), app (another app, through the Store API or MCP), admin (Store Admin) or system (the replacement order of a return's exchange). An order made outside checkout carries no shopper consent, so its events reach an app only when that changes.

channel_id

string

No

Sales channel the order belongs to.

channel_name

string

No

Name of the order's sales channel, such as Online Store.

order_edited-payload.json json
{
  "base_currency": "EUR",
  "base_value_change": "-1499.00",
  "currency": "EUR",
  "edit_id": "0f3c2a8e-5b1d-4e6f-9a7c-2d4b8e1f6a3c",
  "items": [
    {
      "base_line_total_delta": "-1499.00",
      "line_total_delta": "-1499.00",
      "product_id": 4821,
      "quantity_delta": -1,
      "variant_id": 9102
    }
  ],
  "order_id": "66b0a1d2-4f13-4d32-a51d-93e595034e95",
  "order_version": 2,
  "value_change": "-1499.00"
}

Newsletter sign-up (`newsletter_signup`)#

A shopper subscribed to the store's newsletter from the storefront. The email address is not included.

Field

Type

Required

Description

surface

string

Yes

Storefront surface where the action completed: for sign-in, account or checkout; for forms, website (newsletter), contact_page, or product_enquiry (the contact form sent about a product, such as one with price on request).

newsletter_signup-payload.json json
{
  "surface": "website"
}

Contact form sent (`contact_submitted`)#

A shopper sent the storefront contact form. Nothing they typed is included.

Field

Type

Required

Description

surface

string

Yes

Storefront surface where the action completed: for sign-in, account or checkout; for forms, website (newsletter), contact_page, or product_enquiry (the contact form sent about a product, such as one with price on request).

contact_submitted-payload.json json
{
  "surface": "contact_page"
}

Payment chosen (`payment_info_added`)#

A shopper chose how to pay and continued to payment, once per checkout cart. Value, subtotal, item_count and items exclude gift card lines.

Field

Type

Required

Description

subtotal

string

Yes

Exact major-unit cart subtotal as a string; checkout and payment events exclude gift card lines.

value

string

No

Exact major-unit event value after applicable discounts.

currency

string

Yes

ISO 4217 currency code for the accompanying amounts.

item_count

integer

Yes

Total quantity across the cart; checkout and payment events count only non-gift-card lines, which can be zero.

items

array of object

No

Line-item snapshot included with the event.

items[].product_id

integer

Yes

Stable product identifier.

items[].variant_id

integer

No

Stable selected variant identifier when one applies.

items[].sku

string

No

SKU captured at event time when available.

items[].title

string

No

Product or line title at event time.

items[].quantity

integer

Yes

Resulting line or item quantity.

items[].unit_amount

string

Yes

Exact major-unit price for one unit as a string.

items[].line_total

string

Yes

Exact major-unit line total as a string.

items[].base_unit_amount

string

No

Unit amount converted into the store reporting currency.

items[].base_line_total

string

No

Line total converted into the store reporting currency.

items[].unit_amount_ex_tax

string

No

Unit price without tax and before order discounts, in the order currency.

items[].discount_ex_tax

string

No

Order discount on the items without tax, in the order currency; shipping discounts excluded.

payment_method

string

Yes

How the shopper chose to pay: online, cod, gift_card or store_credit.

order_id

string

No

Stable Tringify order identifier.

payment_info_added-payload.json json
{
  "currency": "EUR",
  "item_count": 2,
  "items": [
    {
      "line_total": "2998.00",
      "product_id": 4821,
      "quantity": 2,
      "sku": "CANVAS-A4",
      "title": "Canvas Print",
      "unit_amount": "1499.00",
      "variant_id": 9102
    }
  ],
  "order_id": "5f0c2a1e-8b7d-4c3a-9e21-6d4b8a1f0c37",
  "payment_method": "online",
  "subtotal": "2998.00",
  "value": "2798.00"
}

Group sections shown (`audience_view`)#

A page showed sections targeted at customer groups; each entry is the version the visitor saw. Recorded for Analytics only, never sent to apps or pixels.

Field

Type

Required

Description

versions

array of string

Yes

Each customer group the page's sections targeted, as :members (the visitor is in the group and saw its content) or :others (they saw the content for everyone else).

audience_view-payload.json json
{
  "versions": [
    "0b6f6c1e-2f4a-4c55-9d3e-7a1b2c3d4e5f:members"
  ]
}

Blog comment posted (`comment_submitted`)#

A shopper posted a comment on a blog post and the store saved it, live or waiting for approval. Comments saved as spam are not sent. The comment, name and email are not included.

Field

Type

Required

Description

post_id

string

Yes

Stable blog post identifier.

slug

string

Yes

Localized public handle for the resource.

title

string

No

Product or line title at event time.

status

string

Yes

approved when the submission is live on the storefront, pending when it waits for the merchant's approval.

comment_submitted-payload.json json
{
  "post_id": "3f9a2c1e-7b4d-4e8a-9c21-5d6e7f8a9b0c",
  "slug": "how-we-print",
  "status": "pending",
  "title": "How we print"
}

Product review submitted (`review_submitted`)#

A shopper submitted a product review and the store saved it, live or waiting for approval. Reviews saved as spam are not sent. The review text and reviewer are not included.

Field

Type

Required

Description

product_id

integer

Yes

Stable product identifier.

sku

string

No

SKU captured at event time when available.

title

string

No

Product or line title at event time.

rating

integer

Yes

Star rating from 1 to 5.

status

string

Yes

approved when the submission is live on the storefront, pending when it waits for the merchant's approval.

review_submitted-payload.json json
{
  "product_id": 4821,
  "rating": 5,
  "sku": "CANVAS-A4",
  "status": "approved",
  "title": "Canvas Print"
}