We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a90557 commit d24160eCopy full SHA for d24160e
govtool/frontend/index.html
@@ -26,8 +26,10 @@
26
var isPreview = window.location.hostname == "preview.gov.tools";
27
var isPreprod = window.location.hostname == "pre-prod.gov.tools";
28
29
- var siteId = "1";
30
- if (isPreview) {
+ var siteId;
+ if (isMainnet) {
31
+ siteId = "1";
32
+ } else if (isPreview) {
33
siteId = "2";
34
} else if (isPreprod) {
35
siteId = "4";
@@ -38,7 +40,7 @@
38
40
_paq.push(["trackPageView"]);
39
41
_paq.push(["enableLinkTracking"]);
42
(function () {
- if (!isPreview && !isMainnet) {
43
+ if (!siteId) {
44
return;
45
}
46
0 commit comments