H
H
Happy-Child2018-11-17 16:33:41
Yandex.Metrica
Happy-Child, 2018-11-17 16:33:41

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
5bf0189ab54c8669119688.jpeg5bf018a5eed9c039705913.jpeg5bf018ae9b2ce674037955.jpeg5bf018b2e158b487211091.jpeg

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question