S
S
sokolov_r_m2015-04-17 14:49:35
Yandex.Metrica
sokolov_r_m, 2015-04-17 14:49:35

How to set a goal for a metric for a call order form?

On the site, the call order form is called through the button joxi.ru/xAeNaPgIaoxGry
defined joxi.ru/V2VRVqbILb5e2v I
registered the metric code in the form itself joxi.ru/bmo67aEhEVqnry
the result was an error like joxi.ru/brREb7zTdgkkA1 The
question is simple - how do you make the goal for the metric work?
Website address specinstrument.net

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg Matrozov, 2015-04-18
@Mear

In the onsubmit of the button, just try to refer to yaCounter26531391 of the parent window, i.e.:
Since the form opens in an iframe, you have access to its variables, including the metric.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question