S
S
Stilar2018-06-08 12:09:08
Yandex.Metrica
Stilar, 2018-06-08 12:09:08

How to add a sign of a user registered on the site to the i.metrics report?

I can not get data on the type of users that I give from the site.
I do as it is written here
https://yandex.ru/support/metrika/reports/visit-pa...
upgraded the counter code by adding the user_group parameter, where it can have a value from 0 to 2 (guest, registered, site editor), which is substituted into the template on the server.
here is the updated snippet of counter code:

try {
            var yaParams = {'user_group': '1' || 'null'};
            w.yaCounterXXXXXXXX = new Ya.Metrika({id:XXXXXXXX,
                    clickmap:true,
                    trackLinks:true,
                    accurateTrackBounce:true,
                    params: window.yaParams||{}});
        } catch(e) { }

I did it the day before yesterday, but I can’t see this indicator in Yandex.metric reports even for today.
where did you go wrong?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question