userParams

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.

Transmitting custom parameters of site users.

userParams(parameters)

Parameter

Default value

Type

Description

parameters *

Object

User parameters.

yaCounterXXXXXX.userParams({
    status: "Gold",
    child: 1,
    child_age: 13
});

* Required parameter.

Note. Information transmitted in the userParams method will be available in Yandex.Metrica reports in a few hours.