Analytics Reporting Integration

Salesforce B2C Commerce provides robust storefront Analytics that can help make your storefront more successful.

To provide these Analytics, B2C Commerce records storefront events–for example, orders entered by consumers. We don’t record events outside of B2C Commerce, such as order cancellations, order modifications, or returns performed off-line. Storefront event data is collected using the isobject tag. Data for your realm is available in the Reports & Dashboards.

  • Analytics Reporting Events
    Salesforce B2C Commerce supports 2 Analytics reporting events.
  • Analytics Reporting URL Patterns
    Each Analytics event in B2C Commerce corresponds to a URL pattern. The pattern begins with a call to the ReportingEvent-Start endpoint, followed by a collection of URL parameters for each event. The Salesforce Reference Architecture (SFRA) and SGJC reference applications use different techniques to construct the URLs.
  • Analytics Reporting Integration in Salesforce Reference Architecture (SFRA)
    To record Analytics events in B2C Commerce SFRA, you construct the corresponding URL patterns by calling helper methods in the reportingUrls.js module. Each of these helper methods constructs URLs and returns an array of URLs. This array is then passed as a variable (pdict.reportingURLs) to the template reportingUrls.isml.
  • Analytics Reporting Integration in SGJC
    To record Analytics events in SGJC, add certain templates to your application. These templates call B2C Commerce processes that capture the data and report on it via the Business Manager user interface.