elgorditosalsero / react-gtm-hook

Easily manage the Google Tag Manager via Hook
https://elgorditosalsero-react-gtm-hook.netlify.app/
MIT License
220 stars 28 forks source link

Add a nonce attribute to the dataLayer script #43

Closed perfectial-stepan-mandryka closed 2 years ago

perfectial-stepan-mandryka commented 2 years ago

The inline dataLayer script is missing the nonce parameter, so the CSP support isn't complete.