GoogleAnalyticsChangeSettingsCommand
in package
Class GoogleAnalyticsChangeSettingsCommand
Table of Contents
- $postData : KeyValueCollection
- __construct() : mixed
- GoogleAnalyticsChangeSettingsCommand constructor.
- availableSoonListName() : NonEmptyStringType
- Returns the name of the available soon list.
- bestsellerBoxName() : NonEmptyStringType
- Returns the name of the bestseller box.
- bestsellerListName() : NonEmptyStringType
- Returns the name of the bestseller list.
- enableBoxImpression() : bool
- Returns true if box impression tracking should be enabled.
- enableCheckout() : bool
- Returns true if checkout tracking should be enabled.
- enableDevMode() : bool
- Returns true if the analytics dev mode should be enabled.
- enableGoogleAnalytics() : bool
- Returns true if google analytics should be enabled.
- enableIpAnonymization() : bool
- Returns true the if ip anonymization is enabled.
- enableListImpression() : bool
- Returns true if list impression tracking should be enabled.
- enableNetPriceTracking() : bool
- Returns true prices should be tracked as net and false if they should be tracked as gross.
- enableProductClick() : bool
- Returns true if product click tracking should be enabled.
- enableProductDetails() : bool
- Returns true if product details tracking should be enabled.
- enableShoppingCart() : bool
- Returns true if shopping cart tracking should be enabled.
- newProductsListName() : NonEmptyStringType
- Returns the name of the whats new list.
- specialsBoxName() : NonEmptyStringType
- Returns the name of the specials box.
- specialsListName() : NonEmptyStringType
- Returns the name of the specials list.
- topProductsListName() : NonEmptyStringType
- Returns the name of the top products list.
- uaTrackingCode() : GoogleAnalyticsUaTrackingCode|null
- Returns the ua tracking code.
- validate() : bool
- Validates the command.
- whatsNewBoxName() : NonEmptyStringType
- Returns the name of the whats new box.
- whatsNewListName() : NonEmptyStringType
- Returns the name of the whats new list.
Properties
$postData
private
KeyValueCollection
$postData
Methods
__construct()
GoogleAnalyticsChangeSettingsCommand constructor.
public
__construct(KeyValueCollection $postData) : mixed
Parameters
- $postData : KeyValueCollection
Return values
mixed —availableSoonListName()
Returns the name of the available soon list.
public
availableSoonListName() : NonEmptyStringType
Return values
NonEmptyStringType —Name of available soon list.
bestsellerBoxName()
Returns the name of the bestseller box.
public
bestsellerBoxName() : NonEmptyStringType
Return values
NonEmptyStringType —Name of bestseller box.
bestsellerListName()
Returns the name of the bestseller list.
public
bestsellerListName() : NonEmptyStringType
Return values
NonEmptyStringType —Name of bestseller list.
enableBoxImpression()
Returns true if box impression tracking should be enabled.
public
enableBoxImpression() : bool
Return values
bool —True if box impression tracking should be enabled.
enableCheckout()
Returns true if checkout tracking should be enabled.
public
enableCheckout() : bool
Return values
bool —True if checkout tracking should be enabled.
enableDevMode()
Returns true if the analytics dev mode should be enabled.
public
enableDevMode() : bool
Return values
bool —enableGoogleAnalytics()
Returns true if google analytics should be enabled.
public
enableGoogleAnalytics() : bool
Return values
bool —True if google analytics should be enabled.
enableIpAnonymization()
Returns true the if ip anonymization is enabled.
public
enableIpAnonymization() : bool
Return values
bool —True if ip anonymization is enabled.
enableListImpression()
Returns true if list impression tracking should be enabled.
public
enableListImpression() : bool
Return values
bool —True if list impression tracking should be enabled.
enableNetPriceTracking()
Returns true prices should be tracked as net and false if they should be tracked as gross.
public
enableNetPriceTracking() : bool
Return values
bool —True if prices should be tracked as net and false if they should be tracked as gross.
enableProductClick()
Returns true if product click tracking should be enabled.
public
enableProductClick() : bool
Return values
bool —True if product click tracking should be enabled.
enableProductDetails()
Returns true if product details tracking should be enabled.
public
enableProductDetails() : bool
Return values
bool —True if product details tracking should be enabled.
enableShoppingCart()
Returns true if shopping cart tracking should be enabled.
public
enableShoppingCart() : bool
Return values
bool —True if shopping cart tracking should be enabled.
newProductsListName()
Returns the name of the whats new list.
public
newProductsListName() : NonEmptyStringType
Return values
NonEmptyStringType —Name of whats new list.
specialsBoxName()
Returns the name of the specials box.
public
specialsBoxName() : NonEmptyStringType
Return values
NonEmptyStringType —Name of specials box.
specialsListName()
Returns the name of the specials list.
public
specialsListName() : NonEmptyStringType
Return values
NonEmptyStringType —Name of specials list.
topProductsListName()
Returns the name of the top products list.
public
topProductsListName() : NonEmptyStringType
Return values
NonEmptyStringType —Name of top products list.
uaTrackingCode()
Returns the ua tracking code.
public
uaTrackingCode() : GoogleAnalyticsUaTrackingCode|null
Return values
GoogleAnalyticsUaTrackingCode|null —Ua tracking code instance or null, if post data is empty.
validate()
Validates the command.
public
validate(LanguageTextManager $languageTextManager) : bool
If invalid data was provided, the method will return false and set the 'ga_config_error' session key.
Parameters
- $languageTextManager : LanguageTextManager
-
Text manager for language specific error messages.
Return values
bool —True if data is valid.
whatsNewBoxName()
Returns the name of the whats new box.
public
whatsNewBoxName() : NonEmptyStringType
Return values
NonEmptyStringType —Name of whats new box.
whatsNewListName()
Returns the name of the whats new list.
public
whatsNewListName() : NonEmptyStringType
Return values
NonEmptyStringType —Name of whats new list.