diff --git a/index.html b/index.html index 10f84fe..c59e35c 100644 --- a/index.html +++ b/index.html @@ -59,8 +59,8 @@

CSMS Claims and Neighbors

- - + +
View in Google Maps View in Gaia GPS @@ -88,7 +88,7 @@ event.preventDefault(); const token = generateToken(16); localStorage.setItem('gaiaAccessToken', token); - const url = `https://csms.argobox.com/redirect/gaia-gps?token=${token}`; + const url = `/redirect/gaia-gps?token=${token}`; gtag('event', 'click', { 'event_category': 'Outbound Link', 'event_label': 'Gaia GPS', @@ -101,9 +101,20 @@ event.preventDefault(); const token = generateToken(16); localStorage.setItem('googleMapsAccessToken', token); - const url = `https://csms.argobox.com/redirect/google-maps?token=${token}`; + const url = `/redirect/google-maps?token=${token}`; gtag('event', 'click', { 'event_category': 'Outbound Link', 'event_label': 'Google Maps', 'value': url - + }); + window.location.href = url; + }); + }); + + function acceptConsent() { + localStorage.setItem('consentGiven', 'true'); + document.getElementById('consent-banner').style.display = 'none'; + } + + +