Answer the question
In order to leave comments, you need to log in
How to change Joomla 3.9.15 page code for Yandex metrics?
Good afternoon kittens! Sorry for the noob question, not my profile. There is a site on which you need to tie Yandex.metrics, namely setting goals. This is an event that fires when, for example, the user clicks on the button I need. At the same time, statistics on how many people clicked on this button come to your personal account. To do this, I need to change the button code (in my case, this is a link to the phone)
<li class="sp-contact-phone"><i class="fa fa-phone" aria-hidden="true"></i> <a href="tel:(8182)423560">(8182) 42 25 10</a></li>
onclick="ym(XXXXXX, '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