In browsers where opt-out has been set, the effectiveness of KARTE Blocks on websites will no longer be track or delivered.
Setting opt-out
Please run the following script on the site where you want to set up opt-out.
(function(){var dm= location.host;var dt=new Date();dt.setTime(dt.getTime()+3600*24*1000*365*2);document.cookie='blocks_oo=1;domain=.'+dm+';expires='+dt.toGMTString()+';path=/';window.localStorage.setItem('blocks_oo',JSON.stringify({val:= 1,expire:dt.getTime(),last:new Date().getTime(),}),);})();
- Visit the site and open Chrome DevTools (right-click on the browser and select Inspect)
- Enter the above script in the Console tab
How to check the operation of opt out
- Open Chrome DevTools
- Click the Network tab and in the search window
rewrite-log
and check that nothing is displayed.
Provide end users with a way to opt out
Please show us the following page.
Opt-out setting method | CX (customer experience) platform KARTE
Cancelling the opt-out
To cancel the opt-out setting and resume track and delivering blocks by KARTE Blocks, please run the following script on the site where you want to cancel the opt-out setting, just like you did for the opt-out setting.
(function(){var dm= location.host;document.cookie='blocks_oo=;max-age=0;path=/;domain=.'+dm+';';window.localStorage.removeItem('blocks_oo');})();
Frequently Asked Questions
- Q. Do I have to run the opt-out script on every page?
- A. If the domain is the same and the cookie is the same, there is no need to run the script again even if the session changes or a different window is opened.
- Q. How long is the opt-out cookie retention period?
- A. The default cookie retention period is two years.
- If you want to change the retention period, please customize the script.
- Impact of ITPThis period may be shortened by behavior such as receiving a cookie or by the user resetting the cookie.
- A. The default cookie retention period is two years.
- Q. If I run the opt-out script, will my past data be deleted?
- A. Only cookies are written out to track new effectiveness and stop delivery, so past data will not be deleted.
#karte_blocks