Z
Z
ZhargalTc2017-11-14 15:20:41
JavaScript
ZhargalTc, 2017-11-14 15:20:41

How to add a goal (javascript event) Yandex metrics to the form?

<p class="form-mail_goal">Заказать звонок</p>
<p class="form-mail_title">Заказ звонка возможен круглосуточно. Оставьте заявку и наш менеджер перезвонит Вам в ближайшее время.</p>
<p class="form-mail_line">Имя:<span style="color: red;">*</span></p>
<p class="form-mail_line"><input class="form-mail_name" type="text" placeholder="Ваше имя" /></p>
<p class="form-mail_line">Телефон:<span style="color: red;">*</span></p>
<p class="form-mail_line"><input class="form-mail_number" type="text" placeholder="Ваш телефон" /></p>
<p class="form-mail_line">E-mail (для документов):</p>
<p class="form-mail_line"><input class="form-mail_email" type="email" placeholder="Ваш E-mail" /></p>
<button class="form-mail_submit button-green" value="Отправить" onclick="yaCounter46638630.reachGoal('call1'); return true;">Отправить</button>
<div class="form-mail_error"> </div>

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