Skip to content

Commit

Permalink
Update Google Analytics to GA4
Browse files Browse the repository at this point in the history
Update:
• Update Google Analytics to GA4

Bug fix:
• Fixed issues with service worker trying to cache itself
• Fixed issue where colours of radio buttons were displaying incorrectly
  • Loading branch information
AlexJSully committed Jun 6, 2022
1 parent da804ee commit a63794d
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 7 deletions.
2 changes: 1 addition & 1 deletion cgi-bin/core/serviceWorker/sw.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion cgi-bin/core/serviceWorker/sw.js.map

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions cgi-bin/core/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,28 @@ a {
border-color: #6c757d !important;
}

.navbar_menu_buttons.navbar_radio_buttons {
color: rgb(0, 0, 0) !important;
background-color: #d9d9d9 !important;
border-color: #d9d9d9 !important;
}

.navbar_menu_buttons.navbar_radio_buttons:hover {
background-color: #c5c3c3 !important;
border-color: #99cc0080 !important;
}

.navbar_menu_buttons.navbar_radio_buttons.active {
color: #fff !important;
background-color: #565e64 !important;
border-color: #565e64 !important;
}

.navbar_menu_buttons.navbar_radio_buttons.active:hover {
background-color: #464d52 !important;
border-color: #99cc0080 !important;
}

.navbar_menu_footer_help {
color: white;
line-height: 100%;
Expand Down
2 changes: 1 addition & 1 deletion cgi-bin/core/style.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,15 +104,15 @@
<script async rel="preload" as="script" src="cgi-bin/core/packages/GoogleMaterial/material.min.js"></script>
<!-- END Google APIs-->
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async rel="preconnect" src="https://www.googletagmanager.com/gtag/js?id=UA-38961857-5"></script>
<script async rel="preconnect" src="https://www.googletagmanager.com/gtag/js?id=G-RB9VJGE97E"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());

gtag("config", "UA-38961857-5");
gtag("config", "G-RB9VJGE97E");
</script>
<!-- End Global site tag (gtag.js) - Google Analytics -->
<!-- Google Tag Manager -->
Expand Down Expand Up @@ -322,7 +322,7 @@
>
<label
id="abs_radio"
class="btn navbar_menu_buttons btn-secondary active disableOnLoading"
class="btn navbar_menu_buttons navbar_radio_buttons btn-secondary active disableOnLoading"
style="font-size: 1.5em"
data-value="abs"
onClick="switchRPKMMode(this.id)"
Expand All @@ -331,7 +331,7 @@
</label>
<label
id="rel_radio"
class="btn navbar_menu_buttons btn-secondary disableOnLoading"
class="btn navbar_menu_buttons navbar_radio_buttons btn-secondary disableOnLoading"
style="font-size: 1.5em"
data-value="rel"
onClick="switchRPKMMode(this.id)"
Expand Down

0 comments on commit a63794d

Please sign in to comment.