class EnhancedEcommerce extends ClientTracker

Class EnhancedEcommerce

Properties

ItemBuilder $itemBuilder

Methods

__construct()

EnhancedEcommerce constructor.

string
track( array $data)

No description

init()

No description

mixed
trackProductView( Product $product)

No description

mixed
trackProductImpression( Product $product)

No description

mixed
trackProductActionAdd( Product $product, int $quantity = 1)

No description

mixed
trackProductActionRemove( Product $product, int $quantity = 1)

No description

mixed
trackCheckout( Cart $cart, null $stepNumber = null, null $checkoutOption = null)

No description

mixed
trackCheckoutStep( Cart $cart, null $stepNumber = null, null $checkoutOption = null)

No description

mixed
trackCheckoutAction( Cart $cart, null $stepNumber = null, null $checkoutOption = null)

No description

mixed
trackCheckoutComplete( Order $order)

No description

getItemBuilder()

No description

Details

at line line 42
__construct()

EnhancedEcommerce constructor.

at line line 69
string track( array $data)

Parameters

array $data

Return Value

string

at line line 51
init()

at line line 78
mixed trackProductView( Product $product)

Parameters

Product $product

Return Value

mixed

at line line 91
mixed trackProductImpression( Product $product)

Parameters

Product $product

Return Value

mixed

at line line 105
mixed trackProductActionAdd( Product $product, int $quantity = 1)

Parameters

Product $product
int $quantity

Return Value

mixed

at line line 115
mixed trackProductActionRemove( Product $product, int $quantity = 1)

Parameters

Product $product
int $quantity

Return Value

mixed

at line line 141
mixed trackCheckout( Cart $cart, null $stepNumber = null, null $checkoutOption = null)

Parameters

Cart $cart
null $stepNumber
null $checkoutOption

Return Value

mixed

at line line 167
mixed trackCheckoutStep( Cart $cart, null $stepNumber = null, null $checkoutOption = null)

Parameters

Cart $cart
null $stepNumber
null $checkoutOption

Return Value

mixed

at line line 197
mixed trackCheckoutAction( Cart $cart, null $stepNumber = null, null $checkoutOption = null)

Parameters

Cart $cart
null $stepNumber
null $checkoutOption

Return Value

mixed

at line line 230
mixed trackCheckoutComplete( Order $order)

Parameters

Order $order

Return Value

mixed

at line line 252
ItemBuilder getItemBuilder()

Return Value

ItemBuilder