Answer the question
In order to leave comments, you need to log in
How to integrate user id with Yandex.Metrica?
I want to get detailed statistics on target users. There is a user id.
Now how to feed it to the Yandex counter and how to get statistics on the user ids I'm interested in.
Answer the question
In order to leave comments, you need to log in
Today I also came up with such an idea :)
So far I haven’t thought about it well, but now I would send hits with user IDs to Yandex.Metrica .
id = 123;
username = 'Вася';
pageUrl = 'Заглянул на вот эту страницу.html';
pageTitle = 'Такая вот страница';
try
{
yaCounterNNNNN.hit('http://дорогойпользователь/' + id + '/' + pageUrl, username + ' посетил: ' + pageTitle, null);
}
catch (ex) { }
Can be passed in visit parameters. You can just pull out the keys from the metric;)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question