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 initializing the Yandex Metrica code snippet on each page. This parameter can accept several values:
true
: Disables cookies and prevents data on website sessions from being collected and sent to Yandex Metrica.false
: Allows the Yandex Metrica tag to keep 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 opt-out add-on.
Useful links |
Online training |
Was the article helpful?
Previous
Next