actually use google analytics

Signed-off-by: Christine Dodrill <me@christine.website>
This commit is contained in:
Cadey Ratio 2021-01-15 14:10:56 -05:00
parent 811995223c
commit 1ffc4212d6
1 changed files with 9 additions and 11 deletions

View File

@ -5,13 +5,15 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<!-- Google Tag Manager --> <!-- Global site tag (gtag.js) - Google Analytics -->
<script>(function(w,d,s,l,i)@{w[l]=w[l]||[];w[l].push(@{'gtm.start': <script async src="https://www.googletagmanager.com/gtag/js?id=G-XLJX94YGBV"></script>
new Date().getTime(),event:'gtm.js'@});var f=d.getElementsByTagName(s)[0], <script>
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= window.dataLayer = window.dataLayer || [];
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); function gtag(){dataLayer.push(arguments);}
@})(window,document,'script','dataLayer','GTM-WLWJSHT');</script> gtag('js', new Date());
<!-- End Google Tag Manager -->
gtag('config', 'G-XLJX94YGBV');
</script>
@if title.is_some() { @if title.is_some() {
<title>@title.unwrap() - Christine Dodrill</title> <title>@title.unwrap() - Christine Dodrill</title>
} else { } else {
@ -53,10 +55,6 @@
} }
</head> </head>
<body class="snow hack gruvbox-dark"> <body class="snow hack gruvbox-dark">
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WLWJSHT"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<div class="container"> <div class="container">
<header> <header>
<p><a href="/">Christine Dodrill</a> - <a href="/blog">Blog</a> - <a href="/contact">Contact</a> - <a href="/gallery">Gallery</a> - <a href="/resume">Resume</a> - <a href="/talks">Talks</a> - <a href="/signalboost">Signal Boost</a> - <a href="/feeds">Feeds</a> | <a target="_blank" rel="noopener noreferrer" href="https://graphviz.christine.website">GraphViz</a> - <a target="_blank" rel="noopener noreferrer" href="https://when-then-zen.christine.website/">When Then Zen</a></p> <p><a href="/">Christine Dodrill</a> - <a href="/blog">Blog</a> - <a href="/contact">Contact</a> - <a href="/gallery">Gallery</a> - <a href="/resume">Resume</a> - <a href="/talks">Talks</a> - <a href="/signalboost">Signal Boost</a> - <a href="/feeds">Feeds</a> | <a target="_blank" rel="noopener noreferrer" href="https://graphviz.christine.website">GraphViz</a> - <a target="_blank" rel="noopener noreferrer" href="https://when-then-zen.christine.website/">When Then Zen</a></p>