about summary refs log tree commit diff
path: root/learn/static/index.html
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-03-10T15·00+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-03-10T15·00+0000
commitd408915cfdf7c9012e777e7212319d4fad049259 (patch)
tree14c7e6aa29ede9bcf2d65a16b7681134317fdec7 /learn/static/index.html
parentc06d93a275ec2d02c3a65e56f0daecd4bde25552 (diff)
Add Google Analytics to learn.wpcarro.dev
Ten people have visited https://learn.wpcarro.dev, but no one has emailed me
yet. I'd like to learn more about how people are using my website.
Diffstat (limited to 'learn/static/index.html')
-rw-r--r--learn/static/index.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/learn/static/index.html b/learn/static/index.html
index 53497668f3d0..f1808e722a15 100644
--- a/learn/static/index.html
+++ b/learn/static/index.html
@@ -55,5 +55,15 @@
     <footer class="mb-8">
       <p class="text-center">Why delay? Start today.</p>
     </footer>
+    <!-- Global site tag (gtag.js) - Google Analytics -->
+    <script async src="https://www.googletagmanager.com/gtag/js?id=UA-160226702-1">
+    </script>
+    <script>
+     window.dataLayer = window.dataLayer || [];
+     function gtag(){dataLayer.push(arguments);}
+     gtag('js', new Date());
+
+     gtag('config', 'UA-160226702-1');
+    </script>
   </body>
 </html>