Skip to content

Commit

Permalink
Adding Google Analytics to support basic page view data. The app is m…
Browse files Browse the repository at this point in the history
…ostly a canvas, so not much more we can do.
  • Loading branch information
lanceewing committed Apr 20, 2024
1 parent 54a829d commit 812f475
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions html/webapp/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,16 @@
<link href="styles.css" rel="stylesheet" type="text/css">
</head>

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

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

<body>
<div align="center" id="embed-html"></div>
<script type="text/javascript" src="dialog.js"></script>
Expand Down

0 comments on commit 812f475

Please sign in to comment.