Skip to content

Commit

Permalink
added SameSite and Secure attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
ThaneshR authored May 8, 2020
1 parent 69baac5 commit 5e843b5
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 5e843b5

Please sign in to comment.