A
A
Ambal892017-02-27 11:09:08
PHP
Ambal89, 2017-02-27 11:09:08

How to set the target for buttons in Bitrix?

Good day, comrades! I am not familiar with Bitrix, but there was a need to add goals to the buttons of various forms on the site. A search on the Internet did not give anything sensible, it did not work out with a half-kick either. As far as I understand, the forms on the site are implemented by the standard features of Bitrix. Does anyone know how to do this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
mletov, 2017-02-27
@Ambal89

Bitrix seems to have nothing to do with it. Only minimal knowledge of js is needed.
I'm hanging up on submitting the form like this

jQuery(document).ready(function() { 	
  jQuery( "#idForm" ).submit(function( event ) {		
    yaCounter1234567.reachGoal('Feedback');		
    console.log("target reached!");	
  });	
});

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question