Skip to content

Commit

Permalink
Add new Google Analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
berkerol committed Nov 18, 2022
1 parent 54c11c6 commit 6b8cb89
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
9 changes: 5 additions & 4 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
<script>
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
ga('create', 'UA-122994978-1', 'auto');
ga('send', 'pageview');
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-RHDCCBW4R9');
</script>
<script async src='https://www.google-analytics.com/analytics.js'></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-RHDCCBW4R9"></script>
</head>
<body>

Expand Down
9 changes: 5 additions & 4 deletions typer.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<link rel="stylesheet" href="typer.css">
<script>
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
ga('create', 'UA-122994978-1', 'auto');
ga('send', 'pageview');
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-RHDCCBW4R9');
</script>
<script async src='https://www.google-analytics.com/analytics.js'></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-RHDCCBW4R9"></script>
<script async src="https://kit.fontawesome.com/a1c4b21e48.js"></script>
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/fpsmeter/0.3.1/fpsmeter.min.js"></script>
<script defer src="https://berkerol.github.io/libraries/canvas.js"></script>
Expand Down

0 comments on commit 6b8cb89

Please sign in to comment.