---
schema_version: "1"
id: d225ca41e922913ac244d44bb86d1c6d126ce28c2ec94c2537ef02bfd535bd1a
title: Create Custom Reports with Search and Category Data for B2B Stores
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/comm_store_data.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.comm_store_data.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 68e20a6519e306783caac50a31ff91ea66804167ae78d578dfc2325533a9d886
description: To gain insight into the products that buyers interact with, create custom reports with Google Analytics using the search and category data that Salesforce provides.
products:
  - Commerce
  - B2B Commerce
release: "264"
---
# Create Custom Reports with Search and Category Data for B2B Stores

To gain insight into the products that buyers interact with, create custom reports with Google Analytics using the search and category data that Salesforce provides.

### 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;"><a href="https://help.salesforce.com/s/articleView?id=commerce.comm_editions.htm&amp;language=en_US" target="_blank">View supported editions</a>.</td></tr></tbody></table>

[Which Salesforce Commerce Product Do I Have?](https://help.salesforce.com/s/articleView?id=commerce.comm_what_product.htm&language=en_US)

Use the data to analyze your buyers’ interactions with the products in your store. Discover things like:

- What buyers are searching for most
- What buyers are searching for but not finding
- The product types that buyers are looking for
- The specific products that buyers are looking for

This table lists the data categories and the types of events that are captured.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:25%">
          <col style="width:25%">
          <col style="width:25%">
          <col style="width:25%">
        </colgroup>
        <tbody>
          <tr class="">
            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <strong>Event Category</strong>
            </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <strong>Event Action</strong>
            </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <strong>Event Label</strong>
            </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <strong>Reports On</strong>
            </td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" rowspan="7" style="text-align:left;vertical-align:top;">Search Results Interactions</td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">Search Results Page View</td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <kbd>{search term}</kbd>
            </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">Search term entered that resulted in the page view</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">No Results Page View</td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <kbd>{search term}</kbd>
            </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">Search term entered that landed the user on the no-results page</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">Result Click</td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <kbd>{search term}</kbd>
            </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">Search term entered that resulted in the clicking of a search result</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">Add To Cart Button Click</td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <kbd>{search term}</kbd>
            </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">Search term entered that resulted in the clicking of the Add to Cart
              button</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">Category Filter Click</td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <kbd>{&lt;search term&gt;:&lt;selected category name&gt;}</kbd>
            </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">Search term entered and the category name that the user clicked</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">Attribute Filter Click</td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <kbd>{&lt;search term&gt;:&lt;selected value1,selected value2&gt;}</kbd>
            </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">Search term entered and the attribute values that the user clicked</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">Sort Option Click</td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <kbd>{&lt;search term&gt;:&lt;sort option name&gt;}</kbd>
            </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">Search term entered and the sort option that the user clicked</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" rowspan="6" style="text-align:left;vertical-align:top;">Product Category Interactions</td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">Category Detail Page View</td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <kbd>{category name}</kbd>
            </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">Name of the category in the detail view</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">Product Click</td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <kbd>{category name}</kbd>
            </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">Name of the category under which a product was clicked</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">Add To Cart button Click</td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <kbd>{category name}</kbd>
            </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">Name of the category under which an Add to Cart button was clicked</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">Category Filter Click</td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <kbd>{&lt;root category name&gt;:&lt;selected category name&gt;}</kbd>
            </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">Search term entered and the category name that the user clicked</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">Attribute Filter Click</td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <kbd>{&lt;root category name&gt;:&lt;selected value1,selected
                value2&gt;}</kbd>
            </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">Search term entered and the attribute values that the user clicked</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">Sort Option Click</td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <kbd>{&lt;root category name&gt;:&lt;sort option name&gt;}</kbd>
            </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">Root category searched and the sort option that the user clicked</td>

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

For information about Google Analytics, see [Google Analytics Documentation](https://analytics.google.com/analytics/web/provision/#/provision).

#### See Also

- [Store Management](https://help.salesforce.com/s/articleView?id=commerce.comm_manage_stores.htm&release=264.0.0&type=5 "Manage stores more efficiently using workspaces. Expand the reach of your store by enhancing language and currency support. Create and manage promotions to increase buyer incentive. Migrate store configurations, create custom reports, and manage existing integrations. Set up the emails that shoppers and buyers receive when they place an order, and what they see when your site isn’t available. Review the steps required to use Omnichannel Inventory with B2B stores.")