Skip to content

Commit

Permalink
docs: Update cookie settings (#401)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveSkender authored Sep 9, 2024
1 parent 9889fa1 commit 01f03ab
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
9 changes: 7 additions & 2 deletions docs/_includes/scripts.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,13 @@

{%- if jekyll.environment == 'production' -%}
<!-- Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-MNKJE3KS9Y"></script>
<script async src="/assets/js/ga.js"></script>
<script defer src="https://www.googletagmanager.com/gtag/js?id=G-MNKJE3KS9Y"></script>
<script defer>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-MNKJE3KS9Y', { cookie_flags: 'SameSite=Lax; Secure' });
</script>

{%- if site.clarity == 'true' -%}
<!-- Clarity -->
Expand Down
4 changes: 0 additions & 4 deletions docs/assets/js/ga.js

This file was deleted.

0 comments on commit 01f03ab

Please sign in to comment.