Answer the question
In order to leave comments, you need to log in
How to connect Yandex Metrica goals to Bitrix web forms?
The site uses standard Bitrix web forms, with Ajax enabled. How to connect goals so that they are counted only on successful submission, and not on any click on the submit button?
The following structure is currently in use:
<form name="" onsubmit="ym(12345678, 'reachGoal', 'goal'); return true;">
Answer the question
In order to leave comments, you need to log in
For the form, use the onsubmit attribute
https://promo.altera-media.com/information/expert/...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question