Methods reference

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.
Ya.Metrika object methods

Name

Description

addFileExtensionAdds file extension support
extLinkSending information about a click on an external link
fileSending information about a file download
getClientIDGetting the user ID assigned by Yandex.Metrica
hitManually sending pageview data for AJAX and Flash sites
notBounceSending information about non-bounces
paramsThe Session parameters report lets you specify additional user information you wish to track
reachGoalConversion
setUserIDTransmitting the user ID set by the site owner
userParamsMethod for transmitting user parameters to the User Parameters report