diff --git a/Application/views/admin/de/module_options.php b/Application/views/admin/de/module_options.php
index 42c908d..555ae53 100755
--- a/Application/views/admin/de/module_options.php
+++ b/Application/views/admin/de/module_options.php
@@ -44,8 +44,8 @@ $aLang = [
'SHOP_MODULE_d3_gtm_settings_HAS_STD_MANAGER_USERCENTRICS' => 'usercentrics',
'SHOP_MODULE_d3_gtm_settings_HAS_STD_MANAGER_COOKIEFIRST' => 'cookiefirst',
'SHOP_MODULE_d3_gtm_settings_HAS_STD_MANAGER_COOKIEBOT' => 'Cookiebot',
- 'SHOP_MODULE_d3_gtm_settings_cookieName' => 'Steuerungsparameter',
- 'HELP_SHOP_MODULE_d3_gtm_settings_cookieName' => 'Nähere infos zum "Steuerungsparameter"
+ 'SHOP_MODULE_d3_gtm_settings_controlParameter' => 'Steuerungsparameter',
+ 'HELP_SHOP_MODULE_d3_gtm_settings_controlParameter' => 'Nähere infos zum "Steuerungsparameter"
Beachte:
Sofern Sie die consentmanager CMP verwenden,
bitte ich Sie, gründlichst, die Hinweise der Moduldokumentation/Consentmanager zu lesen.
diff --git a/Modules/Core/ViewConfig.php b/Modules/Core/ViewConfig.php
index 1ab7217..c0cf07f 100644
--- a/Modules/Core/ViewConfig.php
+++ b/Modules/Core/ViewConfig.php
@@ -33,7 +33,7 @@ class ViewConfig extends ViewConfig_parent
{
if ($this->sContainerId === null)
{
- $this->sContainerId = $this->getConfig()->getConfigParam('d3_gtm_sContainerID');
+ $this->sContainerId = Registry::getConfig()->getConfigParam('d3_gtm_sContainerID');
}
return $this->sContainerId;
}
@@ -74,7 +74,7 @@ class ViewConfig extends ViewConfig_parent
$this->defineCookieManagerType();
- $sCookieID = trim($oConfig->getConfigParam('d3_gtm_settings_cookieName'));
+ $sCookieID = trim($oConfig->getConfigParam('d3_gtm_settings_controlParameter'));
// Netensio Cookie Manager
if ($this->sCookieManagerType === ManagerTypes::NET_COOKIE_MANAGER) {
@@ -116,7 +116,7 @@ class ViewConfig extends ViewConfig_parent
*/
public function getGtmScriptAttributes() :string
{
- $sControlParameter = trim(Registry::getConfig()->getConfigParam('d3_gtm_settings_cookieName'));
+ $sControlParameter = trim(Registry::getConfig()->getConfigParam('d3_gtm_settings_controlParameter'));
if (false === $this->shallUseOwnCookieManager()){
return "";
@@ -157,7 +157,7 @@ class ViewConfig extends ViewConfig_parent
{
if ($this->blGA4enabled === null)
{
- $this->sContainerId = $this->getConfig()->getConfigParam('d3_gtm_blEnableGA4');
+ $this->sContainerId = Registry::getConfig()->getConfigParam('d3_gtm_blEnableGA4');
}
return $this->blGA4enabled;
diff --git a/metadata.php b/metadata.php
index f9dbe07..0d6ec7b 100755
--- a/metadata.php
+++ b/metadata.php
@@ -134,7 +134,7 @@ $aModule = [
],
[
'group' => 'd3_gtm_settings_cookiemanager',
- 'name' => 'd3_gtm_settings_cookieName',
+ 'name' => 'd3_gtm_settings_controlParameter',
'type' => 'str',
'value' => 'example',
'position' => 999