You are here

public function Product::getMetrics in Commerce Google Tag Manager 8.2

Same name and namespace in other branches
  1. 8 src/Product.php \Drupal\commerce_google_tag_manager\Product::getMetrics()

Get the collection of metrics.

Return value

string[] Collection of metrics.

File

src/Product.php, line 263

Class

Product
Represents a product in the domain of Google's Enhanced Ecommerce.

Namespace

Drupal\commerce_google_tag_manager

Code

public function getMetrics() {
  return $this->metrics;
}