switch head-meta-infos
This commit is contained in:
parent
410be2fb40
commit
b5d056fd83
@ -1,16 +1,16 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* vanilla-thunder/oxid-module-gtm
|
* This Software is the property of Data Development and is protected
|
||||||
* Google Tag Manager Integration for OXID eShop v6.2+
|
* by copyright law - it is NOT Freeware.
|
||||||
|
* Any unauthorized use of this software without a valid license
|
||||||
|
* is a violation of the license agreement and will be prosecuted by
|
||||||
|
* civil and criminal law.
|
||||||
|
* http://www.shopmodule.com
|
||||||
*
|
*
|
||||||
* This program is free software;
|
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||||
* you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation;
|
* @author D3 Data Development - Daniel Seifert <support@shopmodule.com>
|
||||||
* either version 3 of the License, or (at your option) any later version.
|
* @link http://www.oxidmodule.com
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
|
|
||||||
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
|
||||||
* You should have received a copy of the GNU General Public License along with this program; if not, see <http://www.gnu.org/licenses/>
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$style = '<style type="text/css">
|
$style = '<style type="text/css">
|
||||||
|
@ -1,16 +1,14 @@
|
|||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
/*
|
* This Software is the property of Data Development and is protected
|
||||||
* vanilla-thunder/oxid-module-gtm
|
* by copyright law - it is NOT Freeware.
|
||||||
* Google Tag Manager Integration for OXID eShop v6.2+
|
* Any unauthorized use of this software without a valid license
|
||||||
*
|
* is a violation of the license agreement and will be prosecuted by
|
||||||
* This program is free software;
|
* civil and criminal law.
|
||||||
* you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation;
|
* http://www.shopmodule.com
|
||||||
* either version 3 of the License, or (at your option) any later version.
|
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||||
*
|
* @author D3 Data Development - Daniel Seifert <support@shopmodule.com>
|
||||||
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
|
* @link http://www.oxidmodule.com
|
||||||
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
|
||||||
* You should have received a copy of the GNU General Public License along with this program; if not, see <http://www.gnu.org/licenses/>
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace D3\GoogleAnalytics4\Modules\Core;
|
namespace D3\GoogleAnalytics4\Modules\Core;
|
||||||
@ -30,6 +28,7 @@ class ViewConfig extends ViewConfig_parent
|
|||||||
{
|
{
|
||||||
if ($this->sContainerId === null)
|
if ($this->sContainerId === null)
|
||||||
{
|
{
|
||||||
|
|
||||||
$this->sContainerId = $this->getConfig()->getConfigParam('d3_gtm_sContainerID');
|
$this->sContainerId = $this->getConfig()->getConfigParam('d3_gtm_sContainerID');
|
||||||
}
|
}
|
||||||
return $this->sContainerId;
|
return $this->sContainerId;
|
||||||
@ -54,7 +53,7 @@ class ViewConfig extends ViewConfig_parent
|
|||||||
$oConfig = Registry::getConfig();
|
$oConfig = Registry::getConfig();
|
||||||
$oView = $oConfig->getTopActiveView();
|
$oView = $oConfig->getTopActiveView();
|
||||||
/** @var FrontendController $oShop */
|
/** @var FrontendController $oShop */
|
||||||
//$oShop = oxRegistry::getConfig()->getActiveShop(); /** @var oxShop $oShop */
|
|
||||||
$oUser = $oConfig->getUser();
|
$oUser = $oConfig->getUser();
|
||||||
|
|
||||||
$cl = $this->getTopActionClassName();
|
$cl = $this->getTopActionClassName();
|
||||||
@ -82,9 +81,7 @@ class ViewConfig extends ViewConfig_parent
|
|||||||
];
|
];
|
||||||
|
|
||||||
return json_encode([$dataLayer], JSON_PRETTY_PRINT);
|
return json_encode([$dataLayer], JSON_PRETTY_PRINT);
|
||||||
|
}
|
||||||
unset($dataLayer["user"]["http"]); // das brauchen wir hier nicht
|
|
||||||
|
|
||||||
|
|
||||||
public function isPromotionList($listId)
|
public function isPromotionList($listId)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user