From 99e40b0f1c155338c817b9dc47d8c871bdcfa025 Mon Sep 17 00:00:00 2001 From: Andreas Palm Date: Fri, 3 May 2024 10:10:19 +0200 Subject: [PATCH] Remove more of Hubspot and Google Ads --- www/eproosystem.php | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/www/eproosystem.php b/www/eproosystem.php index 985ff0b6..0c50f5bc 100644 --- a/www/eproosystem.php +++ b/www/eproosystem.php @@ -323,28 +323,6 @@ class erpooSystem extends Application } } - $activateDoubleClick = false; - /** @var Dataprotection $dataProtectionModule */ - $dataProtectionModule = $this->loadModule('dataprotection'); - - if($dataProtectionModule !== null && $dataProtectionModule->isHubspotActive()) { - $activateDoubleClick = true; - $this->Tpl->Add( - 'SCRIPTJAVASCRIPT', - '' - ); - $this->Tpl->Add( - 'ADDITIONALCSPHEADER', - ' js.hs-scripts.com js.hscollectedforms.net js.hsleadflows.net js.hs-banner.com js.hs-analytics.net api.hubapi.com js.hsadspixel.net ' - ); - $this->Tpl->Add( - 'ADDITIONALCSPHEADER', - 'forms.hubspot.com forms.hsforms.com track.hubspot.com www.google.com www.google.de ' - ); - } - if($activateDoubleClick) { - $this->Tpl->Add('ADDITIONALCSPHEADER', ' googleads.g.doubleclick.net ' ); - } $hooktpl = 'JSSCRIPTS'; $this->erp->RunHook('eproosystem_ende', 1, $hooktpl); }