Skip to content

Commit

Permalink
force do not track
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgeGoodall committed Dec 8, 2023
1 parent 70ea257 commit a3cbae9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/javascripts/cookies.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export function showCookieConfirmation () {

export function setTrackingCookies () {
var cookiesPolicy = JSON.parse(getCookie('cookies_policy'))
var doNotTrack = cookiesPolicy == null || !cookiesPolicy.usage
var doNotTrack = true; //cookiesPolicy == null || !cookiesPolicy.usage
if (doNotTrack) {
if(window.gaMeasurementId){
window[`ga-disable-${window.gaMeasurementId}`] = true;
Expand Down

0 comments on commit a3cbae9

Please sign in to comment.