We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e1b0250 + a16fd3a commit d9504ccCopy full SHA for d9504cc
1 file changed
src/server/utils.tsx
@@ -37,6 +37,17 @@ export const BaseHeader = () => {
37
<link rel="icon" type="image/svg+xml" href={getAssetPath("/logo.svg")} />
38
<link rel="stylesheet" href={getAssetPath("/src/client/index.css")} />
39
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
40
+ {/* Google Analytics */}
41
+ <script
42
+ async
43
+ src="https://www.googletagmanager.com/gtag/js?id=G-9FM9TCREF6"
44
+ />
45
+ <script>
46
+ {`window.dataLayer = window.dataLayer || [];
47
+ function gtag(){dataLayer.push(arguments);}
48
+ gtag('js', new Date());
49
+ gtag('config', 'G-9FM9TCREF6');`}
50
+ </script>
51
</>
52
);
53
};
0 commit comments