R
R
Roman2015-03-02 12:45:33
JavaScript
Roman, 2015-03-02 12:45:33

Separation of registered users from guests (+ custom parameters and reports) - how?

Good time!
Google analytics has a userID feature that allows you to share statistics between registered users and everyone else by adding a single line with uid to the analytics code ( https://support.google.com/analytics/answer/312366... ​​).
However, Yandex.Metrica is also needed, I would like to have the same feature here. But how?
I read the manual on user parameters, added the code to the site:

w.yaCounterXXXXXXXX.params({ uid : <?= $uid ?>, registered: <?= (int)!empty($uid) ?> });

In the "Content" –> "Visit parameters" section, the parameter values ​​are not visible (only the fact of their presence).
Actually, there are two questions:
1. Where to enable and how to use a setting like "view this report only with the label registered = true"? There are no user variables in the report designer in any column (including "Under conditions").
2. How to sort/filter the values ​​of user parameters, and not just the fact of their presence (for example, it will be necessary to track a parameter with more than two string values)?
Thank you!

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