---
schema_version: "1"
id: d750850d9c73307ffd68732ed28c347434fac5a91dc785a7fe5837675dde76fc
title: Shopping Cart Insight Template
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/data/264-0-0/c360_a_insight_shopping_cart_template.md
canonical_url: https://help.salesforce.com/s/articleView?id=data.c360_a_insight_shopping_cart_template.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 876049d738fbf25e9f5fa1851b3d85557779f66eae3d93385c8cf16c0b4e60ce
description: The Data 360 shopping cart insight template creates a calculated or real-time insight based on actions in your customer’s shopping cart. Analyze customer interactions with their shopping cart, from items added to purchases completed or abandoned. Shopping cart insights provide a view of the customer's current shopping cart state.
products:
  - Data 360
release: "264"
---
# Shopping Cart Insight Template

The Data 360 shopping cart insight template creates a calculated or real-time insight based on actions in your customer’s shopping cart. Analyze customer interactions with their shopping cart, from items added to purchases completed or abandoned. Shopping cart insights provide a view of the customer's current shopping cart state.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>All Editions</strong> supported by Data 360. See <a href="https://help.salesforce.com/s/articleView?id=data.c360_a_dc_editions.htm&amp;release=264.0.0&amp;type=5" title="Data 360 is available in several supported Salesforce editions. Some Data 360 features also require additional licenses.">Data 360 edition availability</a>.</td></tr></tbody></table>

Use this insight to:

- Identify popular product combinations.
- Reference cart contents to determine cart abandonment activity.
- Understand the impact of promotions or discounts on cart completion.
- Optimize the checkout flow to reduce friction.
- Improve product recommendations and merchandising strategies.

## Model Your Customer

The shopping cart insight is modeled on an Individual or Unified Individual data model. The model represents your customer and their shopping cart experience.

- Individual: Your customer’s shopping cart is unique to each device or browser that they use.
- Unified Individual: Your customer’s shopping cart is shared across all of their devices and browsers.
    
    To use a Unified Individual, choose a related identity resolution ruleset. The ruleset defines how to identify a customer across multiple shopping sessions. See [Identity Resolution Rulesets](https://help.salesforce.com/s/articleView?id=data.c360_a_identity_resolution_ruleset.htm&release=264.0.0&type=5 "Rulesets contain match and reconciliation rules that tell the customer data platform how to link multiple sources of data into a unified profile. Unified profile information is stored in data model objects created by the ruleset.") in _Salesforce Help_.

## Process Shopping Cart Data

To create a shopping cart insight, choose between calculated and real-time insights.

Calculated Insight

A calculated insight processes data in batches, typically on a schedule. This approach is suitable for analyses that don't require immediate updates. Use historical data for trend analysis and deeper analysis of customer behavior over time.

Real-time Insight

A real-time insight provides continuously updated data and reflects customer actions as they happen. Real-time insights require real-time data graphs and support immediate responses, such as triggering personalized offers based on current cart contents or identifying immediate abandonment risks. See [Data Graphs](https://help.salesforce.com/s/articleView?id=data.c360_a_data_graphs.htm&release=264.0.0&type=5 "A data graph brings together structured data from your Data Model Objects (DMOs) in Data 360. It combines this data to create easy-to-use views of your information.") in _Salesforce Help_.

## Model Your Shopping Cart

Shopping cart insights map data model object (DMO) fields to events in your customer’s shopping carts. The insight uses the Shopping Cart Engagement DMO, Shopping Cart Product Engagement DMO, and Product Order Engagement DMO. Configure the required DMO fields.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:33.33333333333333%">
          <col style="width:33.33333333333333%">
          <col style="width:33.33333333333333%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d222211e172">DMO</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d222211e175">FIELD NAME</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d222211e178">Field API Name</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="DMO" class="slds-cell-wrap" style="vertical-align:top;" headers="d222211e172 ">Individual DMO</td>

            <td data-label="FIELD NAME" class="slds-cell-wrap" style="vertical-align:top;" headers="d222211e175 ">Individual ID</td>

            <td data-label="Field API Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d222211e178 ">ssot__Id__c </td>

          </tr>
          <tr class="">
            <td data-label="DMO" class="slds-cell-wrap" rowspan="5" style="vertical-align:top;" headers="d222211e172 ">Shopping Cart Engagement DMO</td>

            <td data-label="FIELD NAME" class="slds-cell-wrap" style="vertical-align:top;" headers="d222211e175 ">Individual</td>

            <td data-label="Field API Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d222211e178 ">ssot__IndividualId__c </td>

          </tr>
          <tr class="">
            <td data-label="FIELD NAME" class="slds-cell-wrap" style="vertical-align:top;" headers="d222211e175 ">Shopping Cart Engagement ID </td>

            <td data-label="Field API Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d222211e178 ">ssot__Id__c </td>

          </tr>
          <tr class="">
            <td data-label="FIELD NAME" class="slds-cell-wrap" style="vertical-align:top;" headers="d222211e175 ">Shopping Cart </td>

            <td data-label="Field API Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d222211e178 ">ssot__ShoppingCartId__c </td>

          </tr>
          <tr class="">
            <td data-label="FIELD NAME" class="slds-cell-wrap" style="vertical-align:top;" headers="d222211e175 ">Created Date </td>

            <td data-label="Field API Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d222211e178 ">ssot__CreatedDate__c</td>

          </tr>
          <tr class="">
            <td data-label="FIELD NAME" class="slds-cell-wrap" style="vertical-align:top;" headers="d222211e175 ">Shopping Cart Event Type </td>

            <td data-label="Field API Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d222211e178 ">ssot__ShoppingCartEventTypeId__c</td>

          </tr>
          <tr class="">
            <td data-label="DMO" class="slds-cell-wrap" rowspan="6" style="vertical-align:top;" headers="d222211e172 ">Shopping Cart Product Engagement DMO</td>

            <td data-label="FIELD NAME" class="slds-cell-wrap" style="vertical-align:top;" headers="d222211e175 ">Shopping Cart Engagement ID </td>

            <td data-label="Field API Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d222211e178 ">ssot__ShoppingCartEngagementId__c</td>

          </tr>
          <tr class="">
            <td data-label="FIELD NAME" class="slds-cell-wrap" style="vertical-align:top;" headers="d222211e175 ">Product SKU </td>

            <td data-label="Field API Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d222211e178 ">ssot__ProductSKUNumber__c</td>

          </tr>
          <tr class="">
            <td data-label="FIELD NAME" class="slds-cell-wrap" style="vertical-align:top;" headers="d222211e175 ">Product </td>

            <td data-label="Field API Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d222211e178 ">ssot__ProductId__c</td>

          </tr>
          <tr class="">
            <td data-label="FIELD NAME" class="slds-cell-wrap" style="vertical-align:top;" headers="d222211e175 ">Product Quantity </td>

            <td data-label="Field API Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d222211e178 ">ssot__ProductQuantity__c</td>

          </tr>
          <tr class="">
            <td data-label="FIELD NAME" class="slds-cell-wrap" style="vertical-align:top;" headers="d222211e175 ">Product Price </td>

            <td data-label="Field API Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d222211e178 ">ssot__ProductPrice__c</td>

          </tr>
          <tr class="">
            <td data-label="FIELD NAME" class="slds-cell-wrap" style="vertical-align:top;" headers="d222211e175 ">Product Image URL </td>

            <td data-label="Field API Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d222211e178 ">ssot__ProductImageURL__c</td>

          </tr>
          <tr class="">
            <td data-label="DMO" class="slds-cell-wrap" rowspan="4" style="vertical-align:top;" headers="d222211e172 ">Product Order Engagement DMO</td>

            <td data-label="FIELD NAME" class="slds-cell-wrap" style="vertical-align:top;" headers="d222211e175 ">Individual </td>

            <td data-label="Field API Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d222211e178 ">ssot__IndividualId__c</td>

          </tr>
          <tr class="">
            <td data-label="FIELD NAME" class="slds-cell-wrap" style="vertical-align:top;" headers="d222211e175 ">Shopping Cart </td>

            <td data-label="Field API Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d222211e178 ">ssot__ShoppingCartId__c</td>

          </tr>
          <tr class="">
            <td data-label="FIELD NAME" class="slds-cell-wrap" style="vertical-align:top;" headers="d222211e175 ">Engagement Date Time </td>

            <td data-label="Field API Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d222211e178 ">ssot__EngagementDateTm__c</td>

          </tr>
          <tr class="">
            <td data-label="FIELD NAME" class="slds-cell-wrap" style="vertical-align:top;" headers="d222211e175 ">Product Order Event Type </td>

            <td data-label="Field API Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d222211e178 ">ssot__ProductOrderEventTypeId__c</td>

          </tr>
        </tbody>
      </table>

## Track Shopping Cart Events

Event tracking captures the actions a customer takes related to their shopping cart, including adding items, removing items, and completing a purchase.

Your development team typically configures these events using your analytics platform's SDK or tag manager. Verify the event values by reviewing engagement events in [Data Explorer](https://help.salesforce.com/s/articleView?id=data.c360_a_data_explorer.htm&release=264.0.0&type=5 "With Data Explorer, you can validate data lake objects, data model objects, calculated insights, and data graphs to ensure that your data and formulas are accurate.").

Shopping Cart Engagement DMO - Shopping Cart Event Type field

- Add to cart event: A product is added to the shopping cart.
- Remove from cart event: A product is removed from the shopping cart.
- Replace event: All products in the cart are replaced.

Product Order Engagement DMO - Product Order Event Type field

- Purchase event: An order is successfully completed.

## Insight Object Schema

The insight creates one output record for each product in a customer’s shopping cart. The individual, shopping cart, and product fields identify each record. Product quantity, product price, and last updated date come from shopping cart events. The insight derives the total amount by multiplying the product quantity by the product price.

Use this object for multiple business goals, such as cart analytics, website personalization, and abandoned cart workflows.

   
| Output Field | Role | Data Type | Description |
| --- | --- | --- | --- |
| Individual ID | Dimension, key | Text | Identifies the Individual or Unified Individual associated with the shopping cart. |
| Shopping Cart ID | Dimension, key | Text | Identifies the shopping cart associated with the product. |
| Product SKU | Dimension, key | Text | Identifies the product in the shopping cart. |
| Product Name | Dimension | Text | Specifies the name of the product. |
| Product Quantity | Measure | Number | Specifies the current quantity of the product in the shopping cart. |
| Product Price | Measure | Number | Specifies the price of one unit of the product. |
| Created Date | Dimension | Date and time | Specifies when the product record insight was created. |
| Total Amount | Measure | Number | Specifies the derived total for the product quantity multiplied by the product price. |
| Product Image URL | Dimension | Text | The URL of the image of the product involved in the shopping cart activity. |
| Product ID | Dimension | Text | Identifies the product involved in the shopping cart activity. |

## Get Started