Answer the question
In order to leave comments, you need to log in
How to set the target of the "event" metric?
Hello!
I can't figure out how to set up a metric target for an event. I have a callback order button with a popup form. I want to set the target to not click a button after which this window pops up.
In the metric settings, it is recommended to put the code onclick="yaCounterХХХХХХ.reachGoal('otp'); return true; but I already have onclick here, which, as I understand it, calls the form. What should I do?
Thank you all.
Answer the question
In order to leave comments, you need to log in
copy here a piece of the button code, we will specifically show you how to register it.
add this code to existing onclick yaCounterХХХХХХ.reachGoal('otp'); return true;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question