Collect Data
When you install and configure SaaS-based Adobe Commerce features such as Product Recommendations or Live Search, the modules deploy behavioral data collection to your storefront. This mechanism collects anonymized behavioral data from your shoppers and powers product recommendations. For example, the view
event is used to compute the Viewed this, viewed that
recommendation type, and the place-order
event is used to compute the Bought this, bought that
recommendation type.
The following events are not specific to Product Recommendations, but are required to return results:
view
add-to-cart
place-order
The Adobe Commerce Storefront Event Collector lists all the events deployed to your storefront. From that list, however, there is a subset of events specific to Product Recommendations. These events collect data when shoppers interact with recommendation units on the storefront and power the metrics used to help you analyze how well your recommendations are performing.
impression-render
rec-add-to-cart-click
rec-click
view
The following events are required to properly populate the dashboard.
page-view
, recs-request-sent
, recs-response-received
, recs-unit-render
page-view
, recs-request-sent
, recs-response-received
, recs-unit-render
, recs-unit-view
page-view
, recs-request-sent
, recs-response-received
, recs-item-click
, recs-add-to-cart-click
page-view
, recs-request-sent
, recs-response-received
, recs-item-click
, recs-add-to-cart-click
, place-order
page-view
, recs-request-sent
, recs-response-received
, recs-item-click
, recs-add-to-cart-click
, place-order
page-view
, recs-request-sent
, recs-response-received
, recs-unit-render
, recs-item-click
, recs-add-to-cart-click
page-view
, recs-request-sent
, recs-response-received
, recs-unit-render
, recs-unit-view
, recs-item-click
, recs-add-to-cart-click
If your storefront is implemented with PWA Studio, refer to the PWA documentation. If you use a custom frontend technology such as React or Vue JS, refer to the user guide to learn how to integrate Product Recommendations in a headless environment.
Caveats
Ad blockers and privacy settings can prevent the magento/product-recommendations
module from capturing events and might cause the engagement and revenue metrics to be underreported.
Eventing does not capture every transaction happening on the merchant’s site. Eventing is meant to give the merchant a general idea of events that are happening on the site.
Headless implementations must implement eventing to power the Product Recommendations dashboard.