readding GA

This commit is contained in:
frankknoll
2023-04-17 14:34:43 +02:00
parent bd1996a339
commit 40ad1c94ba
2 changed files with 8 additions and 10 deletions

View File

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

View File

@@ -9,15 +9,14 @@
<meta content="width=device-width, initial-scale=1.0" name="viewport" /> <meta content="width=device-width, initial-scale=1.0" name="viewport" />
<title>Batch Codes of Coronavirus 2019 Vaccines</title> <title>Batch Codes of Coronavirus 2019 Vaccines</title>
<!-- Google tag (gtag.js) --> <!-- Google tag (gtag.js) -->
<!-- FK-TODO: reinsert --> <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> <script>
window.dataLayer = window.dataLayer || []; window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); } function gtag() { dataLayer.push(arguments); }
gtag('js', new Date()); gtag('js', new Date());
gtag('config', 'G-ERHYDH4P64'); gtag('config', 'G-ERHYDH4P64');
</script> --> </script>
<!-- Bootstrap --> <!-- Bootstrap -->
<link href="gentelella/vendors/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet" /> <link href="gentelella/vendors/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet" />
<!-- Font Awesome --> <!-- Font Awesome -->