Skip to content

Commit

Permalink
Update Google Analytics tag
Browse files Browse the repository at this point in the history
  • Loading branch information
dsoegijono authored Jun 26, 2024
1 parent 15fd7d9 commit e047f77
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,14 @@

<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet">
<link href='http://fonts.googleapis.com/css?family=Lato:300,400|Raleway' rel='stylesheet' type='text/css'>

<!-- Google analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-52182415-1', 'dsoegijono.github.io');
ga('send', 'pageview');

</script>

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-FV9F449DJ8"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-FV9F449DJ8');
</script>
</head>

0 comments on commit e047f77

Please sign in to comment.