Updated csp and headers

This commit is contained in:
2022-01-18 13:59:44 +00:00
parent 674dcef43e
commit 5af7b78a44
5 changed files with 54 additions and 17 deletions
+2 -1
View File
@@ -1,8 +1,9 @@
import React, { Fragment } from "react";
export const Tracking = ({ googleTagManagerID }) => (
export const Tracking = ({ googleTagManagerID, nonce }) => (
<Fragment>
<script
nonce={nonce}
dangerouslySetInnerHTML={{
__html: `(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],