From 4c10aa06ca8241c5ebefc77f307ff6a34fdafb7a Mon Sep 17 00:00:00 2001 From: SusiKober Date: Tue, 28 Jul 2015 13:13:19 +0000 Subject: [PATCH] #3961 --- .../modules/components/d3_oxcmp_utils_googleanalytics.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/copy_this/modules/d3/d3_googleanalytics/modules/components/d3_oxcmp_utils_googleanalytics.php b/copy_this/modules/d3/d3_googleanalytics/modules/components/d3_oxcmp_utils_googleanalytics.php index 32bd95e..0de8f07 100644 --- a/copy_this/modules/d3/d3_googleanalytics/modules/components/d3_oxcmp_utils_googleanalytics.php +++ b/copy_this/modules/d3/d3_googleanalytics/modules/components/d3_oxcmp_utils_googleanalytics.php @@ -55,9 +55,12 @@ class d3_oxcmp_utils_googleanalytics extends d3_oxcmp_utils_googleanalytics_pare $oParentView->addTplParam('blD3GAIsMobile', $this->d3isMobile()); $oParentView->addTplParam('iD3GASendNoBounceEventTime', $this->d3GetSendNoBounceEventTime()); + if ($oSet->getValue('sD3GATSActive')) { + $oParentView->addTplParam('sD3CurrentGTSLang', $this->d3GetGTSLang()); + } + if ($oSet->getValue('sD3GATSActive') && $oSet->getValue('sD3GATSShoppingActive')) { $aInfos = $this->d3GATSGetProdInfos(); - $oParentView->addTplParam('sD3CurrentGTSLang', $this->d3GetGTSLang()); $oParentView->addTplParam('sD3GATSProdId', $this->d3GATSGetProdIdList($aInfos['aArtIdList'])); }