nuxt-community / gtm-module

Google Tag Manager Module for Nuxt.js
MIT License
326 stars 70 forks source link

How to add nonce attribute in script tag for CSP allow? #25

Open adrian1207 opened 4 years ago

adrian1207 commented 4 years ago

Hey, as I said in title, how can I use this solution:

https://developers.google.com/tag-manager/web/csp

It needs to add nonce attribute to script tag, then GTM is propagating this nonce for every external script for my CSP to not block it.

monisnap-julien commented 4 years ago

Hello, I am also interested in this feature. Do you think it could be launch soon ?

kraiyons commented 2 years ago

I am also interested in this feature

yosiawan commented 2 years ago

Anyone found a workaround for this in the meantime?

abarkhurstZR commented 1 year ago

Not the same, but similar...I'd like to know how to change the script type to text/partytown so that all the GTM scripts run in a web worker using Partytown. Thanks!