Edit in GitHubLog an issue

Adobe Commerce storefront events

When you install Adobe Commerce, storefront events are deployed to your site. These events capture data from shoppers' interactions on your site. When you install and configure SaaS-based Adobe Commerce features such as Product Recommendations, Live Search, or Data Connection the modules deploy behavioral data collection to your storefront for specific events. This mechanism collects anonymized behavioral data from the events and help to power Product Recommendations and Live Search or in the case of Data Connection, send that behavioral data to the Adobe Experience Platform.

Publish, subscribe, and handle the storefront events

Adobe provides an eventing framework that you can use to programmatically access Adobe Commerce storefront events.

Available events based on module

The following section lists the events from which each module collects behavioral data.

Product Recommendations

The Product Recommendations module collects behavioral data from the following events:

Although Product Recommendation metrics are optimized for Luma storefronts, they also work with other storefront implementations:

Required dashboard events

The following events are required to populate the Product Recommendations dashboard.

Dashboard columnEventsJoin field
Impressions
page-view, recs-request-sent, recs-response-received, recs-unit-render
unitId
Views
page-view, recs-request-sent, recs-response-received, recs-unit-render, recs-unit-view
unitId
Clicks
page-view, recs-request-sent, recs-response-received, recs-item-click, recs-add-to-cart-click
unitId
Revenue
page-view, recs-request-sent, recs-response-received, recs-item-click, recs-add-to-cart-click, place-order
unitId, sku, parentSku
LT Revenue
page-view, recs-request-sent, recs-response-received, recs-item-click, recs-add-to-cart-click, place-order
unitId, sku, parentSku
CTR
page-view, recs-request-sent, recs-response-received, recs-unit-render, recs-item-click, recs-add-to-cart-click
unitId, sku, parentSku
vCTR
page-view, recs-request-sent, recs-response-received, recs-unit-render, recs-unit-view, recs-item-click, recs-add-to-cart-click
unitId, sku, parentSku

The following events are not specific to Product Recommendations, but are required for Adobe Sensei to interpret shopper data correctly:

  • view
  • add-to-cart
  • place-order

Recommendation Type

This table describes the events used by each recommendation type.

Recommendation TypeEventsPage
Most Viewed
page-view, product-view
Product detail page
Most Purchased
page-view, place-order
Cart/Checkout
Most added to cart
page-view, add-to-cart
Product detail page, Product listing page, Cart, Wish List
Viewed this, viewed that
page-view, product-view
Product detail page
Viewed this, bought that
Product Recs
page-view, product-view
Bought this, bought that
Product Recs
page-view, product-view
Trending
page-view, product-view
Product detail page
Conversion: View to purchase
Product Recs
page-view, product-view
Conversion: View to purchase
Product Recs
page-view, place-order
Conversion: View to cart
Product Recs
page-view, product-view
Conversion: View to cart
Product Recs
page-view, add-to-cart

The Live Search module collects behavioral data from the following events:

Events used for ranking strategy

The following table describes the events used by Live Search ranking strategies.

Ranking StrategyEventsPage
Most Viewed
page-view, product-view
Product detail page
Most Purchased
page-view, place-order
Cart/Checkout
Most added to cart
page-view, add-to-cart
Product detail page, Product listing page, Cart, Wish List
Viewed this, viewed that
page-view, product-view
Product detail page

Required dashboard events

Some events are required to populate the Live Search dashboard.

Dashboard areaEventsJoin field
Unique searches
page-view, search-request-sent, search-response-received
searchRequestId
Zero results searches
page-view, search-request-sent, search-response-received
searchRequestId
Zero results rate
page-view, search-request-sent, search-response-received
searchRequestId
Popular searches
page-view, search-request-sent, search-response-received
searchRequestId
Avg. click position
page-view, search-request-sent, search-response-received, search-results-view, search-product-click
searchRequestId
Click-through rate
page-view, search-request-sent, search-response-received, search-results-view, search-product-click
searchRequestId, sku, parentSku
Conversion rate
page-view, search-request-sent, search-response-received, search-results-view, search-product-click, product-view, add-to-cart, place-order
searchRequestId, sku, parentSku

Required contexts

All events require the Page and Storefront contexts. This should happen at the page level/storefront application layer rather than when generating individual events. For example, in a PHP storefront, the PHP application container is responsible for setting them at runtime.

Usage

Here is a sample implementation of the search-request-sent event:

Copied to your clipboard
const mse = window.magentoStorefrontEvents;
/* set in application container */
// mse.context.page(pageCtx);
// mse.context.setStorefrontInstance(storefrontCtx);
/* set before firing event */
mse.context.setSearchInput(searchInputCtx);
mse.publish.searchRequestSent("search-bar");

Caveats

  • Ad blockers and privacy settings can prevent events from being captured and might cause the engagement and revenue metrics to be under-reported. Additionally, some events might not be sent due to shoppers leaving the page or network issues.
  • Headless implementations must implement eventing to power intelligent merchandising.

Data Connection

The Data Connection module collects behavioral data from the following categories of events:

General

Profile

These events are also part of the Live Search collection of events.

B2B

Learn more about how Data Connection uses behavioral data.

  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2025 Adobe. All rights reserved.