Answer the question
In order to leave comments, you need to log in
How to set up goal achievement in Yandex.Metrica via javascript?
Good afternoon!
You need to set the Yandex.metric target to the search button.
During the start of the search, the
Track event is triggered by trying the script, but so far unsuccessfully:
$(document).trigger("analyticsStartSearch");
$(document).on("analyticsStartSearch", function(){
yaCounterXXXXXX.reachGoal('TARGET_NAME');
return true;
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question