Open Ermak-13 opened 4 years ago
Sometimes, Ya is not defined. It is not very ofthen but it happens :)
Sentry (Bug Reporter) Information: EVENTS 131 USERS 29
browser 86%Chrome 77.0.3865 browser.name 90%Chrome device 76%Smartphone device.family 76%Generic Smartphone os.name 67%Windows 10
I believe that in some case internet provider or adblock override "https://mc.yandex.ru/metrika/tag.js" file and when executing createMetrika is failed.
I suggest add condition if (config.env === "production" && Ya) {
if (config.env === "production" && Ya) {
Sometimes, Ya is not defined. It is not very ofthen but it happens :)
Sentry (Bug Reporter) Information: EVENTS 131 USERS 29
browser 86%Chrome 77.0.3865 browser.name 90%Chrome device 76%Smartphone device.family 76%Generic Smartphone os.name 67%Windows 10
I believe that in some case internet provider or adblock override "https://mc.yandex.ru/metrika/tag.js" file and when executing createMetrika is failed.
I suggest add condition
if (config.env === "production" && Ya) {