Littledata provides a Segment connection for Shopify and Shopify Plus. The app automatically fixes ecommerce tracking and lets you use Shopify as a Segment source. It automatically tracks key events and page views, and then sends that data to Segment.
Install Littledata's Shopify app for Segment.
Log into your Segment workspace, and add the Shopify (by Littledata) source.
You will need to add your Segment workshop write key. Follow this guide to find your write key, then enter it and hit NEXT.
[Segment Write key]
Select the Automatic route to add the tracking code automatically to your store.
During this step, Littledata adds a set of webhooks to your Shopify store that ensure our servers pick up the checkout steps and order events.
Installation is complete! You will now start receiving data from Shopify to Segment, including sales data and checkout steps:
You will now be able to send data from Shopify to hundreds of Segment destinations. You can send data from Segment to Google Analytics by following the steps described here.*
Please see our Segment FAQ for answers to common questions. You can email the Littledata team at help@littledata.io if anything is unclear.
For headless stores with a custom front end you will need to add client-side tracking to your headless store.
For a comprehensive guide on our headless implementation please visit our Headless Shopify Demo page.