showProductDetailsEvent static method

ECommerceEvent showProductDetailsEvent(
  1. ECommerceProduct product,
  2. ECommerceReferrer? referrer
)

Creates an E-Commerce event ShowProductDetailsEvent.

Use it to report a product page view.

Implementation

static ECommerceEvent showProductDetailsEvent(
    ECommerceProduct product, ECommerceReferrer? referrer) {
  return ECommerceConstructors.showProductDetailsEvent(product, referrer);
}