diff --git a/Modules/Core/ViewConfig.php b/Modules/Core/ViewConfig.php index 6d9fc0c..5df7d64 100644 --- a/Modules/Core/ViewConfig.php +++ b/Modules/Core/ViewConfig.php @@ -195,6 +195,11 @@ class ViewConfig extends ViewConfig_parent return json_encode([$dataLayer], JSON_PRETTY_PRINT); } + public function isDebugModeOn() :bool + { + return Registry::getConfig()->getConfigParam('d3_gtm_blEnableDebug'); + } + public function isPromotionList($listId) { $oConfig = Registry::getConfig();