# How it works: Shopify to Dotdigital

## What you can track

| Event name                  | Description                      |
| --------------------------- | -------------------------------- |
| Product Viewed (WebInsight) | When a user views a product page |
| Added to Cart (CartInsight) | When a user adds an item to cart |

## Extended data schema

On the roadmap we are planning to support an extended data schema to power additional programs than those included in Dotdigital's standard Shopify app.

This would also support Shopify stores that can't use Dotdigital's Shopify app, such as headless stores.

### Setup process

During setup, Littledata automatically deploys the necessary scripts to power Dotdigital's core features, including:

* Site and ROI Tracking
* Chat Widgets
* User Identification

### Use cases for extended schema

By utilising Dotdigital's Insight API, Littledata can send enriched events back to Dotdigital to power abandonment programs not able to use the schemas currently available.

Some common use cases include:

* Email content including the whole cart contents rather than just the last item added to cart
* Split the flows based on product category, cart value (above or below free shipping threshold) or browsing behaviour
* Pass custom product properties or product metafields to email content
* Link emails directly to the checkout URL rather than cart for higher conversion

### Supported events via CartInsight Custom API

| Event name       | Description                      |
| ---------------- | -------------------------------- |
| Product Viewed   | When a user views a product page |
| Added to Cart    | When a user adds an item to cart |
| Checkout Started | When a user starts the checkout  |

Littledata's proprietary technology enables brands to activate multi-stage abandonment campaigns across the entire customer journey - from initial browse abandonment, to cart abandonment, and finally checkout exit.


---

# Agent Instructions: 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:

```
GET https://help.littledata.io/integrations/dotdigital/shopify-to-dotdigital-how-it-works.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
