49 if (!($this->_helper->isGoogleAdwordsActive() && $this->_helper->isDynamicConversionValue())) {
59 $conversionCurrency =
false;
60 $sendOrderCurrency = $this->_helper->hasSendConversionValueCurrency();
63 $conversionValue += $sendOrderCurrency ?
$order->getGrandTotal() :
$order->getBaseGrandTotal();
64 $conversionCurrency = $sendOrderCurrency ?
$order->getOrderCurrencyCode() :
false;
66 $this->_registry->register(
67 \
Magento\GoogleAdwords\Helper\Data::CONVERSION_VALUE_CURRENCY_REGISTRY_NAME,
70 $this->_registry->register(
71 \
Magento\GoogleAdwords\Helper\Data::CONVERSION_VALUE_REGISTRY_NAME,
__construct(\Magento\GoogleAdwords\Helper\Data $helper, \Magento\Framework\Registry $registry, \Magento\Sales\Model\ResourceModel\Order\Collection $collection)
execute(Observer $observer)