D
D
Dos2020-01-13 23:39:01
Yandex.Metrica
Dos, 2020-01-13 23:39:01

Yandex metric. What is the USER ID for? How to use it correctly?

Hello. Probably a stupid question, but I can't figure it out. The documentation has the ability to pass User ID from the system through userParams in its metric :

ym(12312312312321, "init", {
                    clickmap:true,
                    trackLinks:true,
                    accurateTrackBounce:true,
                    webvisor:true,
                    userParams: { vip_status: false, UserID: <?= $user ? $user->getId() : null ?> } // <--- Вот так!
                });

I insert such an initialization of the metric, but I can’t find it anywhere in the reports. Maybe I'm not using it correctly? Same in the documentation. Or I can't find how it is applied in reports and statistics. Can you explain how to use it correctly and what is it for? Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Denisov, 2020-01-14
@pro-dev

The help also indicates how this data can be used .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question