20d7e690abf561e49c6b5318204cc2c9958338e5 jnavarr5 Wed Apr 17 11:27:49 2024 -0700 Updating the analytics keys to use the correct ones for the data stream, refs #33272 diff --git src/hg/js/analytics.js src/hg/js/analytics.js index 5219c53..6b948a0 100644 --- src/hg/js/analytics.js +++ src/hg/js/analytics.js @@ -1,32 +1,32 @@ // analytics.js - Javascript for use in static html page footer code // Copyright (C) 2020 The Regents of the University of California document.body.onload = addGtag; function addGtag() { var hostName = location.hostname; var analyticsKey = "G-EGJY1746VM"; if (hostName.search("genome.ucsc") > -1) { analyticsKey = "G-P5EV0BL192"; } else if (hostName.search("hgw[0-9]") > -1) { analyticsKey = "G-P5EV0BL192"; } else if (hostName.search("genome-euro") > -1) { - analyticsKey = "G-P5EV0BL192"; + analyticsKey = "G-XDB54C19MG"; } else if (hostName.search("genome-asia") > -1) { - analyticsKey = "G-P5EV0BL192"; + analyticsKey = "G-Z7QQFEZN0L"; } else if (hostName.search("genome-test") > -1) { analyticsKey = "G-RT83HV74PS"; } else if (hostName.search("hgwdev.gi") > -1) { analyticsKey = "G-RT83HV74PS"; } else if (hostName.search("hgwbeta") > -1) { analyticsKey = "G-X4EVCTYJ3E"; } else if (hostName.search("genome-preview") > -1) { analyticsKey = "G-S8DG7ZEQDB"; } else if (hostName.search("hgwalpha") > -1) { analyticsKey = "G-S8DG7ZEQDB"; } else if (hostName.search("hgdownload") > -1) { analyticsKey = "G-PWFD1NPDNM"; } else if (hostName.search("hgwdev-hiram") > -1) { analyticsKey = "G-GTG3B0HBYJ"; }