Opt out of personal data collection
You can disable the Yandex.Metrica tag on any website page. To do this, use the window property in the browser console before initialization of the Yandex.Metrica code snippet on each page. This parameter can accept several values:
- true — Blocks setting cookies, collecting data about site sessions, and transmitting this data to Yandex.Metrica.
- false — Allows the Yandex.Metrica tag to continue working.
window['disableYaCounterXXXXX'] = true
where XXXXXX is the tag ID.
To prohibit all the sites that you visit from sending data to Yandex.Metrica, install the Yandex.Metrica blocker.