Skip to content

Commit

Permalink
Merge pull request #3917 from sul-dlss/same-site
Browse files Browse the repository at this point in the history
  • Loading branch information
mjgiarlo authored Feb 8, 2024
2 parents a93aad2 + eb971a7 commit 2d7b60f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/javascript/analytics.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ gtag('js', new Date());

Blacklight.onLoad(function() {
// gtag set property and config
const config = {}
const config = { cookie_flags: 'SameSite=None;Secure' }
// To turn off analytics debug mode, exclude the parameter altogether (cannot just set to false)
//See https://support.google.com/analytics/answer/7201382?hl=en#zippy=%2Cgoogle-tag-websites
if (document.head.querySelector("meta[name=analytics_debug]").getAttribute('value') === "true") {
Expand Down

0 comments on commit 2d7b60f

Please sign in to comment.