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 |
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 |
Browsing |
Best effort |
Browser, Server |
A new storefront browsing session began. |
|
Page viewed |
Browsing |
Best effort |
Browser, Server |
A storefront page was viewed. |
|
Product viewed |
Browsing |
Best effort |
Browser, Server |
A product detail page was viewed. |
|
Search performed |
Browsing |
Best effort |
Browser, Server |
A shopper submitted a storefront search. |
|
Cart item added |
Cart and wishlist |
Guaranteed |
Browser, Server |
A cart line was added or its quantity increased. |
|
Cart item updated |
Cart and wishlist |
Guaranteed |
Browser, Server |
A cart line quantity was changed. |
|
Cart item removed |
Cart and wishlist |
Guaranteed |
Browser, Server |
A cart line was removed or its quantity decreased. |
|
Wishlist item added |
Cart and wishlist |
Guaranteed |
Browser, Server |
A product or variant was added to a wishlist. |
|
Wishlist item removed |
Cart and wishlist |
Guaranteed |
Browser, Server |
A product or variant was removed from a wishlist. |
|
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 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 completed |
Checkout and orders |
Guaranteed |
Server |
A payment refund was authoritatively recorded. |
|
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. |
|
Recommendations shown |
Browsing |
Best effort |
Browser, Server |
A recommendation placement displayed products. |
|
Recommendation clicked |
Browsing |
Best effort |
Browser, Server |
A shopper opened a product from a recommendation placement. |
|
Customer signed in |
Customer |
Best effort |
Browser, Server |
A customer successfully signed in without exposing their identifier. |
|
Customer registered |
Customer |
Best effort |
Browser, Server |
A customer account was successfully created without exposing its identifier. |
|
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 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 form sent |
Customer |
Best effort |
Browser, Server |
A shopper sent the storefront contact form. Nothing they typed is included. |
|
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. |
|
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. |
|
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. |
|
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.
{}
Page viewed (`page_view`)#
A storefront page was viewed.
Field |
Type |
Required |
Description |
|---|---|---|---|
|
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. |
|
string |
No |
Localized name shown for the viewed resource. |
|
string |
No |
Localized public handle for the resource. |
|
string |
No |
Stable identifier of the viewed resource. |
{
"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 |
|---|---|---|---|
|
integer |
Yes |
Stable product identifier. |
|
integer |
No |
Stable selected variant identifier when one applies. |
|
string |
No |
SKU captured at event time when available. |
|
string |
Yes |
Localized public handle for the resource. |
|
string |
Yes |
Product or line title at event time. |
|
string |
No |
ISO 4217 currency code for the accompanying amounts. |
|
string |
No |
Exact major-unit decimal amount as a string. |
{
"currency": "EUR",
"price": "1499.00",
"product_id": 4821,
"sku": "CANVAS-A4",
"slug": "canvas-print",
"title": "Canvas Print",
"variant_id": 9102
}
Search performed (`search`)#
A shopper submitted a storefront search.
Field |
Type |
Required |
Description |
|---|---|---|---|
|
string |
Yes |
Shopper search query. |
|
integer |
No |
Number of matching results when known. |
{
"query": "canvas",
"results_total": 12
}
Cart item added (`cart_add`)#
A cart line was added or its quantity increased.
Field |
Type |
Required |
Description |
|---|---|---|---|
|
string |
Yes |
Canonical mutation action. |
|
string |
No |
Originating workflow when the mutation came from another feature. |
|
integer |
Yes |
Stable product identifier. |
|
integer |
No |
Stable selected variant identifier when one applies. |
|
integer |
Yes |
Resulting line or item quantity. |
|
integer |
No |
Signed quantity change made by this mutation. |
|
string |
Yes |
Whether authoritative pricing was available for the mutation. |
|
string |
No |
Exact major-unit price for one unit as a string. |
|
string |
No |
Exact major-unit line total as a string. |
|
string |
Yes |
ISO 4217 currency code for the accompanying amounts. |
|
string |
Yes |
Exact major-unit cart subtotal as a string; checkout and payment events exclude gift card lines. |
|
integer |
Yes |
Total quantity across the cart; checkout and payment events count only non-gift-card lines, which can be zero. |
|
integer |
Yes |
Number of distinct cart lines. |
|
string |
No |
Product or line title at event time. |
|
string |
No |
SKU captured at event time when available. |
|
array of value |
No |
Applied coupon projections when available. |
|
boolean |
No |
True when the line carries a file an app attached, such as the shopper's uploaded design. |
{
"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 |
|---|---|---|---|
|
string |
Yes |
Canonical mutation action. |
|
string |
No |
Originating workflow when the mutation came from another feature. |
|
integer |
Yes |
Stable product identifier. |
|
integer |
No |
Stable selected variant identifier when one applies. |
|
integer |
Yes |
Resulting line or item quantity. |
|
integer |
No |
Signed quantity change made by this mutation. |
|
string |
Yes |
Whether authoritative pricing was available for the mutation. |
|
string |
No |
Exact major-unit price for one unit as a string. |
|
string |
No |
Exact major-unit line total as a string. |
|
string |
Yes |
ISO 4217 currency code for the accompanying amounts. |
|
string |
Yes |
Exact major-unit cart subtotal as a string; checkout and payment events exclude gift card lines. |
|
integer |
Yes |
Total quantity across the cart; checkout and payment events count only non-gift-card lines, which can be zero. |
|
integer |
Yes |
Number of distinct cart lines. |
|
string |
No |
Product or line title at event time. |
|
string |
No |
SKU captured at event time when available. |
|
array of value |
No |
Applied coupon projections when available. |
|
boolean |
No |
True when the line carries a file an app attached, such as the shopper's uploaded design. |
{
"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 |
|---|---|---|---|
|
string |
Yes |
Canonical mutation action. |
|
string |
No |
Originating workflow when the mutation came from another feature. |
|
integer |
Yes |
Stable product identifier. |
|
integer |
No |
Stable selected variant identifier when one applies. |
|
integer |
Yes |
Resulting line or item quantity. |
|
integer |
No |
Signed quantity change made by this mutation. |
|
string |
Yes |
Whether authoritative pricing was available for the mutation. |
|
string |
No |
Exact major-unit price for one unit as a string. |
|
string |
No |
Exact major-unit line total as a string. |
|
string |
Yes |
ISO 4217 currency code for the accompanying amounts. |
|
string |
Yes |
Exact major-unit cart subtotal as a string; checkout and payment events exclude gift card lines. |
|
integer |
Yes |
Total quantity across the cart; checkout and payment events count only non-gift-card lines, which can be zero. |
|
integer |
Yes |
Number of distinct cart lines. |
|
string |
No |
Product or line title at event time. |
|
string |
No |
SKU captured at event time when available. |
|
array of value |
No |
Applied coupon projections when available. |
|
boolean |
No |
True when the line carries a file an app attached, such as the shopper's uploaded design. |
{
"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 |
|---|---|---|---|
|
integer |
Yes |
Stable product identifier. |
|
integer |
No |
Stable selected variant identifier when one applies. |
|
string |
No |
Result of the wishlist operation. |
|
string |
No |
SKU captured at event time when available. |
|
string |
No |
Product or line title at event time. |
|
string |
No |
ISO 4217 currency code for the accompanying amounts. |
|
string |
No |
Exact major-unit decimal amount as a string. |
{
"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 |
|---|---|---|---|
|
integer |
Yes |
Stable product identifier. |
|
integer |
No |
Stable selected variant identifier when one applies. |
|
string |
No |
Result of the wishlist operation. |
|
string |
No |
SKU captured at event time when available. |
|
string |
No |
Product or line title at event time. |
|
string |
No |
ISO 4217 currency code for the accompanying amounts. |
|
string |
No |
Exact major-unit decimal amount as a string. |
{
"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 |
|---|---|---|---|
|
string |
Yes |
Exact major-unit cart subtotal as a string; checkout and payment events exclude gift card lines. |
|
string |
No |
Exact major-unit event value after applicable discounts. |
|
string |
Yes |
ISO 4217 currency code for the accompanying amounts. |
|
integer |
Yes |
Total quantity across the cart; checkout and payment events count only non-gift-card lines, which can be zero. |
|
array of object |
No |
Line-item snapshot included with the event. |
|
integer |
Yes |
Stable product identifier. |
|
integer |
No |
Stable selected variant identifier when one applies. |
|
string |
No |
SKU captured at event time when available. |
|
string |
No |
Product or line title at event time. |
|
integer |
Yes |
Resulting line or item quantity. |
|
string |
Yes |
Exact major-unit price for one unit as a string. |
|
string |
Yes |
Exact major-unit line total as a string. |
|
string |
No |
Unit amount converted into the store reporting currency. |
|
string |
No |
Line total converted into the store reporting currency. |
|
string |
No |
Unit price without tax and before order discounts, in the order currency. |
|
string |
No |
Order discount on the items without tax, in the order currency; shipping discounts excluded. |
{
"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 |
|---|---|---|---|
|
string |
Yes |
Stable Tringify order identifier. |
|
string |
No |
Merchant-facing order number when available. |
|
string |
Yes |
ISO 4217 currency code for the accompanying amounts. |
|
string |
Yes |
Exact major-unit event value after applicable discounts. |
|
string |
No |
Store reporting currency used for normalized reporting. |
|
string |
No |
Exact value converted into the store reporting currency. |
|
array of object |
No |
Line-item snapshot included with the event. |
|
integer |
Yes |
Stable product identifier. |
|
integer |
No |
Stable selected variant identifier when one applies. |
|
string |
No |
SKU captured at event time when available. |
|
string |
No |
Product or line title at event time. |
|
integer |
Yes |
Resulting line or item quantity. |
|
string |
Yes |
Exact major-unit price for one unit as a string. |
|
string |
Yes |
Exact major-unit line total as a string. |
|
string |
No |
Unit amount converted into the store reporting currency. |
|
string |
No |
Line total converted into the store reporting currency. |
|
string |
No |
Unit price without tax and before order discounts, in the order currency. |
|
string |
No |
Order discount on the items without tax, in the order currency; shipping discounts excluded. |
|
string |
No |
Exact total discount amount in the order currency. |
|
string |
No |
Exact shipping amount in the order currency. |
|
string |
No |
Exact tax amount in the order currency. |
|
boolean |
No |
Whether the order retained an eligible attribution touch. |
|
boolean |
No |
Whether the order's item prices include tax. |
|
string |
No |
Market the order was placed in. |
|
string |
No |
ISO 3166-1 alpha-2 country of the shipping address, or of the billing address when nothing ships. |
|
string |
No |
Language the order was placed in, such as fr or en-GB. Absent on orders placed before it was recorded. |
|
string |
No |
Order discount on the items without tax, in the order currency; shipping discounts excluded. |
|
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. |
|
string |
No |
Sales channel the order belongs to. |
|
string |
No |
Name of the order's sales channel, such as Online Store. |
{
"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 |
|---|---|---|---|
|
array of object |
Yes |
What the refund returned, one entry per refunded item or charge, with its tax share. |
|
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. |
|
string |
No |
Order item refunded, when type is item. |
|
string |
Yes |
What was refunded: item, shipping, cod_fee, checkout_fee, duty, or adjustment for an amount not tied to an item or charge. |
|
string |
No |
Checkout fee refunded, when type is checkout_fee. |
|
integer |
Yes |
Units returned with this refund; 0 when only money was returned. |
|
string |
Yes |
Money returned for this entry including tax, in the order currency. |
|
string |
Yes |
Money returned for this entry excluding tax, in the order currency. |
|
string |
Yes |
Tax returned for this entry, in the order currency. |
|
string |
Yes |
Money returned excluding tax, converted into the store reporting currency. |
|
string |
Yes |
Tax returned, converted into the store reporting currency. |
|
string |
Yes |
Rounding difference from converting this entry into the store reporting currency. |
|
array of object |
Yes |
Tax returned for this entry, one line per tax. |
|
string |
Yes |
Exact tax amount in the order currency. |
|
string |
Yes |
The refund tax share in store base currency, retained separately from gross refunded money. |
|
string |
Yes |
Refund money excluding its tax share, including non-tax adjustments. |
|
string |
Yes |
Stable Tringify order identifier. |
|
string |
No |
Stable refund transaction identifier. |
|
string |
Yes |
ISO 4217 currency code for the accompanying amounts. |
|
string |
Yes |
Exact major-unit event value after applicable discounts. |
|
string |
No |
Store reporting currency used for normalized reporting. |
|
string |
No |
Exact value converted into the store reporting currency. |
|
array of object |
No |
Line-item snapshot included with the event. |
|
integer |
Yes |
Stable product identifier. |
|
integer |
No |
Stable selected variant identifier when one applies. |
|
string |
No |
SKU captured at event time when available. |
|
string |
No |
Product or line title at event time. |
|
integer |
Yes |
Resulting line or item quantity. |
|
string |
Yes |
Exact major-unit price for one unit as a string. |
|
string |
Yes |
Exact major-unit line total as a string. |
|
string |
No |
Unit amount converted into the store reporting currency. |
|
string |
No |
Line total converted into the store reporting currency. |
|
string |
No |
Unit price without tax and before order discounts, in the order currency. |
|
string |
No |
Order discount on the items without tax, in the order currency; shipping discounts excluded. |
|
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. |
|
string |
No |
Sales channel the order belongs to. |
|
string |
No |
Name of the order's sales channel, such as Online Store. |
{
"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 |
|---|---|---|---|
|
string |
Yes |
Stable Tringify order identifier. |
|
string |
Yes |
ISO 4217 currency code for the accompanying amounts. |
|
string |
Yes |
Exact major-unit event value after applicable discounts. |
|
string |
No |
Store reporting currency used for normalized reporting. |
|
string |
No |
Exact value converted into the store reporting currency. |
|
array of object |
No |
Line-item snapshot included with the event. |
|
integer |
Yes |
Stable product identifier. |
|
integer |
No |
Stable selected variant identifier when one applies. |
|
string |
No |
SKU captured at event time when available. |
|
string |
No |
Product or line title at event time. |
|
integer |
Yes |
Resulting line or item quantity. |
|
string |
Yes |
Exact major-unit price for one unit as a string. |
|
string |
Yes |
Exact major-unit line total as a string. |
|
string |
No |
Unit amount converted into the store reporting currency. |
|
string |
No |
Line total converted into the store reporting currency. |
|
string |
No |
Unit price without tax and before order discounts, in the order currency. |
|
string |
No |
Order discount on the items without tax, in the order currency; shipping discounts excluded. |
|
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. |
|
string |
No |
Sales channel the order belongs to. |
|
string |
No |
Name of the order's sales channel, such as Online Store. |
{
"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 |
|---|---|---|---|
|
string |
Yes |
Stable recommendation placement identifier. |
|
array of integer |
Yes |
Stable product identifiers shown in the placement. |
|
string |
No |
Recommendation strategy identifier when available. |
{
"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 |
|---|---|---|---|
|
string |
Yes |
Stable recommendation placement identifier. |
|
integer |
Yes |
Stable product identifier. |
|
integer |
No |
Stable selected variant identifier when one applies. |
|
string |
No |
SKU captured at event time when available. |
{
"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 |
|---|---|---|---|
|
string |
Yes |
Authentication method used: email or phone. |
|
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). |
{
"provider": "email",
"surface": "account"
}
Customer registered (`customer_register`)#
A customer account was successfully created without exposing its identifier.
Field |
Type |
Required |
Description |
|---|---|---|---|
|
string |
Yes |
Authentication method used: email or phone. |
|
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). |
{
"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 |
|---|---|---|---|
|
string |
Yes |
Stable Tringify order identifier. |
|
string |
Yes |
Stable order edit identifier. |
|
integer |
Yes |
Order version the edit produced. |
|
string |
Yes |
ISO 4217 currency code for the accompanying amounts. |
|
string |
Yes |
Signed change in the order total made by the edit, in the order currency. |
|
string |
Yes |
Store reporting currency used for normalized reporting. |
|
string |
Yes |
Signed change in the order total converted into the store reporting currency. |
|
array of object |
No |
Line-item snapshot included with the event. |
|
integer |
Yes |
Stable product identifier. |
|
integer |
No |
Stable selected variant identifier when one applies. |
|
string |
No |
SKU captured at event time when available. |
|
string |
No |
Product or line title at event time. |
|
integer |
Yes |
Signed quantity change made by this mutation. |
|
string |
Yes |
Signed change in the line total, in the order currency. |
|
string |
Yes |
Signed change in the line total converted into the store reporting currency. |
|
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. |
|
string |
No |
Sales channel the order belongs to. |
|
string |
No |
Name of the order's sales channel, such as Online Store. |
{
"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 |
|---|---|---|---|
|
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). |
{
"surface": "website"
}
Contact form sent (`contact_submitted`)#
A shopper sent the storefront contact form. Nothing they typed is included.
Field |
Type |
Required |
Description |
|---|---|---|---|
|
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). |
{
"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 |
|---|---|---|---|
|
string |
Yes |
Exact major-unit cart subtotal as a string; checkout and payment events exclude gift card lines. |
|
string |
No |
Exact major-unit event value after applicable discounts. |
|
string |
Yes |
ISO 4217 currency code for the accompanying amounts. |
|
integer |
Yes |
Total quantity across the cart; checkout and payment events count only non-gift-card lines, which can be zero. |
|
array of object |
No |
Line-item snapshot included with the event. |
|
integer |
Yes |
Stable product identifier. |
|
integer |
No |
Stable selected variant identifier when one applies. |
|
string |
No |
SKU captured at event time when available. |
|
string |
No |
Product or line title at event time. |
|
integer |
Yes |
Resulting line or item quantity. |
|
string |
Yes |
Exact major-unit price for one unit as a string. |
|
string |
Yes |
Exact major-unit line total as a string. |
|
string |
No |
Unit amount converted into the store reporting currency. |
|
string |
No |
Line total converted into the store reporting currency. |
|
string |
No |
Unit price without tax and before order discounts, in the order currency. |
|
string |
No |
Order discount on the items without tax, in the order currency; shipping discounts excluded. |
|
string |
Yes |
How the shopper chose to pay: online, cod, gift_card or store_credit. |
|
string |
No |
Stable Tringify order identifier. |
{
"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 |
|---|---|---|---|
|
array of string |
Yes |
Each customer group the page's sections targeted, as |
{
"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 |
|---|---|---|---|
|
string |
Yes |
Stable blog post identifier. |
|
string |
Yes |
Localized public handle for the resource. |
|
string |
No |
Product or line title at event time. |
|
string |
Yes |
approved when the submission is live on the storefront, pending when it waits for the merchant's approval. |
{
"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 |
|---|---|---|---|
|
integer |
Yes |
Stable product identifier. |
|
string |
No |
SKU captured at event time when available. |
|
string |
No |
Product or line title at event time. |
|
integer |
Yes |
Star rating from 1 to 5. |
|
string |
Yes |
approved when the submission is live on the storefront, pending when it waits for the merchant's approval. |
{
"product_id": 4821,
"rating": 5,
"sku": "CANVAS-A4",
"status": "approved",
"title": "Canvas Print"
}