You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/connections/sources/catalog/libraries/website/shopify-littledata/index.md
+52-46Lines changed: 52 additions & 46 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,8 @@ Littledata is available as an independent [Shopify App](https://apps.shopify.com
14
14
15
15
2. The app also sets up server-side webhook forwarding to ensure 100% accuracy of important Customer and Order data.
16
16
17
+
This source has a full [tracking plan and event schema](https://docs.google.com/spreadsheets/d/1JOlgpXpQ7ctktES6B_RyKn0_KxanxGF6) in Google Sheets, which is ready to [upload into Protocols](/docs/protocols/apis-and-extensions/#google-sheets-tracking-plan-uploader).
18
+
17
19
Here's an architecture diagram that shows how the Littledata app mediates data flow between Shopify and Segment.
18
20
19
21

@@ -53,7 +55,7 @@ Below is a table of events that **Shopify by Littledata** sends to Segment throu
53
55
| Thank you Page Viewed | A user has viewed the thank you page after completing an order\*|
54
56
55
57
> note ""
56
-
> \*This is less reliable than the de-duplicated `Order Completed` event sent from the Littledata servers, but you can use it in device-mode destinations to trigger a conversion. The `payment_method` and `shipping_method` properties are not available with this event.
58
+
> *This is less reliable than the de-duplicated `Order Completed` event sent from the Littledata servers, but you can use it in device-mode destinations to trigger a conversion. The `payment_method` and `shipping_method` properties are not available with this event.
57
59
58
60
## Cloud-mode events
59
61
@@ -94,22 +96,26 @@ For every event where there is an identifiable Shopify customer (from both the d
94
96
95
97
The following traits are included with an Identify call:
|`address`| The customer's primary address | String |
100
-
|`createdAt`| The date customer record was created | Date |
101
-
|`customerLifetimeValue`| The total spend of customer on the Shopify store | Double |
102
-
|`description`| The customer notes | String |
103
-
|`email`| The customer's email address | String |
104
-
|`firstName`| The customer's first name | String |
105
-
|`lastName`| The customer's email | String |
106
-
|`marketingOptIn`| The `marketing_opt_in` field from [Shopify customer](https://shopify.dev/docs/admin-api/rest/reference/customers/customer?api[version]=2020-04)| String |
107
-
|`phone`| The customer's phone number | String |
108
-
|`purchaseCount`| The number of orders by this customer | Integer |
109
-
|`state`| Whether the customer account is enabled or disabled | String |
110
-
|`tags`| The custom tags [applied to the customer](https://shopify.dev/docs/admin-api/rest/reference/customers/customer?api[version]=2020-04)| String |
111
-
|`userId`| Chosen user identifier, defaulting to Shopify Customer ID | Double |
112
-
|`verified_email` (v2) | Whether the customer has verified their email | Boolean |
|`createdAt`| The date customer record was created | Date |
102
+
|`customerLifetimeValue`| The total spend of customer on the Shopify store | Double |
103
+
|`default_address.street`| The customer's default street address | String |
104
+
|`default_address.city`| The customer's city address | String |
105
+
|`default_address.postalCode`| The customer's ZIP / post code | String |
106
+
|`default_address.state`| The customer's state address | String |
107
+
|`default_adress.country`| The customer's country | String |
108
+
|`description`| The customer notes | String |
109
+
|`email`| The customer's email address | String |
110
+
|`firstName`| The customer's first name | String |
111
+
|`lastName`| The customer's last name | String |
112
+
|`marketingOptIn`| The `marketing_opt_in` field from [Shopify customer](https://shopify.dev/docs/admin-api/rest/reference/customers/customer)| String |
113
+
|`phone`| The customer's phone number | String |
114
+
|`purchaseCount`| The number of orders by this customer | Integer |
115
+
|`state`| Whether the customer account is `enabled` (user has opted in) or `disabled`| String |
116
+
|`tags`| The custom tags [applied to the customer](https://shopify.dev/docs/admin-api/rest/reference/customers/customer)| String |
117
+
|`userId`| Chosen user identifier, defaulting to Shopify Customer ID | Double |
118
+
|`verified_email` (v2) | Whether the customer has verified their email | Boolean |
113
119
114
120
## Support for Google Analytics destination
115
121
@@ -141,36 +147,36 @@ Additional events available through Littledata's [ReCharge connection](https://w
141
147
142
148
The list below outlines the properties included in the events listed above.
|`sent_from`| A unique property to identify events sent by Littledata | String |
169
+
|`shipping_method`| The shipping method chosen for checkout | String |
170
+
|`shipping`| The shipping cost | Float |
171
+
|`step`| The checkout [step number](https://blog.littledata.io/help/posts/shopify-checkout-funnel-updates/)| Integer |
172
+
|`subscription_revenue`| The revenue associated with a [Subscription Event](#subscription-events)| Float |
173
+
|`subtotal`| Order total after discounts but before taxes and shipping | Float |
174
+
|`tax`| The amount of tax on the order | Float |
175
+
|`total`| The total value of the order | Float |
176
+
|`userId`| Chosen user identifier, defaulting to Shopify Customer ID | String |
171
177
172
178
> note ""
173
-
> \*`revenue` is available only with the Order Completed event, and only if the store opts in via the Littledata application. Revenue is a reserved property in many Segment destinations. Opting in will override the `total` property sent to Google Analytics.
179
+
> *`revenue` is available only with the Order Completed event, and only if the store opts in via the Littledata application. Revenue is a reserved property in many Segment destinations. Opting in will override the `total` property sent to Google Analytics.
174
180
175
181
## Product properties
176
182
@@ -204,7 +210,7 @@ You can edit the LittledataLayer object in your Shopify theme to manually change
204
210
205
211
### cookiesToTrack
206
212
207
-
You can send any cookie set on a landing page (for example, a session identifier or marketing campaign name) to Segment with an Identify call. A common use is to pass Iterable `campaignId` and `templateId` through to the [Order Completed event](https://support.iterable.com/hc/en-us/articles/204795719-Sending-Data-from-Segment-to-Iterable-#order-completed).
213
+
You can send any cookie set on a landing page (for example, a session identifier or marketing campaign name) to Segment with an Identify call. A common use is to set the array as `['iterableEmailCampaignId', 'iterableTemplateId']` to pass Iterable `campaignId` and `templateId` through to the [Order Completed event](https://support.iterable.com/hc/en-us/articles/204795719-Sending-Data-from-Segment-to-Iterable-#order-completed).
0 commit comments