Skip to content

Commit fcdc5ec

Browse files
feat: add Google Analytics tracking and update SEO settings
1 parent 0a84e20 commit fcdc5ec

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

_config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ social:
2727
links:
2828
- https://github.com/fabrecostudio
2929

30-
# Google Analytics (optional - add your tracking ID if you have one)
31-
# google_analytics: UA-XXXXXXXXX-X
30+
# Google Analytics
31+
google_analytics: G-MHKN7PWVCP
3232

3333
# Additional SEO settings
3434
tagline: "Curated examples and templates for exceptional GitHub organization profiles"

_includes/head-custom.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<!-- Google tag (gtag.js) -->
2+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-MHKN7PWVCP"></script>
3+
<script>
4+
window.dataLayer = window.dataLayer || [];
5+
function gtag(){dataLayer.push(arguments);}
6+
gtag('js', new Date());
7+
8+
gtag('config', 'G-MHKN7PWVCP');
9+
</script>

0 commit comments

Comments
 (0)