Skip to content

Commit

Permalink
Google analytics samesite flag secure set
Browse files Browse the repository at this point in the history
  • Loading branch information
Lillian Oostrom authored and Lillian Oostrom committed Dec 15, 2021
1 parent f5173f2 commit f4118c8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,12 @@
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-32274817-14', { 'anonymize_ip': true });
gtag('config', 'UA-32274817-14', {
cookie_flags: 'max-age=7200;secure;samesite=none'
} ,
{
'anonymize_ip': true
});
</script>

<!-- H1ML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
Expand Down

0 comments on commit f4118c8

Please sign in to comment.