mirror of
https://github.com/peeringdb/peeringdb.git
synced 2024-05-11 05:55:09 +00:00
set samesite on google analytics cookies (#1358)
This commit is contained in:
@@ -75,7 +75,7 @@
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
gtag('config', '{{ GOOGLE_ANALYTICS_ID }}');
|
||||
gtag('config', '{{ GOOGLE_ANALYTICS_ID }}', {cookie_flags: 'SameSite=None;Secure'});
|
||||
</script>
|
||||
{% endif %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user