Allow the execution of JavaScript in GTM is by adding a nonce to the script’s opening tag Changes to do in Magento In your custom module, utilize CSP Nonce Provider and pass the nonce to the JavaScript. For more details, refer to Basic Template Concepts in the Adobe Commerce Developer documentation. <?phpdeclare(strict_types=1);namespace DSSCSPBlock;use MagentoCspHelperCspNonceProvider;use MagentoFrameworkExceptionLocalizedException;use… Continue reading Sign Google Tag Manager (GTM) Custom HTML JavaScript with a Nonce