diff --git a/docs/GoogleAnalytics.js b/docs/GoogleAnalytics.js index 909e50f25e9..f4d2aee8eef 100644 --- a/docs/GoogleAnalytics.js +++ b/docs/GoogleAnalytics.js @@ -1,34 +1,22 @@ class GoogleAnalytics { static click_batchcode(batchcode) { - gtag( - 'event', - 'click_batchcode', - { - 'batchcode': batchcode - }); + // FK-TODO: uncomment + // gtag( + // 'event', + // 'click_batchcode', + // { + // 'batchcode': batchcode + // }); } static view_search_results(search_term) { - gtag( - 'event', - 'view_search_results', - { - 'search_term': search_term - }); - } - - static countrySelected(country) { - gtag( - "event", - "select_item", - { - item_list_id: "countrySelect", - items: [ - { - item_id: country, - } - ] - }); + // FK-TODO: uncomment + // gtag( + // 'event', + // 'view_search_results', + // { + // 'search_term': search_term + // }); } } diff --git a/docs/HistoDescrsProvider.js b/docs/HistoDescrsProvider.js index eda30dcd04d..c20aeb72206 100644 --- a/docs/HistoDescrsProvider.js +++ b/docs/HistoDescrsProvider.js @@ -1,7 +1,7 @@ class HistoDescrsProvider { - static getHistoDescrs(country, batchcode) { - return fetch(`data/histograms/${country}/${batchcode}.json`) + static getHistoDescrs(batchcode) { + return fetch(`data/histograms/Global/${batchcode}.json`) .then(response => response.json()) .then(histoDescrs => { histoDescrs.histograms.sort((histoDescr1, histoDescr2) => histoDescr1.batchcodes.length - histoDescr2.batchcodes.length); diff --git a/docs/HistogramView.js b/docs/HistogramView.js index 79863b44eb0..e854a150554 100644 --- a/docs/HistogramView.js +++ b/docs/HistogramView.js @@ -6,17 +6,17 @@ class HistogramView { this.#uiContainer = uiContainer } - displayHistogramView(country, batchcode) { + displayHistogramView(batchcode) { this - .#loadHistoDescrs(country, batchcode) + .#loadHistoDescrs(batchcode) .then(histoDescrs => this.#displayHistogramViewForHistoDescrs(histoDescrs)); } - #loadHistoDescrs(country, batchcode) { + #loadHistoDescrs(batchcode) { const loadingText = document.createTextNode('Loading...'); this.#uiContainer.appendChild(loadingText); return HistoDescrsProvider - .getHistoDescrs(country, batchcode) + .getHistoDescrs(batchcode) .then(histoDescrs => { loadingText.remove(); return histoDescrs; diff --git a/docs/batchCodeTable.html b/docs/batchCodeTable.html index 5d262ebdbad..e96050cb957 100644 --- a/docs/batchCodeTable.html +++ b/docs/batchCodeTable.html @@ -1,78 +1,72 @@ - - -Batch Codes of Coronavirus 2019 Vaccines - - - + + + + + + + + + + + + + + -Fork me on GitHub -

Batch Codes of Coronavirus 2019 Vaccines

-

- -

-

-

-Check out your batch code (Last updated: March 31, 2023) + Fork me on GitHub +

Batch Codes of Coronavirus 2019 Vaccines

+

+ Check out your batch code (Last updated: March 31, 2023)

- - - - - - - - - - - - - - - -
BatchAdverse Reaction ReportsDeathsDisabilitiesLife Threatening IllnessesCompanyCountriesSevere reportsLethality
-

Data Source: -Vaccine Adverse Event Reporting System + + + + + + + + + + + + + + +
BatchAdverse Reaction ReportsDeathsDisabilitiesLife Threatening IllnessesCompanySevere reportsLethality
+

Data Source: + Vaccine Adverse Event Reporting System (VAERS)