Skip to content

Commit 6bd0522

Browse files
authored
Merge pull request #1721 from segmentio/jenskene-patch-2
Not all destinations support arrays as properties
2 parents ae4684a + 0902932 commit 6bd0522

File tree

1 file changed

+32
-7
lines changed
  • src/connections/spec/ecommerce

1 file changed

+32
-7
lines changed

src/connections/spec/ecommerce/v2.md

Lines changed: 32 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ title: 'Spec: V2 Ecommerce Events'
44

55
Segment's e-commerce spec helps define the journey for a customer as they browse your store, click on promotions, view products, add those products to a cart, and complete a purchase.
66

7-
**Note:** Not all destinations support every event listed here. Refer to individual destination docs for more information on supported events and properties.
7+
> info "Note"
8+
> Not all destinations support every event listed here and accept arrays as properties. Refer to individual destination docs for more information on supported events and properties.
89
910
## Event Lifecycles
1011

@@ -117,7 +118,10 @@ analytics.track('Products Searched', {
117118

118119
### Product List Viewed
119120

120-
Fire this event when a visitor views a product list or category.
121+
Fire this event when a visitor views a product list or category.
122+
123+
> info "Note"
124+
> Not all destinations accept arrays as properties. Refer to individual destination docs for more information on supported events and properties.
121125
122126
This event supports the following semantic properties:
123127

@@ -240,7 +244,10 @@ analytics.track('Product List Viewed', {
240244

241245
### Product List Filtered
242246

243-
Send this event when a visitor filters a product list or category.
247+
Send this event when a visitor filters a product list or category.
248+
249+
> info "Note"
250+
> Not all destinations accept arrays as properties. Refer to individual destination docs for more information on supported events and properties.
244251
245252
This event supports the following semantic properties:
246253

@@ -933,7 +940,10 @@ analytics.track('Product Removed', {
933940

934941
### Cart Viewed
935942

936-
Fire this event when a visitor views a shopping cart.
943+
Fire this event when a visitor views a shopping cart.
944+
945+
> info "Note"
946+
> Not all destinations accept arrays as properties. Refer to individual destination docs for more information on supported events and properties.
937947
938948
This event supports the following semantic properties:
939949

@@ -1044,7 +1054,10 @@ analytics.track('Cart Viewed', {
10441054

10451055
### Checkout Started
10461056

1047-
Fire this event whenever an order/transaction was started. Fire on the page that the customer lands on after they press the checkout button.
1057+
Fire this event whenever an order/transaction was started. Fire on the page that the customer lands on after they press the checkout button.
1058+
1059+
> info "Note"
1060+
> Not all destinations accept arrays as properties. Refer to individual destination docs for more information on supported events and properties.
10481061
10491062
Be sure to **include all items in the cart as event properties**, with the same properties from the previous calls, like so:
10501063

@@ -1364,7 +1377,10 @@ You can have as many or as few steps in the checkout funnel as you'd like. Note
13641377

13651378
### Order Updated
13661379

1367-
Fire this event whenever an order/transaction was updated.
1380+
Fire this event whenever an order/transaction was updated.
1381+
1382+
> info "Note"
1383+
> Not all destinations accept arrays as properties. Refer to individual destination docs for more information on supported events and properties.
13681384
13691385
Be sure to **include all items in the cart as event properties**, with the same properties from the previous calls, like so:
13701386

@@ -1532,7 +1548,10 @@ The `sku` and `product_id` do not have to be different. If they are different, t
15321548

15331549
### Order Completed
15341550

1535-
Fire this event whenever an order/transaction was successfully completed by the customer.
1551+
Fire this event whenever an order/transaction was successfully completed by the customer.
1552+
1553+
> info "Note"
1554+
> Not all destinations accept arrays as properties. Refer to individual destination docs for more information on supported events and properties.
15361555
15371556
Be sure to **include all items in the cart as event properties**, with the same properties from the previous calls, like so:
15381557

@@ -1767,6 +1786,9 @@ analytics.track('Order Refunded', {
17671786

17681787
Fire this event whenever an order/transaction was cancelled.
17691788

1789+
> info "Note"
1790+
> Not all destinations accept arrays as properties. Refer to individual destination docs for more information on supported events and properties.
1791+
17701792
Be sure to **include all items in the cart as event properties**, with the same properties from the previous calls.
17711793

17721794
This event supports the following semantic properties:
@@ -2562,6 +2584,9 @@ analytics.track('Product Shared', {
25622584

25632585
Fire this event when a customer shares a shopping cart.
25642586

2587+
> info "Note"
2588+
> Not all destinations accept arrays as properties. Refer to individual destination docs for more information on supported events and properties.
2589+
25652590
This event supports the following semantic properties:
25662591

25672592
<table>

0 commit comments

Comments
 (0)