Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (\Magento\Framework\App\Helper\Context $context, \Magento\Framework\Registry $registry) | |
isGoogleAdwordsActive () | |
getLanguageCodes () | |
convertLanguageCodeToLocaleCode ($language) | |
getConversionJsSrc () | |
getConversionImgSrc () | |
getConversionId () | |
getConversionLanguage () | |
getConversionFormat () | |
getConversionColor () | |
getConversionLabel () | |
getConversionValueType () | |
isDynamicConversionValue () | |
getConversionValueConstant () | |
getConversionValue () | |
hasSendConversionValueCurrency () | |
getConversionValueCurrency () | |
![]() | |
__construct (Context $context) | |
isModuleOutputEnabled ($moduleName=null) | |
Data Fields | |
const | XML_PATH_LANGUAGES = 'google/adwords/languages' |
const | XML_PATH_LANGUAGE_CONVERT = 'google/adwords/language_convert' |
const | XML_PATH_CONVERSION_JS_SRC = 'google/adwords/conversion_js_src' |
const | XML_PATH_CONVERSION_IMG_SRC = 'google/adwords/conversion_img_src' |
const | CONVERSION_VALUE_REGISTRY_NAME = 'google_adwords_conversion_value' |
const | CONVERSION_VALUE_CURRENCY_REGISTRY_NAME = 'google_adwords_conversion_value_currency' |
const | CONVERSION_VALUE_DEFAULT = 0 |
const | XML_PATH_ACTIVE = 'google/adwords/active' |
const | XML_PATH_CONVERSION_ID = 'google/adwords/conversion_id' |
const | XML_PATH_CONVERSION_LANGUAGE = 'google/adwords/conversion_language' |
const | XML_PATH_CONVERSION_FORMAT = 'google/adwords/conversion_format' |
const | XML_PATH_CONVERSION_COLOR = 'google/adwords/conversion_color' |
const | XML_PATH_CONVERSION_LABEL = 'google/adwords/conversion_label' |
const | XML_PATH_CONVERSION_VALUE_TYPE = 'google/adwords/conversion_value_type' |
const | XML_PATH_CONVERSION_VALUE = 'google/adwords/conversion_value' |
const | XML_PATH_SEND_CURRENCY = 'google/adwords/send_currency' |
const | CONVERSION_VALUE_TYPE_DYNAMIC = 1 |
const | CONVERSION_VALUE_TYPE_CONSTANT = 0 |
Protected Attributes | |
$_registry | |
![]() | |
$_moduleName | |
$_request | |
$_moduleManager | |
$_logger | |
$_urlBuilder | |
$_httpHeader | |
$_eventManager | |
$_remoteAddress | |
$urlEncoder | |
$urlDecoder | |
$scopeConfig | |
$_cacheConfig | |
Additional Inherited Members | |
![]() | |
_getRequest () | |
_getModuleName () | |
_getUrl ($route, $params=[]) | |
__construct | ( | \Magento\Framework\App\Helper\Context | $context, |
\Magento\Framework\Registry | $registry | ||
) |
convertLanguageCodeToLocaleCode | ( | $language | ) |
Convert language code in the code of the current locale language
string | $language |
getConversionColor | ( | ) |
getConversionFormat | ( | ) |
getConversionId | ( | ) |
getConversionImgSrc | ( | ) |
getConversionJsSrc | ( | ) |
getConversionLabel | ( | ) |
getConversionLanguage | ( | ) |
getConversionValue | ( | ) |
Get Google AdWords conversion value
Definition at line 269 of file Data.php.
getConversionValueConstant | ( | ) |
getConversionValueCurrency | ( | ) |
Get Google AdWords conversion value currency
Definition at line 297 of file Data.php.
getConversionValueType | ( | ) |
getLanguageCodes | ( | ) |
hasSendConversionValueCurrency | ( | ) |
isDynamicConversionValue | ( | ) |
Checks if conversion value is dynamic
Definition at line 246 of file Data.php.
isGoogleAdwordsActive | ( | ) |
Is Google AdWords active
Definition at line 104 of file Data.php.
const CONVERSION_VALUE_CURRENCY_REGISTRY_NAME = 'google_adwords_conversion_value_currency' |
const CONVERSION_VALUE_DEFAULT = 0 |
const CONVERSION_VALUE_REGISTRY_NAME = 'google_adwords_conversion_value' |
const CONVERSION_VALUE_TYPE_DYNAMIC = 1 |
const XML_PATH_ACTIVE = 'google/adwords/active' |
const XML_PATH_CONVERSION_COLOR = 'google/adwords/conversion_color' |
const XML_PATH_CONVERSION_FORMAT = 'google/adwords/conversion_format' |
const XML_PATH_CONVERSION_ID = 'google/adwords/conversion_id' |
const XML_PATH_CONVERSION_IMG_SRC = 'google/adwords/conversion_img_src' |
const XML_PATH_CONVERSION_JS_SRC = 'google/adwords/conversion_js_src' |
const XML_PATH_CONVERSION_LABEL = 'google/adwords/conversion_label' |
const XML_PATH_CONVERSION_LANGUAGE = 'google/adwords/conversion_language' |
const XML_PATH_CONVERSION_VALUE = 'google/adwords/conversion_value' |
const XML_PATH_CONVERSION_VALUE_TYPE = 'google/adwords/conversion_value_type' |
const XML_PATH_LANGUAGE_CONVERT = 'google/adwords/language_convert' |
const XML_PATH_LANGUAGES = 'google/adwords/languages' |
const XML_PATH_SEND_CURRENCY = 'google/adwords/send_currency' |