reactivating GA

This commit is contained in:
frankknoll
2023-04-16 21:51:02 +02:00
parent 6cc39d8a28
commit 6611bd6e8d
2 changed files with 10 additions and 11 deletions

View File

@@ -1,12 +1,11 @@
class GoogleAnalytics {
static click_batchcode(batchcode) {
// FK-TODO: wieder aktivieren
// gtag(
// 'event',
// 'click_batchcode',
// {
// 'batchcode': batchcode
// });
gtag(
'event',
'click_batchcode',
{
'batchcode': batchcode
});
}
}

View File

@@ -9,15 +9,14 @@
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
<title>Batch Codes of Coronavirus 2019 Vaccines</title>
<!-- Google tag (gtag.js) -->
<!-- FK-TODO: wieder aktivieren: -->
<!-- <script async="" src="https://www.googletagmanager.com/gtag/js?id=G-ERHYDH4P64"></script>
<script async="" src="https://www.googletagmanager.com/gtag/js?id=G-ERHYDH4P64"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-ERHYDH4P64');
</script> -->
</script>
<!-- Bootstrap -->
<link href="gentelella/vendors/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet" />
<!-- Font Awesome -->
@@ -49824,7 +49823,8 @@
<dt>Last updated:</dt>
<dd id="last_updated">April 07, 2023</dd>
</dl>
<span id="forkongithub"><a href="https://github.com/KnollFrank/HowBadIsMyBatch" target="_blank">Fork me on GitHub</a></span>
<span id="forkongithub"><a href="https://github.com/KnollFrank/HowBadIsMyBatch" target="_blank">Fork me on
GitHub</a></span>
<div class="clearfix"></div>
</footer>
</div>