Answer the question
In order to leave comments, you need to log in
How to hang the Yandex Metrics sending event on the Bitrix CRM form button?
Good evening! The site uses the Bitrix form, i.e. it is loaded through a script on the website. It is necessary to track the event when the user submitted the data of this form. An event was created in the index of the metric, which I add through the script
jQuery(document).ready(function($) {
$('#bxform').on('submit', function() {
yaCounter11111.reachGoal('submitFormRezerv');
});
});
Answer the question
In order to leave comments, you need to log in
Is yaCounter ID set correctly? Is the goal created in the metric?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question