Skip to content

Commit

Permalink
Merge pull request #314 from ThaneshR/same-site-none-secure
Browse files Browse the repository at this point in the history
add SameSite and Secure attribute to cookie
  • Loading branch information
LKaemmerling authored Mar 26, 2022
2 parents cf6b208 + 5e843b5 commit 81ace48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/src/js/tracker.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
str += ';expires='+args.expires.toUTCString();
}

document.cookie = str;
document.cookie = str + ';SameSite=None;Secure';
}

function newVisitorData() {
Expand Down

0 comments on commit 81ace48

Please sign in to comment.