Skip to content

Commit 09dcfa5

Browse files
committed
add analytics
1 parent 0a43477 commit 09dcfa5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

source/_templates/home.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
<!doctype html>
22
<html lang=en>
33
<head>
4+
<!-- Google tag (gtag.js) -->
5+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-35GQBT0DZP"></script>
6+
<script>
7+
window.dataLayer = window.dataLayer || [];
8+
function gtag(){dataLayer.push(arguments);}
9+
gtag('js', new Date());
10+
gtag('config', 'G-35GQBT0DZP');
11+
</script>
412
<meta charset=utf-8>
513
<title>{{ project }}</title>
614
<meta name=description content="{{ description }}">

0 commit comments

Comments
 (0)