You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
<Analyticsnonce="8IBTHwOdqNKAWeKl7plt8g=="/>
The text was updated successfully, but these errors were encountered:
wkelly1
changed the title
Allow nonce as optional prop in analytics component for content security policy
Feature Request: Allow nonce as optional prop in analytics component for content security policy
Dec 25, 2023
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.The text was updated successfully, but these errors were encountered: