Skip to content

Commit

Permalink
Forgot to load GA
Browse files Browse the repository at this point in the history
  • Loading branch information
howardjp committed Jun 28, 2024
1 parent b0190fa commit 18848b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions _includes/jsloads.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,5 @@
});
</script>

<script async src="https://www.googletagmanager.com/gtag/js?id=G-FSDET4HG4L"></script>
<script src="{{ '/assets/js/cookiealert.js' | relative_url }}"></script>
1 change: 1 addition & 0 deletions assets/js/cookiealert.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
setCookie("acceptCookies", true, 365);
cookieAlert.classList.remove("show");

window['ga-disable-G-FSDET4HG4L'] = false;
startGoogleAnalytics("G-FSDET4HG4L")
// dispatch the accept event
window.dispatchEvent(new Event("cookieAlertAccept"))
Expand Down

0 comments on commit 18848b7

Please sign in to comment.