User parameters

Tip. Working with the JavaScript API requires knowledge of HTML and JavaScript. If you don't have these skills, contact your website developer or webmaster.

Most of the session data is collected automatically by the Yandex.Metrica counter. You can supplement it with your own data by transmitting session parameters. However, you may find that information about the users themselves is more useful than session statistics.

Yandex.Metrica lets you set custom data, called user parameters. For user parameters, we recommend transmitting user traits that don't change from session to session and that don't contain personal data such as the user's name. For more information about the differences between session parameters and user parameters, see Processing and storing data.

The transmitted information can be displayed in a report, or used in conditions for dimensions and segmentation.

Transmitting and processing data

Examples of sending user parameters