> For the complete documentation index, see [llms.txt](https://help.littledata.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.littledata.io/integrations/shopify-to-segment.md).

# Segment

![shopify to twilio segment](/files/m4WkfvWeenT9CFbTjaI8)

Littledata's [Shopify to Segment connection](https://www.littledata.io/shopify/segment) is the approved [source](https://segment.com/sources/shopify-littledata) for Shopify stores using Segment as their data integration tool. The connection is fully compliant with Segment's [ecommerce spec](https://segment.com/docs/connections/spec/ecommerce/v2).

Segment is a customer data platform [with connectors](https://segment.com/catalog) for many popular marketing, CRM and data warehouse destinations. Littledata's [Shopify app for Segment](https://apps.shopify.com/segment-com-by-littledata) seamlessly pushes data from your Shopify store to Segment.

Littledata sends **events** to Segment, which are behaviors or occurrences tied to a user and a point in time. Data from these events can be loaded into your Segment warehouses, and **also** sent to Segment streaming destinations.

## Connection benefits

* Send data to any of Segment's hundreds of destinations
* Fully compatible with Online Store 2.0 and one-page checkout
* Combination of client-side and server-side tracking to capture browsing activity, orders, refunds, and upsells
* Extra user fields for calculating LTV and more
* Minimal, super-fast script and [data layer](/advanced/developer/gtm-and-google-analytics-data-layer-for-shopify.md)
* Works with [headless Shopify](/sources/shopify/headless-shopify/working-with-a-headless-shopify-setup.md) setups
* Import historic orders into a data warehouse (with a [Littledata Enterprise Plus](https://www.littledata.io/plus) plan)

## Support for common Segment destinations

* Works seamlessly with [Google Analytics](/integrations/shopify-to-segment/send-data-from-segment-to-google-analytics.md)
* Use [Facebook Conversions API](/integrations/shopify-to-segment/connect-segment-to-facebook-conversions-api.md)
* Track email campaigns from [Iterable](https://support.iterable.com/hc/en-us/articles/204795719-Sending-Data-from-Segment-to-Iterable-#e-commerce) or Klaviyo

## Learn more

Ready to link up Shopify and Segment?

* See [how the Shopify to Segment connection works](/integrations/shopify-to-segment/how-it-works.md)
* For a more detailed schema and parameters, reach out to <help@littledata.io>
* [Get started with the connection](/integrations/shopify-to-segment/installation.md) on your store
* Read [Segment's source documentation](https://segment.com/docs/connections/sources/catalog/cloud-apps/shopify-littledata)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.littledata.io/integrations/shopify-to-segment.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
