_
_
_c2017-01-12 22:42:04
Yandex.Metrica
_c, 2017-01-12 22:42:04

How can I set an event for a link when it is clicked?

Hello! Can you please share information on how to turn a link into an event? here is a screenshot of the link prntscr.com/duuc6f that's it. I understand what can be done for a button, but for a link. Or if you can then give some documentation. Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton, 2017-01-12
@Gev4ik

Абсолютно так же, как и для любого элемента.
Если речь идёт о цели в ЯндексМетрике, то как-то так:

$('.openform281').click(
   yaCounterXXXXXXXX.reachGoal('event');
);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question