Property | Type | Description | |
---|---|---|---|
$shouldSendAnalytics |
Method | Description | |
---|---|---|
__construct ( boolean $isSsl = false ) | Override __construct() to store whether or not we should be sending Analytics data | |
__toString ( ) : string | Turn an empty value so the twig tags {{ }} can be used | |
addCommerceCheckoutStep ( $orderModel = null, $step = 1, $option = "" ) | Add a checkout step to the Analytics object | |
addCommerceProductDetailView ( $productVariant = null ) | Add a product detail view to the Analytics object | |
addCommerceProductImpression ( $productVariant = null, integer $index, $listName = "" ) | Add a product impression to the Analytics object |
Method | Description | |
---|---|---|
sendHit ( $methodName ) : AnalyticsResponse | Override sendHit() so that we can prevent Analytics data from being sent |
public __construct ( boolean $isSsl = false ) | ||
$isSsl | boolean |
public __toString ( ) : string | ||
return | string | "" |
public addCommerceCheckoutStep ( $orderModel = null, $step = 1, $option = "" ) |
public addCommerceProductDetailView ( $productVariant = null ) |
public addCommerceProductImpression ( $productVariant = null, integer $index, $listName = "" ) | ||
$index | integer | Where the product appears in the list |