Feature Request: Allow nonce as optional prop in analytics component for content security policy
wkelly1 opened this issue · 1 comments
wkelly1 commented
The analytics component inserts a script tag but does not allow you to specify a nonce. This means that if the script-src
content security policy header is set to use a nonce then it won't be loaded.
Proposed change
It would be helpful if the analytics component could have a nonce
prop which gets added to the script tag.
<Analytics nonce="8IBTHwOdqNKAWeKl7plt8g=="/>