diff --git a/src/Fragments/GoogleTagManager.php b/src/Fragments/GoogleTagManager.php index 35de3e0..c7b574a 100644 --- a/src/Fragments/GoogleTagManager.php +++ b/src/Fragments/GoogleTagManager.php @@ -45,6 +45,7 @@ public static function enableGTM(Policy $policy): void // however to provide a default backup for other digital marketing tools like Adobe tag manager // which can call gtag.js script without applying a nonce, whitelisting the GTM domain is required. ->addDirective(Directive::SCRIPT, 'https://www.googletagmanager.com') + ->addDirective(Directive::FRAME, 'https://www.googletagmanager.com') ->addDirective(Directive::IMG, 'https://www.googletagmanager.com'); }