From 53b35d9cd9c88da5790185c2f47976e3383955d1 Mon Sep 17 00:00:00 2001 From: frankknoll Date: Tue, 21 Mar 2023 11:05:56 +0100 Subject: [PATCH] tracking click_batchcode --- docs/batchCodeTable.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/batchCodeTable.js b/docs/batchCodeTable.js index dc6291d3a2c..2525ddd9121 100644 --- a/docs/batchCodeTable.js +++ b/docs/batchCodeTable.js @@ -155,6 +155,12 @@ class BatchCodeTableInitializer { tr.addClass('shown'); const batchcode = row.data()[thisClassInstance.#getColumnIndex('Batch')]; new HistogramView(uiContainer).displayHistogramView(thisClassInstance.#getCountry(), batchcode); + gtag( + 'event', + 'click_batchcode', + { + 'batchcode': batchcode + }); } }); }