Skip to content

Commit

Permalink
Merge pull request #1112 from neuroscout/analytics2
Browse files Browse the repository at this point in the history
Update Google Analytics directly into HTML
  • Loading branch information
adelavega committed Jul 2, 2023
2 parents e09ef00 + bb90268 commit 8232ca9
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker-compose.build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "2"
version: "3"
services:
neuroscout:
build: ./neuroscout
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.prod.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "2"
version: "3"
services:
neuroscout:
image: ghcr.io/neuroscout/neuroscout:latest
Expand Down
11 changes: 11 additions & 0 deletions neuroscout/frontend/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,17 @@
<title>Neuroscout</title>
<script async src="https://w.appzi.io/w.js?token=9vQ1A"></script>
<script defer data-domain="neuroscout.org" src="https://plausible.io/js/plausible.js"></script>

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

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

</head>
<body>
<div id="root"></div>
Expand Down

0 comments on commit 8232ca9

Please sign in to comment.