Skip to content

Commit 9aa8114

Browse files
Merge pull request segmentio#2354 from edwardupton/littledata-docs-update
Update Shopify connection overview
2 parents c47970d + fe0996f commit 9aa8114

File tree

1 file changed

+23
-7
lines changed
  • src/connections/sources/catalog/libraries/website/shopify-littledata

1 file changed

+23
-7
lines changed

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

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,29 @@ redirect_from:
66

77
<!-- 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 -->
88

9-
Littledata is a smart analytics app that automates e-commerce tracking. Littledata's [Shopify-to-Segment connection](https://blog.littledata.io/help/posts/segment-overview/?utm_source=segmentio&utm_medium=docs&utm_campaign=partners){:target="_blank"} automatically tracks key e-commerce events on a Shopify or Shopify Plus store, so you can use Shopify as a source in your Segment workspace.
9+
Littledata's [Shopify to Segment connection](https://blog.littledata.io/help/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.
1010

11-
Littledata is available as an independent [Shopify App](https://apps.shopify.com/segment-com-by-littledata){:target="_blank"}. When you install the Littledata app on your store, Littledata does two things:
11+
Littledata is available as an independent [Shopify App](https://apps.shopify.com/segment-com-by-littledata).
1212

13-
1. It inserts a smart tracking script to your store's front end. You can use this script with any Shopify site, and uses Analytics.js under the hood to send data in a spec-compliant manner to Segment.
13+
#### Client-side (device mode) tracking
1414

15-
2. The app also sets up server-side webhook forwarding to ensure 100% accuracy of important Customer and Order data.
15+
During the [installation process](https://blog.littledata.io/help/posts/segment-installation-guide/), Littledata adds a `LittledataLayer.liquid` snippet to all pages (included in `theme.liquid`) on your Shopify store. The benefits of this approach include:
16+
17+
- Segment's analytics.js V1 library is loaded on all pages, except for the checkout
18+
- Includes a LittledataLayer data layer for all pages
19+
- Loads a minified tracking script, hosted on a content delivery network (CDN)
20+
- Enables sending of device-mode ecommerce events to all Segment destinations
21+
- Segment's anonymous ID and Google Analytics' client ID is passed to our servers to ensure consistent user journey tracking
22+
23+
#### Server-side (cloud mode) tracking
24+
25+
During the Segment connection setup, Littledata also adds a set of webhooks to your Shopify store. When a customer interacts with your store these changes are relayed server-side from Shopify to Littledata to Segment. The advantages to this approach are:
26+
27+
- 100% event capture for adds to cart, checkout steps, sales and refunds/returns
28+
- Customer data (e.g. email) securely relayed server-side
29+
- No extra scripts on the sensitive and secure checkout pages
30+
- Accurate marketing attribution, even when customers use ad-blockers or cookie opt-outs
31+
- Supports cloud-mode destinations such as [Facebook Conversions API](/docs/connections/destinations/catalog/facebook-pixel-server-side/)
1632

1733
Here's an architecture diagram that shows how the Littledata app mediates data flow between Shopify and Segment.
1834

@@ -90,7 +106,7 @@ Below is a table of events that **Shopify by Littledata** sends to Segment from
90106
In the Littledata application you can choose which of the following fields you want to send as the `userId` for known customers:
91107

92108
- **Shopify customer ID** (default) - Recommended if you have a simple Shopify setup with minimal integrations.
93-
- **Hashed email** - The MD5 email hash is useful if you have other marketing platforms sending traffic where you know the email of the visitor (e.g. email marketing like Bronto or Marketo), but not their Shopify customer ID.
109+
- **Hashed email** - The MD5 email hash is useful if you have other marketing platforms sending traffic where you know the email of the visitor (e.g. email marketing like Bronto or Marketo), but not their Shopify customer ID. We use an unsalted MD5 hash (\`createHash\` method) to match your other sources.
94110
- **Email** - The email identifier is recommended when other platforms use the email and can’t hash it, and you are comfortable with the privacy implications.
95111
- **None** (no identifier) - Choose “none” if user identity is already handled by your Segment implementation and you only need the extra events powered by Littledata's Shopify source.
96112

@@ -218,9 +234,9 @@ Each item in the `products` array, or Product Viewed and Product Added events, w
218234

219235
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.
220236

221-
## Advanced Device-mode settings
237+
## Advanced settings
222238

223-
You can edit the LittledataLayer object in your Shopify theme to manually change these advanced settings. For more information, see the [Shopify tracker GitHub repository](https://github.com/littledata/shopify-tracker#segment-configuration){:target="_blank"}.
239+
You can edit these data pipeline settings within Littledata's app.
224240

225241
### cookiesToTrack
226242

0 commit comments

Comments
 (0)