How to fix code objective metrics on the button to take a form submission?
Please help me to understand what am I doing wrong:
In the landing page all the buttons of modal Windows is done via a button;
In this tag I add code that reads the form post metric Yandex;
- Here is then a string with the button and the code objective metrics: button onclick="yaCounter56810131.reachGoal ('zakaz_zvonka'); return true;">Request a call - like this designed 6 goals on the landing page.
But the Metric does not consider the clicking of submit buttons of the forms.
Please help to understand, what am I doing wrong.
Thank you for your answer.