getParam
Calls the init method and returns the site user's ID (i) in the callback function.
ymab('metrika.XXXX', 'getParam', callback);
where XXXX is the ID of the Yandex Metrica tag installed on your site.
|
Parameter |
Type |
Required |
Description |
|
getParam |
String |
Yes |
Initializes the experiment and returns the ID of the sample the user is part of (icookie). |
|
callback |
Function |
Recommended |
Invokes the callback function. Pass this parameter to get additional information. Format: |