J
J
Juniorrrrr2021-12-07 12:40:35
Yandex.Metrica
Juniorrrrr, 2021-12-07 12:40:35

How to track a complex click in Yandex Metrica?

Please tell me, there is, for example, an algorithm of actions:

Clicking on button A opens a modal window in which there are several buttons.

How to track clicks in a modal window through YM. In YM there is a goal click on the button , but this option is not suitable because at the time of initialization the button is still hidden.

Also, is it possible to track the chain of clicks? that is, for example, to consider that the goal was achieved by clicking on button A, and then when clicking on one of the buttons in the modal, in this case, consider that the goal was achieved ?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry, 2021-12-07
@Juniorrrrr

Of course you can. Make a composite goal (as it is called in the metric) and then track it.

A
Anton, 2021-12-07
@Eridani

In YM there is a goal of clicking on the button, but this option is not suitable because at the time of initialization the button is still hidden.

$(document).on('click', '.selector', function(){
// Тело
})

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question