Skip to content

Commit

Permalink
Remove more of Hubspot and Google Ads
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Palm committed Oct 28, 2024
1 parent 44b8dc0 commit 99e40b0
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions www/eproosystem.php
Original file line number Diff line number Diff line change
Expand Up @@ -323,28 +323,6 @@ public function __construct($config,$group='')
}
}

$activateDoubleClick = false;
/** @var Dataprotection $dataProtectionModule */
$dataProtectionModule = $this->loadModule('dataprotection');

if($dataProtectionModule !== null && $dataProtectionModule->isHubspotActive()) {
$activateDoubleClick = true;
$this->Tpl->Add(
'SCRIPTJAVASCRIPT',
'<script type="text/javascript" id="hs-script-loader" async defer src="//js.hs-scripts.com/6748263.js"></script>'
);
$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);
}
Expand Down

0 comments on commit 99e40b0

Please sign in to comment.