aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorChristine Dodrill <me@christine.website>2021-01-15 13:53:20 -0500
committerChristine Dodrill <me@christine.website>2021-01-15 13:53:20 -0500
commit585d39ea62423375a92d37d337d6d1b1c5628cf4 (patch)
tree7ef24394b0235855cbc251587c6da9cce726ac39 /templates
parent201abedb14394ebe02f9e46e3542b679164ab2f4 (diff)
downloadxesite-585d39ea62423375a92d37d337d6d1b1c5628cf4.tar.xz
xesite-585d39ea62423375a92d37d337d6d1b1c5628cf4.zip
install google tag manager
Signed-off-by: Christine Dodrill <me@christine.website>
Diffstat (limited to 'templates')
-rw-r--r--templates/header.rs.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/templates/header.rs.html b/templates/header.rs.html
index a1e2d4d..62176ef 100644
--- a/templates/header.rs.html
+++ b/templates/header.rs.html
@@ -5,6 +5,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
+ <!-- Google Tag Manager -->
+ <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
+ new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
+ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
+ 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
+ })(window,document,'script','dataLayer','GTM-WLWJSHT');</script>
+ <!-- End Google Tag Manager -->
@if title.is_some() {
<title>@title.unwrap() - Christine Dodrill</title>
} else {
@@ -46,6 +53,10 @@
}
</head>
<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">
<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>