Skip to content

Commit

Permalink
Add Google Analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
spilth committed Sep 21, 2023
1 parent 7119f6b commit bf42ebc
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,19 @@

<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">

<script async src="https://www.googletagmanager.com/gtag/js?id=G-V7YKYMBT6D"></script>
<script>
window.dataLayer = window.dataLayer || [];

function gtag() {
dataLayer.push(arguments);
}

gtag('js', new Date());

gtag('config', 'G-V7YKYMBT6D');
</script>
</head>
<body>
<nav class="navbar navbar-expand-lg bg-body-tertiary">
Expand Down

0 comments on commit bf42ebc

Please sign in to comment.