setUserID
Warning
Working with the JavaScript API requires knowledge of HTML and JavaScript. If you don’t know these languages, contact your website developer or webmaster.
Transmitting the site user ID set by the site owner.
ym(XXXXXX, 'setUserID', "12345");
where
XXXXXX— Counter number.12345is a string value.
Custom IDs will be linked to ClientID only for those site users during whose sessions the setUserID method was called.
|
Useful links |
Online training |
Unique website session ID created automatically by Yandex Metrica.
Was the article helpful?
Previous
Next