Skip to content

Commit bf5f2de

Browse files
added nonce to analytics (#953)
Co-authored-by: Carrie Arnold <cmarnold@tacc.utexas.edu>
1 parent 72350e4 commit bf5f2de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

taccsite_cms/templates/analytics.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</script>
66
{% else %}
77
<!-- Global site tag (gtag.js) & Google Analytics Code for Site. -->
8-
<script async src="https://www.googletagmanager.com/gtag/js?id={{ settings.GOOGLE_ANALYTICS_PROPERTY_ID }}"></script>
8+
<script async nonce="CSP_NONCE" src="https://www.googletagmanager.com/gtag/js?id={{ settings.GOOGLE_ANALYTICS_PROPERTY_ID }}"></script>
99

1010
<!-- Analytics Code -->
1111
<script>

0 commit comments

Comments
 (0)