Skip to content

Commit

Permalink
fix analytics setup
Browse files Browse the repository at this point in the history
  • Loading branch information
DenysVuika committed Feb 3, 2024
1 parent 8871376 commit e533a6a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
1 change: 0 additions & 1 deletion book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ title = "Angular Book"
[output.html]
git-repository-url = "https://github.com/DenysVuika/angular-book"
cname = "angular-book.dev"
google-analytics = "G-23X2CQXZ48"
10 changes: 10 additions & 0 deletions theme/head.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

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

0 comments on commit e533a6a

Please sign in to comment.