Sales Funnel Configuration

The Sales Funnel metrics track the journey the customer takes towards purchasing a product or service.

This journey includes browsing and viewing a product, adding it to the cart, and placing an order.

Metric Metric Source Capturing Tier
Total Page Views Displays the Page Impression value, which is the total number of web requests with a Content-Type of text/html and a response code of 200. Web
Browse Product Extract the productCode by using a URL pattern. If that is not available, use the code instrumentation to extract the productCode.URL Pattern
  • Web service: */products/{productCode}
  • Accelerator: */p/{productCode}
Code Source:
  • Web service:
    • Class name: de.hybris.platform.ycommercewebservices.v2.controller.ProductsController
    • Method: getProduct(). This method returns ProductWsDTO
  • Accelerator:
    • Class name: de.hybris.platform.yacceleratorstorefront.controllers.pages.ProductPageController
    • Method: productDetail()
Web
Add To Cart

URL pattern: */cart/add

Code source (one of the three):
  • Class name: de.hybris.platform.commerceservices.order.CommerceCartService
    • Method: addToCart()
  • Class name: de.hybris.platform.commercefacades.order.CartFacade → addToCart()
    • Method: addToCart()
  • Class name: de.hybris.platform.commerceservices.order.CommerceAddToCartStrategy → addToCart()
    • Method: addToCart()
Web and App
Place Order Use one or both of these methods to increase capture rates.
  • Class name: de.hybris.platform.commercefacades.order.impl.DefaultCheckoutFacade
    • Method: afterPlaceOrder()
  • Class name: de.hybris.platform.commercefacades.order.CheckoutFacade
    • Method: placeOrder()
  • Class name: de.hybris.platform.acceleratorfacades.order.impl.DefaultAcceleratorCheckoutFacade
    • Method: placeOrder()
App