aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Mah <[email protected]>2020-05-27 22:06:50 -0700
committerGitHub <[email protected]>2020-05-27 22:06:50 -0700
commitbbfad0669c0631c30c69c2c2b438dec6913672a1 (patch)
tree37a35f104265e0e613faadd9cf3c64e0eb79819c
parentMerge pull request #41 from jackyzha0/mobile-improvements (diff)
parentadd g analytics tag (diff)
downloadctrl-v-bbfad0669c0631c30c69c2c2b438dec6913672a1.tar.xz
ctrl-v-bbfad0669c0631c30c69c2c2b438dec6913672a1.zip
Merge pull request #42 from jackyzha0/analytics
add g analytics tag
-rw-r--r--frontend/public/index.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/frontend/public/index.html b/frontend/public/index.html
index 324627b..0a92619 100644
--- a/frontend/public/index.html
+++ b/frontend/public/index.html
@@ -12,6 +12,15 @@
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/jackyzha0/[email protected]/src/lite.css">
<link href="https://fonts.googleapis.com/css2?family=Lora:wght@400;600&family=Roboto+Mono&display=swap" rel="stylesheet">
<title>ctrl-v | a modern, open-source pastebin </title>
+ <!-- Global site tag (gtag.js) - Google Analytics -->
+ <script async src="https://www.googletagmanager.com/gtag/js?id=G-DE1TYY2F24"></script>
+ <script>
+ window.dataLayer = window.dataLayer || [];
+ function gtag() { dataLayer.push(arguments); }
+ gtag('js', new Date());
+
+ gtag('config', 'G-DE1TYY2F24');
+ </script>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>