@@ -34,20 +34,21 @@ function Layout(props) {
3434 return (
3535 < >
3636 < Head >
37- { /* TODO: figure out how to get analytics to work with server rendered */ }
3837 { /* Global site tag (gtag.js) - Google Analytics */ }
39- { /* <script async src="https://www.googletagmanager.com/gtag/js?id=UA-128287631-2"></script>
40- <script>
41- window.dataLayer = window.dataLayer || [];
42- function gtag(){dataLayer.push(arguments)}
43- gtag('js', new Date());
44- gtag('config', 'UA-128287631-2');
45- </script> */ }
38+ < script async src = "https://www.googletagmanager.com/gtag/js?id=UA-128287631-2" > </ script >
39+ < script
40+ dangerouslySetInnerHTML = { {
41+ __html :`
42+ window.dataLayer = window.dataLayer || [];
43+ function gtag(){dataLayer.push(arguments)}
44+ gtag('js', new Date());
45+ gtag('config', 'UA-128287631-2');
46+ `
47+ } }
48+ />
4649
4750 < title > Jason Roundtree - Blog</ title >
4851 < meta name = "viewport" content = "initial-scale=1.0, width=device-width" />
49- { /* <link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600&display=swap" rel="stylesheet"></link>
50- <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500&display=swap" rel="stylesheet"></link> */ }
5152 < link href = "https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@200;300;400& display = swap " rel = "stylesheet" > </ link >
5253 < link href = "https://fonts.googleapis.com/css2?family=Nanum+Gothic+Coding& display = swap " rel = "stylesheet" > </ link >
5354 < link href = "https://fonts.googleapis.com/css2?family=Cuprum& family = Fjalla + One & display = swap " rel = "stylesheet" > </ link >
0 commit comments