Shopify (by Littledata) Source

Littledata is a smart analytics app that automates ecommerce tracking. Littledata’s Shopify-to-Segment connection automatically tracks key ecommerce events on a Shopify or Shopify Plus store, so you can use Shopify as a source in your Segment workspace.

Littledata uses a smart tracking script that can be applied to any Shopify site. The app uses server-side tracking to ensure 100% accuracy, gathering data at every customer touch point.

This integration is maintained by Littledata. Please reach out to their team with any questions.

Getting Started

  1. Login to your Shopify Store account.
  2. Go the Shopify app store listing for Segment by Littledata.
  3. Click Add app to begin the installation process.
  4. Sign up for a Littledata account using an email address, Google login or Facebook login. More team members can be added to the subscription after completing the installation process.
  5. Add the Segment write key for the source that is going to send data in the input field.
  6. Choose either an Automatic or a Manual install. Automatic installs work in most instances, but if you choose to do a manual install, just follow this guide.
  7. Segment’s analytics.js library, Littledata tracking script and webhooks will be automatically applied to the store and the installation proccess will then be complete.

Events

Below is a table of events that Shopify by Littledata sends to Segment. These events will show up as tables in your warehouse, and as regular events in your other Destinations. Shopify by Littledata will send through the userId if available.

Event NameDescription
Page ViewedProspect has viewed a page
Product List ViewedProspect has viewed a product collection page
Product ClickedProspect has clicked a product
Product ViewedProspect has viewed a product
Product AddedProspect has added a product to the cart
Product RemovedProspect has removed a product from the cart
Checkout StartedProspect has started checkout
Checkout Step CompletedProspect has completed a step in the checkout
Payment Info EnteredProspect has entered payment info
Order CompletedProspect has completed an order
Order RefundedOrder has been refunded

In addition to the events tracked as standard, the following hits can be tracked based on page path:
Event NameDescription
Registration ViewedProspect has viewed the registration page
Cart ViewedProspect has viewed the cart
Blog ViewedProspect has viewed the blog
Registration CompletedProspect has completed registration

Event Properties

Below are tables outlining the properties included in the events listed above.

Property NameDescription
eventEvent name
anonymousIdProspect Google Analytics client ID
userIdProspect ID
order_idID of the order
checkoutIdID of the checkout session
revenueRevenue of the order
shippingShipping tax
taxOrder tax
totalTotal value of the order
affiliationAffiliation of the order
couponDiscount coupon
currencyCurrency of the order
discountDiscounted amount
productsProperty that holds product details
categoryCategory of the product
brandBrand of the product
list_idID of the product collection
list_nameName of the product collection
list_positionProduct position in the collection
nameProduct name
priceProduct price
product_idID of the product
skuProduct SKU
variantProduct variant ID
variantsProperty that holds product variant IDs and SKUs
idVariant ID
quantityQuantity of the product
propertiesProperty that holds payment details
stepCheckout step
paymentMethodPayment method chosen for checkout
shipping_methodShipping method chosen for checkout
sent_fromUnique property to identify events sent by Littledata


Questions? Need help? Contact us!
Can we improve this doc?
Email us: docs-feedback@segment.com!