Answer the question
In order to leave comments, you need to log in
Yandex Metrica (event for the target) how to deal with the error - not defined?
There are two sites. Each has its own goal for pressing the button (js code is launched when the button is pressed). Followed documentation https://yandex.ru/support/metrika/general/goal-js-eve.. .
As a result, writing the target number to the corresponding id (data in the screen) knocks out an error in the console, but if I write a number that is higher above the error, everything works. Such a number (which is higher above the error) was assigned to 2 sites. In this scenario, the counter is common for all purposes with such a number (which is higher above the error). Tell me what's wrong, in which direction to move
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question