Skip to content

Commit 6dba33b

Browse files
committed
google analytcs
1 parent bcd892f commit 6dba33b

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

github-pages/_layouts/default.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,16 @@
3333
<meta name="twitter:description" content="{{ page.description | default: site.description }}">
3434
<meta name="twitter:image" content="{{ site.url }}/assets/images/og-image.png">
3535

36+
<!-- Google tag (gtag.js) -->
37+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-X0F5FQ4W37"></script>
38+
<script>
39+
window.dataLayer = window.dataLayer || [];
40+
function gtag(){dataLayer.push(arguments);}
41+
gtag('js', new Date());
42+
43+
gtag('config', 'G-X0F5FQ4W37');
44+
</script>
45+
3646
<!-- Favicon -->
3747
<link rel="icon" type="image/svg+xml" href="{{ '/assets/images/favicon.svg' | relative_url }}">
3848

0 commit comments

Comments
 (0)