Skip to content

Commit 79d8b9e

Browse files
committed
Split out product properties
1 parent 2a79342 commit 79d8b9e

File tree

1 file changed

+44
-42
lines changed
  • src/connections/sources/catalog/libraries/website/shopify-littledata

1 file changed

+44
-42
lines changed

src/connections/sources/catalog/libraries/website/shopify-littledata/index.md

Lines changed: 44 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ Here's an architecture diagram that shows how the Littledata app mediates data f
3737

3838
Below is a table of events that **Shopify by Littledata** sends to Segment through the analytics.js libary. These events will show up as tables in your warehouse, and as regular events in your other Destinations supporting device-mode.
3939

40-
4140
| Event Name | Description |
4241
| --------------------- | --------------------------------------------------------------------- |
4342
| Page Viewed | The user has viewed a page |
@@ -46,7 +45,6 @@ Below is a table of events that **Shopify by Littledata** sends to Segment throu
4645
| Product Viewed | The user has viewed a product page |
4746
| Product Image Clicked | The user has clicked a product image |
4847

49-
5048
In addition to the events tracked as standard, the following hits can be tracked based on page path:
5149

5250
| Event Name | Description |
@@ -56,7 +54,6 @@ In addition to the events tracked as standard, the following hits can be tracked
5654
| Blog Viewed | A prospect has viewed the blog |
5755
| Registration Completed | A prospect has completed registration |
5856

59-
6057
## Cloud-mode events
6158

6259
Below is a table of events that **Shopify by Littledata** sends to Segment from Littledata's servers. These events appear as tables in your warehouse, and as regular events in your other Destinations that support cloud-mode. They include the `anonymousId` that links them to the device-mode events where the event was part of a previous user session, or associated with a `userId` that was previously linked with an `anonymousId`. See Littledata's [troubleshooting guide on attribution](https://blog.littledata.io/help/posts/troubleshooting-marketing-attribution-for-shopify/) for more details.
@@ -76,7 +73,6 @@ Below is a table of events that **Shopify by Littledata** sends to Segment from
7673
| Customer Enabled (v2) | A user has confirmed their email address and created a Shopify customer account with verified_email set as true |
7774
| Fulfilment Update (v2) | An order fulfilment status has changed (including status, tracking_numbers and tracking_urls where the shipping integration allows) |
7875

79-
8076
## Identify calls
8177

8278
For every event where there is an identifiable Shopify customer (from both the device-mode and cloud-mode) Littledata also sends an Identify call. This happens when the customer logs into the storefront, on the last step of the checkout, with the order, and also after purchase with any customer update in Shopify admin.
@@ -100,7 +96,6 @@ The following traits are included with an Identify call:
10096
| `state` | Whether the customer account is enabled or disabled | String |
10197
| `verified_email` (v2) | Whether the customer has verified their email | Boolean |
10298

103-
10499
## Alias calls
105100

106101
To support seamless customer tracking the [Mixpanel](/docs/connections/destinations/catalog/mixpanel/#alias), [Vero](/docs/connections/destinations/catalog/vero/#alias) and [KISSMetrics](docs/connections/destinations/catalog/kissmetrics/#alias) destinations, Littledata ensures the pre-checkout `anonymousId`is added as an alias of the `userId` (used from checkout step 2 onwards).
@@ -120,43 +115,50 @@ Additional events available through Littledata's [ReCharge connection](https://w
120115
| Payment Method Updated | A customer has updated the payment method |
121116
| Customer Update | A customer information updated |
122117

123-
## Event Properties
118+
## Event properties
124119

125120
The list below outlines the properties included in the events listed above.
126121

127-
| Property | Description | Property Type |
128-
| --------------------------------- | ---------------------------------------------------------------------- | ------------- |
129-
| `userId` | A Shopify Customer ID (after checkout step 2) | Double |
130-
| `email` | A Shopify email address (after checkout step 2) | String |
131-
| `order_id` | The ID of the order | String |
132-
| `checkoutId` | The ID of the checkout session | String |
133-
| `shipping` | The shipping cost | Float |
134-
| `tax` | The amount of tax on the order | Float |
135-
| `total` | The total value of the order | Float |
136-
| `affiliation` | The affiliation of the order | String |
137-
| `coupon` | A discount coupon, if applicable | String |
138-
| `currency` | The currency of the order | String |
139-
| `discount` | The discounted amount | Float |
140-
| `products` | A list of all the product details | Array |
141-
| `category` | The category of the product | String |
142-
| `brand` | The brand of the product | String |
143-
| `list_id` | The ID of the product collection | String |
144-
| `list_name` | The name of the product collection | String |
145-
| `list_position` | The product position in the collection | Integer |
146-
| `name` | The product name | String |
147-
| `price` | The product price | Float |
148-
| `product_id` | The Shopify product ID (also called shopify_product_id on client side) | String |
149-
| `sku` | The product SKU | String |
150-
| `variant` | The product variant name | String |
151-
| `variants` | A property that holds product variant IDs and SKUs | String |
152-
| `shopify_variant_id` | The Shopify variant ID | String |
153-
| `quantity` | The quantity of the related product on the order | Integer |
154-
| `step` | The checkout step | Integer |
155-
| `paymentMethod` | The payment method chosen for checkout | String |
156-
| `shipping_method` | The shipping method chosen for checkout | String |
157-
| context.Google Analytics.clientId | The user's Google Analytics Client ID | String |
158-
| context.Google Analytics.geoid | The user's location | String |
159-
| `context.uip` | The user's IP address | String |
160-
| `sent_from` | A unique property to identify events sent by Littledata | String |
161-
| `presentment_currency` | The user's local currency | String |
162-
| `presentment_total` | The order total in local currency | String |
122+
| Property | Description | Property Type |
123+
| -------------------------------------- | ------------------------------------------------------- | ------------- |
124+
| `userId` | A Shopify Customer ID (after checkout step 2) | Double |
125+
| `email` | A Shopify email address (after checkout step 2) | String |
126+
| `order_id` | The ID of the order | String |
127+
| `checkoutId` | The ID of the checkout session | String |
128+
| `shipping` | The shipping cost | Float |
129+
| `tax` | The amount of tax on the order | Float |
130+
| `total` | The total value of the order | Float |
131+
| `affiliation` | The affiliation of the order | String |
132+
| `coupon` | A discount coupon, if applicable | String |
133+
| `currency` | The currency of the order | String |
134+
| `discount` | The discounted amount | Float |
135+
| `products` | A list of all the product at that step of the funnel | Array |
136+
| `step` | The checkout step | Integer |
137+
| `paymentMethod` | The payment method chosen for checkout | String |
138+
| `shipping_method` | The shipping method chosen for checkout | String |
139+
| `context['Google Analytics'].clientId` | The user's Google Analytics Client ID | String |
140+
| `context['Google Analytics'].geoid` | The user's location | String |
141+
| `context.uip` | The user's IP address | String |
142+
| `sent_from` | A unique property to identify events sent by Littledata | String |
143+
| `presentment_currency` | The user's local currency | String |
144+
| `presentment_total` | The order total in local currency | String |
145+
146+
## Product properties
147+
148+
Each item in the `products` array may have the following properties:
149+
150+
| Property | Description | Property Type |
151+
| -------------------- | ------------------------------------------------ | ------------- |
152+
| `product_id` | The Shopify product ID | String |
153+
| `shopify_product_id` | Also Shopify product ID, with device-mode events | String |
154+
| `sku` | The product SKU | String |
155+
| `variant` | The product variant name | String |
156+
| `shopify_variant_id` | The Shopify variant ID | String |
157+
| `category` | The category of the product (defaults to `all`) | String |
158+
| `brand` | The brand of the product | String |
159+
| `list_id` | The ID of the product collection | String |
160+
| `list_name` | The name of the product collection | String |
161+
| `list_position` | The product position in the collection | Integer |
162+
| `name` | The product name | String |
163+
| `price` | The product price | Float |
164+
| `quantity` | The quantity of products | Integer |

0 commit comments

Comments
 (0)