A
A
Alexander Khorkov2016-04-25 10:56:19
JavaScript
Alexander Khorkov, 2016-04-25 10:56:19

How to hang Yandex. Goals on Formit Ajax?

Good afternoon.
Tell me who faced such a problem. How to hang the Yandex. Goals on the form. The form itself is implemented in Formit Ajax. (MODX REVO).
If you hang the target code on the onclick event, then with any click on the input, the target is fulfilled, but it is only necessary when the form is successfully submitted.
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey L, 2017-10-04
@compudza

&successMessage=`Message sent successfully
< script >yaCounterXXXXXXXX.reachGoal('SendContactForm');< /script >`

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question