---
schema_version: "1"
id: 95e8e8e1c781e94acf24c7767404b6df331005e7b5161503fa61a59e02c88d0a
title: Active Data Collected
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/cc/264-0-0/b2c_active_data_collected.md
canonical_url: https://help.salesforce.com/s/articleView?id=cc.b2c_active_data_collected.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 446d805410ec8b3cd7ba2a608a2fec88629a7c971b5392022134c5474f6b2eba
description: B2C Commerce collects information about your site automatically. B2C Commerce also collects data, tracks events, and tracks amounts. As you collect data over time, you can encounter stale data - data that is too old to be of value.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# Active Data Collected

B2C Commerce collects information about your site automatically. B2C Commerce also collects data, tracks events, and tracks amounts. As you collect data over time, you can encounter stale data - data that is too old to be of value.

## Data Collected

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col>
          <col>
          <col>
          <col>
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d225366e41">Value</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d225366e44">Examples</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d225366e47">Context</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d225366e50">Description</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Value" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d225366e41 ">Product Category</td>

            <td data-label="Examples" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d225366e44 ">
              <p>"DVD" </p>
              <p>"Men's apparel" </p>
              <p style="margin-bottom:0;">"Video" "Men's shoes" "Action"</p>
            </td>

            <td data-label="Context" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d225366e47 ">Any</td>

            <td data-label="Description" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d225366e50 ">The category of a product. Can be based on context of the
              page in the site, or a product primary/classification category.</td>

          </tr>
          <tr class="">
            <td data-label="Value" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d225366e41 ">Source Code</td>

            <td data-label="Examples" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d225366e44 ">"SPRING" "PREFERRED" "</td>

            <td data-label="Context" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d225366e47 ">Any</td>

            <td data-label="Description" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d225366e50 ">The source code in effect for a customer session. Can be
              blank if no source code in effect.</td>

          </tr>
          <tr class="">
            <td data-label="Value" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d225366e41 ">Customer</td>

            <td data-label="Examples" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d225366e44 ">"1234567" "</td>

            <td data-label="Context" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d225366e47 ">Any</td>

            <td data-label="Description" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d225366e50 ">The customer number. Can be blank if unknown. Chosen
              because the identifier must not contain any personally recognizable
              information such as email address.</td>

          </tr>
          <tr class="">
            <td data-label="Value" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d225366e41 ">Product</td>

            <td data-label="Examples" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d225366e44 ">"ABC123"</td>

            <td data-label="Context" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d225366e47 ">Any</td>

            <td data-label="Description" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d225366e50 ">The SKU of a product shown, such as in a search result,
              added to cart, or ordered.</td>

          </tr>
          <tr class="">
            <td data-label="Value" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d225366e41 ">
              <p>Recommended Product</p>
              <p style="margin-bottom:0;">&nbsp;</p>
            </td>

            <td data-label="Examples" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d225366e44 ">"ABC123"</td>

            <td data-label="Context" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d225366e47 ">Any</td>

            <td data-label="Description" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d225366e50 ">
              <p>The SKU of a product recommended on a page. Multiple recommended products
                can appear on a page. </p>
              <p style="margin-bottom:0;">This data isn't collected now.</p>
            </td>

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

## Events Tracked

 
| Event | Description |
| --- | --- |
| Order | Counts how many times a customer placed an order. |
| Product Impression | Counts how many times a product appears in minimal detail on a page. Examples include search results, recommendations, and banners. The exact interpretation is up to the customer. |
| Product View | Counts how many times a product appears in great detail on a page. Examples include product detail and comparison pages. The exact interpretation is up to the customer. |
| Gift Order | Counts how many times an order contains at least one unit of a product that is marked as a gift. Implement a gift feature to take advantage of this functionality. To implement gifts, you must set the ProductLineItem object _gift_ attribute to _true._ For an example, see the SiteGenesis singleshipping.xml templates. |

## Amounts Tracked

 
| Event | Description |
| --- | --- |
| Units | Counts some units of a product in an order. |
| Revenue | Counts an amount of revenue for a product in an order. |
| Discount Value Without Coupon | Counts a discount amount applied to an order for implicit, that is, not coupon-based promotions. |
| Discount Value With Coupon | Counts a discount amount applied to an order for coupon promotions. |
| Gift Units | Counts some product units marked as a gift in an order. |

Multi-Currency

When a site supports multiple currencies, B2C Commerce collects active data raw values across all sessions, regardless of session currency. B2C Commerce then converts currency values into the site's default currency using the exchange rate applicable for that day. Active data metrics are also provided in the site's default currency. For example, the site's default currency is USD, but the site supports both USD and EUR currencies. When a customer places order and selects EUR as the currency, B2C Commerce converts the order values from EUR to USD using that day's exchange rate. Active data values retrieved are then in USD only.