Answer the question
In order to leave comments, you need to log in
Form and Yandex goals. How to realize such a wish?
Good afternoon
There is a simple feedback form, a validation field (phone number) and a send button.
You need to set up two Yandex goals: 1. to successfully submit the form and 2. to click the submit button.
The catch is this:
If goal #1 worked, then #2 shouldn't work.
Can this be done at all?
Answer the question
In order to leave comments, you need to log in
Hmmm, how are you going to submit the form without clicking the button???
Hang an event for validation (it also happens immediately after the button is pressed).
If everything is fine, then the form will be successfully submitted (call target 1, or even better, call after submitting if it is ajax), if not (fields are not filled/incorrectly filled) - call target 2.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question