V
V
Vladimir2016-04-29 15:29:06
JavaScript
Vladimir, 2016-04-29 15:29:06

How to use Yandex Metrica in SPA?

Google directly indicates the scenario for using analytics in the SPA, Yandex did not describe whether there are any features of using analytics with SPA sites.
If Google directly calls the 'send' method in the counter, and you can guess for yourself that this method needs to be called when changing the URL, then Yandex does not have such a method.
Are there any features of using Yandex analytics in SPA sites?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Nicholas, 2016-04-29
@Casufi

Yandex Metrica has a hit method created for the same purpose.
https://yandex.ru/support/metrika/objects/hit.xml

W
Woozle62, 2019-08-29
@woozle62

Now the most detailed manual has been written
https://yandex.ru/support/metrica/code/counter-spa...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question