Metrica

params

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 session parameters.

params(parameters)

Parameter

Default value

Type

Description

parameters *
[no-highlight[

* Required parameter.

]no-highlight]

Object

Session parameters.

var myParams = {test: {myParam: 123}};
yaCounterXXXXXX.params(myParams);

* Required parameter.