Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Add GA cookie configs

ZachTRice714486715d2c
diff --git a/web/index.html b/web/index.html
index ac1cb880e..b11d189b4 100644
--- a/web/index.html
+++ b/web/index.html
@@ -23,6 +23,10 @@ Licensed under the NASA Open Source Agreement, Version 1.3 (https://opensource.g
})(window, document, 'script', 'dataLayer', '@GTM_ID@');
window.dataLayer = window.dataLayer || [];
+ function gtag(){dataLayer.push(arguments);}
+ gtag('js', new Date());
+
+ gtag('config', '@GTM_ID@', { cookie_flags: 'SameSite=None;HttpOnly;Secure' });
}
</script>
<!-- End Google Tag Manager -->