Skip to content

Commit 81fc56a

Browse files
committed
feat: Add GoatCounter analytics script for production builds.
1 parent d6c011b commit 81fc56a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

public/index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@
1616
-->
1717
<link rel="manifest" href="/manifest.json" />
1818
<title>BMS Report</title>
19+
<% if (process.env.NODE_ENV === 'production') { %>
20+
<script data-goatcounter="https://bms-report.goatcounter.com/count"
21+
async src="//gc.zgo.at/count.js"></script>
22+
<% } %>
1923
</head>
2024
<body>
2125
<noscript>You need to enable JavaScript to run this app.</noscript>

0 commit comments

Comments
 (0)