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
+30-30Lines changed: 30 additions & 30 deletions
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ id: V8ji9rWzoS
7
7
8
8
<!-- LR Note: the working copy of the source catalog YML we built on showed this in the `website` source though as of Nov 18 it's labeled cloud-source -->
9
9
10
-
Littledata's [Shopify to Segment connection](https://help.littledata.io/posts/segment-overview/){:target="\_blank"} uses a combination of client-side (browser) and server-side tracking to ensure 100% accurate data about your Shopify store in Segment. Littledata automatically integrates with Shopify and Shopify Plus sites to capture every customer touchpoint, including sales, marketing, customer and product performance data.
10
+
Littledata's [Shopify to Segment connection](https://help.littledata.io/posts/segment-overview/){:target="\_blank"} uses a combination of client-side (browser) and server-side tracking to ensure 100% accurate data about your Shopify store in Segment. Littledata automatically integrates with Shopify and Shopify Plus sites to capture every customer touch point, including sales, marketing, customer and product performance data.
11
11
12
12
Littledata is available as an independent [Shopify App](https://apps.shopify.com/segment-com-by-littledata){:target="\_blank"}.
13
13
@@ -33,15 +33,15 @@ During the Segment connection setup, Littledata also adds a set of webhooks to y
33
33
34
34
Here's an architecture diagram that shows how the Littledata app mediates data flow between Shopify and Segment.
35
35
36
-

36
+

37
37
38
38
> warning "Note"
39
39
> This integration is maintained by Littledata _and isn't supported by Segment directly_. The Littledata app has been reviewed by the Segment team for conformance with Segment's [E-Commerce Spec](/docs/connections/spec/ecommerce/v2/), and is the recommended way of using Segment with Shopify. However, it does require a paid subscription with Littledata, who mediates the connection between Shopify and Segment. [Contact the Littledata Support team](mailto:help@littledata.io) with any questions.
40
40
41
41
## Getting Started
42
42
43
43
1.**Log in** to your Shopify Store account.
44
-
2. Go the [Shopify app store listing](https://apps.shopify.com/segment-com-by-littledata){:target="_blank"} for **Segment.com by Littledata**.
44
+
2. Go the [Shopify app store listing](https://apps.shopify.com/segment-com-by-littledata){:target="\_blank"} for **Segment.com by Littledata**.
45
45

46
46
3. Click **Add app** to begin the installation process.
47
47
4.**Choose a Littledata subscription** suitable for your store's volume of monthly orders.
@@ -78,7 +78,7 @@ Below is a table of events that **Shopify by Littledata** sends to Segment throu
78
78
79
79
You can _opt out_ of device-mode pageviews or events by setting `disableClientSideEvents: true` or `disablePageviews: true` in the `LittledataLayer` settings.
80
80
81
-
The source also respects [GDPR-compliant cookie](https://blog.littledata.io/2021/06/18/shopify-cookie-banner-gdpr-compliance/) consent via Shopify's cookie banner, or popular consent management platforms such as [OneTrust](https://help.littledata.io/help/integrating-onetrust-with-shopify/) and [TrustArc](https://help.littledata.io/posts/integrating-trustarc-with-shopify/).
81
+
The source also respects [GDPR-compliant cookie](https://blog.littledata.io/2021/06/18/shopify-cookie-banner-gdpr-compliance/) consent through Shopify's cookie banner, or popular consent management platforms such as [OneTrust](https://help.littledata.io/help/integrating-onetrust-with-shopify/) and [TrustArc](https://help.littledata.io/posts/integrating-trustarc-with-shopify/).
82
82
83
83
## Cloud-mode events
84
84
@@ -119,31 +119,31 @@ For every event where there is an identifiable Shopify customer (from both the d
119
119
120
120
The following traits are included with an Identify call:
|`accepts_marketing`| Whether the customer has accepted marketing | Boolean |
125
-
|`createdAt`| The date customer record was created | Date |
126
-
|`customerLifetimeValue`| The total spend of customer on the Shopify store | Double |
127
-
|`default_address.street`| The customer's default street address | String |
128
-
|`default_address.city`| The customer's city address | String |
129
-
|`default_address.postalCode`| The customer's ZIP / post code | String |
130
-
|`default_address.state`| The customer's state address | String |
131
-
|`default_adress.country`| The customer's country | String |
132
-
|`description`| The customer notes | String |
133
-
|`email`| The customer's email address | String |
134
-
|`firstName`| The customer's first name | String |
135
-
|`lastName`| The customer's last name | String |
136
-
|`marketingOptIn`| The `marketing_opt_in` field from [Shopify customer](https://shopify.dev/docs/admin-api/rest/reference/customers/customer)| String |
137
-
|`phone`| The customer's phone number | String |
138
-
|`purchaseCount`| The number of orders by this customer | Integer |
139
-
|`state`| The Shopify [customer state](https://shopify.dev/api/admin-graphql/2022-07/enums/customerstate){:target="_blank"}. This can be `enabled`, `disabled`, `invited` to create an account, or customer `declined`| String |
140
-
|`tags`| The custom tags [applied to the customer](https://shopify.dev/docs/admin-api/rest/reference/customers/customer)| String |
141
-
|`userId`| Chosen user identifier, defaulting to Shopify Customer ID | Double |
142
-
|`verified_email` (v2) | Whether the customer has verified their email | Boolean |
|`accepts_marketing`| Whether the customer has accepted marketing | Boolean |
125
+
|`createdAt`| The date customer record was created | Date |
126
+
|`customerLifetimeValue`| The total spend of customer on the Shopify store | Double |
127
+
|`default_address.street`| The customer's default street address | String |
128
+
|`default_address.city`| The customer's city address | String |
129
+
|`default_address.postalCode`| The customer's ZIP / post code | String |
130
+
|`default_address.state`| The customer's state address | String |
131
+
|`default_adress.country`| The customer's country | String |
132
+
|`description`| The customer notes | String |
133
+
|`email`| The customer's email address | String |
134
+
|`firstName`| The customer's first name | String |
135
+
|`lastName`| The customer's last name | String |
136
+
|`marketingOptIn`| The `marketing_opt_in` field from [Shopify customer](https://shopify.dev/docs/admin-api/rest/reference/customers/customer)| String |
137
+
|`phone`| The customer's phone number | String |
138
+
|`purchaseCount`| The number of orders by this customer | Integer |
139
+
|`state`| The Shopify [customer state](https://shopify.dev/api/admin-graphql/2022-07/enums/customerstate){:target="\_blank"}. This can be `enabled`, `disabled`, `invited` to create an account, or customer `declined`| String |
140
+
|`tags`| The custom tags [applied to the customer](https://shopify.dev/docs/admin-api/rest/reference/customers/customer)| String |
141
+
|`userId`| Chosen user identifier, defaulting to Shopify Customer ID | Double |
142
+
|`verified_email` (v2) | Whether the customer has verified their email | Boolean |
143
143
144
144
## Support for Google Analytics destination
145
145
146
-
All events (device-mode and cloud-mode) contain the Google Analytics `clientId` field where known. This allows the [Google Analytics destination](/docs/connections/destinations/catalog/google-analytics/#supported-sources-and-connection-modes) to be configured in cloud-mode only, so all client side events are relayed via Segment's servers - reducing the scripts needed on your website.
146
+
All events (device-mode and cloud-mode) contain the Google Analytics `clientId` field where known. This allows the [Google Analytics destination](/docs/connections/destinations/catalog/google-analytics/#supported-sources-and-connection-modes) to be configured in cloud-mode only, so all client side events are relayed through Segment's servers - reducing the scripts needed on your website.
147
147
148
148
## Support for email marketing destinations
149
149
@@ -194,15 +194,15 @@ The list below outlines the properties included in most events. See the 'Track (
194
194
|`sent_from`| A unique property to identify events sent by Littledata | String |
195
195
|`shipping_method`| The shipping method chosen for checkout | String |
196
196
|`shipping`| The shipping cost | Float |
197
-
|`source_name`| The source of the order or checkout (e.g.`web`, `android`, `pos`) | String |
197
+
|`source_name`| The source of the order or checkout (like`web`, `android`, `pos`) | String |
198
198
|`step`| The checkout [step number](https://help.littledata.io/posts/shopify-checkout-funnel-updates/)| Integer |
199
199
|`subscription_revenue`| The revenue associated with a [Subscription Event](#subscription-events)| Float |
200
200
|`subtotal`| Order total after discounts but before taxes and shipping | Float |
201
201
|`tax`| The amount of tax on the order | Float |
202
202
|`total`| The total value of the order | Float |
203
203
|`userId`| Chosen user identifier, defaulting to Shopify Customer ID | String |
204
204
205
-
> note "" \*`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.
205
+
> note "" \*`revenue` is available only with the Order Completed event, and only if the store opts in through the Littledata application. Revenue is a reserved property in many Segment destinations. Opting in will override the `total` property sent to Google Analytics.
206
206
207
207
## Product properties
208
208
@@ -232,9 +232,9 @@ Each item in the `products` array, or Product Viewed and Product Added events, w
232
232
233
233
## Import all orders
234
234
235
-
With an [annual Littledata Plus plan](https://www.littledata.io/app/enterprise){:target="\_blank"} you can import all Shopify orders and refunds from before you started using Segment, to sync with destinations that support timestamped events (for example, a data warehouse). This enables you to build a complete customer history in your chosen destination.
235
+
With an [annual Littledata Plus plan](https://www.littledata.io/app/enterprise){:target="_blank"} you can import all Shopify orders and refunds from before you started using Segment, to sync with destinations that support timestamped events (for example, a data warehouse). This enables you to build a complete customer history in your chosen destination.
236
236
237
-
This data import includse all the [event properties](#event-properties) usually sent with an `Order Completed` event, including the [customer traits](#identify-calls).
237
+
This data import includes all the [event properties](#event-properties) usually sent with an `Order Completed` event, including the [customer traits](#identify-calls).
0 commit comments