---
schema_version: "1"
id: 2ae0195b8e448b8a91a57c55d7fc4074d6dee1f7f134e82b5d4f83c9fce79f4c
title: Collect B2C Commerce Shopper Agent Analytics for SFRA Storefronts
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/cc/264-0-0/b2c_shopper_agent_analytics.md
canonical_url: https://help.salesforce.com/s/articleView?id=cc.b2c_shopper_agent_analytics.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 8ee29dcb06463744c7ebe26c205eaf57d063352806a272916c31d45ecaea5358
description: Track your Storefront Reference Architecture (SFRA) storefront revenue and orders directly attributed to your B2C Shopper Agent. Compare metrics with and without Shopper Agent involvement on the Home, Sales, Products, and Promotions pages. These metrics help you estimate the agent’s return on investment.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# Collect B2C Commerce Shopper Agent Analytics for SFRA Storefronts

Track your Storefront Reference Architecture (SFRA) storefront revenue and orders directly attributed to your B2C Shopper Agent. Compare metrics with and without Shopper Agent involvement on the Home, Sales, Products, and Promotions pages. These metrics help you estimate the agent’s return on investment.

1. In GitHub, configure the Agentforce Commerce Client.
    1. Go to the [Salesforce CommerceCloud](https://github.com/SalesforceCommerceCloud/) repository and install or redeploy the latest `plugin_commerce_client` cartridge. For more information, see [Cartridges](https://developer.salesforce.com/docs/commerce/b2c-commerce/guide/b2c-cartridges.html).
    2. If you customized the `plugin_commerce_client` cartridge, copy the changes you made. After you redeploy the cartridge, reapply your customizations.
2. In Business Manager, view Agent Assistance metrics in the dashboard.
    1. Click App Launcher ![App Launcher](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/cc/b2c_merchandiser_administrator/images/appLauncher.png), and then select **Reports & Dashboards**.
    2. Open the Filters panel.
    3. To see agent-assisted data, under Agent Assistance, select **Shopper Agent**. To see data not related to the Shopper Agent, select **No Shopper Agent**. If you don’t select either option, the dashboard shows agent-assisted and non-agent-assisted data.
    4. Click **Apply**.
        
        Data can take up to two hours to appear on the dashboard.
        
        ![View Agent Assistance metrics in the dashboard.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/cc/b2c_merchandiser_administrator/images/b2c_shopper_agent_analytics.png)

#### See Also

- [Reports and Dashboards for B2C Commerce](https://help.salesforce.com/s/articleView?id=cc.b2c_reports_and_dashboards.htm&language=en_US)
- [Set the Dashboard Filters](https://help.salesforce.com/s/articleView?id=cc.b2c_set_dashboard_filters.htm&language=en_US)
- [Shopper Agent Setup for SFRA Storefronts](https://help.salesforce.com/s/articleView?id=cc.b2c_shopping_agent_sfra_cartridge_container.htm&language=en_US)
- [_B2C Commerce Developer Guide_: Agentforce Commerce Client Overview](https://developer.salesforce.com/docs/commerce/b2c-commerce/guide/agentforce-commerce-client-overview.html)