Skip to content

Commit 86d1a3f

Browse files
committed
Replaced Google Analytics ID with up to date Google analytics code
1 parent d4e097b commit 86d1a3f

3 files changed

Lines changed: 18 additions & 2 deletions

File tree

_config.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,3 @@ exclude:
99

1010
title: Luca Franceschini
1111
show_downloads: false
12-
google_analytics: G-30MFXQLZ42
13-
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<!-- Global site tag (gtag.js) - Google Analytics -->
2+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-30MFXQLZ42"></script>
3+
<script>
4+
window.dataLayer = window.dataLayer || [];
5+
function gtag(){dataLayer.push(arguments);}
6+
gtag('js', new Date());
7+
8+
gtag('config', 'G-30MFXQLZ42');
9+
</script>

_includes/head-custom.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<!-- start custom head snippets, customize with your own _includes/head-custom.html file -->
2+
3+
<!-- Setup Google Analytics -->
4+
{% include head-custom-google-analytics.html %}
5+
6+
<!-- You can set your favicon here -->
7+
<!-- link rel="shortcut icon" type="image/x-icon" href="{{ '/favicon.ico' | relative_url }}" -->
8+
9+
<!-- end custom head snippets -->

0 commit comments

Comments
 (0)