> 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/attentive/how-it-works-shopify-to-attentive.md).

# How it works: Shopify to Attentive

## What you can track

All events below are being sent [server-side](/get-started/how-server-side-tracking-works.md) and are tracked by default. You can choose to disable tracking for one or multiple events within the app settings.

| **Event name** | **Description**                        |
| -------------- | -------------------------------------- |
| Add to Cart    | When a user adds a product to the cart |
| Product Viewed | When a user views a product            |

## Event properties

Our schema is designed to be backwards compatible with the standard Add to Cart and Product Viewed events from Shopify

In addition to this, Littledata adds `externalIdentifiers` to improve the linking of on-site behavior to an Attentive profile.

| **Parameter name**                               | **Description**                              | **Type** |
| ------------------------------------------------ | -------------------------------------------- | -------- |
| items                                            | Array of items in the event                  | array    |
| items.productId                                  | Id of the product                            | string   |
| items.productVariantId                           | Id of the product variant                    | string   |
| items.productImage                               | Link for the image of the product            | string   |
| items.productURL                                 | URL of the product                           | string   |
| items.name                                       | Name of the product                          | string   |
| items.price                                      | Array that contains details about price      | array    |
| items.price.value                                | Value of the product                         | int      |
| items.price.currency                             | Currency of the product                      | string   |
| items.quantity                                   | Quantity of items in the event               | int      |
| occuredAt                                        | Time when the event was triggered            | date     |
| user                                             | Array of user details                        | array    |
| user.email                                       | Email of the user                            | string   |
| user.phone                                       | Phone number of the user                     | string   |
| user.externalIdentifiers                         | Array of additional identifiers for the suer | array    |
| user.externalIdentifiers.customIdentifiers       | Array of custom identifiers for the user     | array    |
| user.externalIdentifiers.customIdentifiers.name  | Name of the custom identifier                | string   |
| user.externalIdentifiers.customIdentifiers.value | Value of the custom identifier               | string   |
