Skip to content

Commit 4391709

Browse files
Remove Fathom Analytics, add Google Analytics + cookie warning (#357)
### Description 1. Removes fathom 2. Adds Linux foundation standard cookie banner 3. Adds Linux foundation standard google analytics ### Issues Resolved #342 ### Check List - [x] Commits are signed per the DCO using `--signoff` By submitting this pull request, I confirm that my contribution is made under the terms of the BSD-3-Clause License. --------- Signed-off-by: Kyle J. Davis <kyledvs@amazon.com> Co-authored-by: Madelyn Olson <madelyneolson@gmail.com>
1 parent d0506d5 commit 4391709

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

templates/default.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,5 +112,9 @@
112112
</p>
113113
</div>
114114
</div>
115+
<!-- Google Tag Manager (noscript) -->
116+
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-MFFCB7SR"
117+
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
118+
<!-- End Google Tag Manager (noscript) -->
115119
</body>
116120
</html>

templates/includes/head.html

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,17 @@
4141
<!-- Nav JS -->
4242
<script src="/assets/js/nav.js"></script>
4343

44-
<!-- Fathom - beautiful, simple website analytics -->
45-
<script src="https://cdn.usefathom.com/script.js" data-site="FRZJYDAH" defer></script>
46-
<!-- / Fathom -->
44+
<!-- cookie banner, LF standard -->
45+
<script src="https://cmp.osano.com/16A0DbT9yDNIaQkvZ/31b1b91a-e0b6-47ea-bde2-7f2bd13dbe5c/osano.js?variant=one"></script>
46+
47+
<!-- google analytics, LF standard -->
48+
<!-- Google Tag Manager -->
49+
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
50+
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
51+
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
52+
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
53+
})(window,document,'script','dataLayer','GTM-MFFCB7SR');</script>
54+
<!-- End Google Tag Manager -->
4755

4856
{% if page and page.extra and page.extra.head_extra %}{{ page.extra.head_extra }}{% endif %}
4957
</head>

0 commit comments

Comments
 (0)