We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fff5963 commit d70d07fCopy full SHA for d70d07f
1 file changed
classes/Hook/HookDisplayHeader.php
@@ -54,10 +54,6 @@ public function run()
54
return '';
55
}
56
57
- if (Configuration::get('GA_TRACK_BACKOFFICE_DISABLED') && $this->backOffice) {
58
- return '';
59
- }
60
-
61
$this->context->controller->addJs($this->module->getPathUri() . 'views/js/GoogleAnalyticActionLib.js');
62
63
$shops = Shop::getShops();
@@ -81,6 +77,7 @@ public function run()
81
77
$this->context->smarty->assign(
82
78
[
83
79
'backOffice' => $this->backOffice,
80
+ 'trackBackOfficeDisabled' => Configuration::get('GA_TRACK_BACKOFFICE_DISABLED'),
84
'currentShopId' => $currentShopId,
85
'userId' => $userId,
86
'gaAccountId' => Tools::safeOutput(Configuration::get('GA_ACCOUNT_ID')),
0 commit comments