---
metadata:
  - name: generator
    content: Diplodoc Platform v5.50.6
alternate:
  - https://yandex.com/support/metrica/en/objects/method-reference.md
  - https://yandex.com/support/metrica/es/objects/method-reference.md
  - https://yandex.com/support/metrica/pt/objects/method-reference.md
  - https://yandex.com/support/metrica/ru/objects/method-reference.md
  - https://yandex.com/support/metrica/tr/objects/method-reference.md
  - https://yandex.com/support/metrica/zh/objects/method-reference.md
title: Methods
description: Ya.Metrika object methods.
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/support/metrica/en/llms.txt


# Methods

<!-- source: en/_includes/code/counter-initialize/id-counter-initialize/rest-js.md -->
{% note 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.

{% endnote %}
<!-- endsource: en/_includes/code/counter-initialize/id-counter-initialize/rest-js.md -->



#|
# Методы объекта Ya.Metrika

||
**Name**
|
**Description**
||
||
[addFileExtension](https://yandex.com/support/metrica/en/objects/addfileextension.md)
|
Adds file extension support
||
||
[extLink](https://yandex.com/support/metrica/en/objects/extlink.md)
|
Sending information about a click on an external link
||
||
[file](https://yandex.com/support/metrica/en/objects/file.md)
|
Sending information about a file download
||
||
[firstPartyParams](https://yandex.com/support/metrica/en/objects/first-party-params.md)
|
Sends contact information of site users
||
||
[firstPartyParamsHashed](https://yandex.com/support/metrica/en/objects/first-party-params-hash.md)
|
Sends contact information of site users with data self-hashing support
||
||
[getClientID](https://yandex.com/support/metrica/en/objects/get-client-id.md)
|
Gets the user ID assigned by Yandex Metrica
||
||
[hit](https://yandex.com/support/metrica/en/objects/hit.md)
|
Manually sending pageview data for AJAX and Flash sites
||
||
[notBounce](https://yandex.com/support/metrica/en/objects/notbounce.md)
|
Sending information about non-bounces
||
||
[params](https://yandex.com/support/metrica/en/objects/params-method.md)
|
The [Session parameters](https://yandex.com/support/metrica/en/data/visit-params-data.md) report lets you specify additional user information you wish to track
||
||
[reachGoal](https://yandex.com/support/metrica/en/objects/reachgoal.md)
|
Conversion
||
||
[setUserID](https://yandex.com/support/metrica/en/objects/set-user-id.md)
|
Transmitting the user ID set by the site owner
||
||
[userParams](https://yandex.com/support/metrica/en/objects/user-params.md)
|
Method for transmitting user parameters to the [User Parameters](https://yandex.com/support/metrica/en/data/user-params-data.md) report
||
|#

<!-- source: en/_includes/buttons/chat-button.md -->
[Chat with us](https://yandex.com/chat/#/user/036e6a02-3620-9cdc-4c5e-a34667a7379e?utm_source=spravka){.button}

<!-- source: en/_includes/styles/href-to-button.md -->

<!-- endsource: en/_includes/styles/href-to-button.md -->
<!-- endsource: en/_includes/buttons/chat-button.md -->

<!-- source: en/_includes/buttons/support-button.md -->
<div class="cut-button">

{% cut "Write an email" %}

<!-- source: en/_includes/popup/id-popup/wrong-sup.md -->
Please note: Our support team will never initiate a call to you. Do not follow any instructions of people who call you and introduce themselves as the Yandex Metrica support team.
<!-- endsource: en/_includes/popup/id-popup/wrong-sup.md -->

<div style="padding: 15px;
     margin: 10px 0;
     background: #FFFFFF;
     border-radius: 10px;
     border: 1px solid var(--g-color-line-generic);">
  <iframe style="background: #FFFFFF;"
        height="700"
        width="100%"
        frameborder="0"
        src="https://forms.yandex.com/surveys/1706/?&iframe=1&lang=en">
  </iframe>
</div>

{% endcut %}

</div>

<!-- source: en/_includes/styles/cut-button.md -->

<!-- endsource: en/_includes/styles/cut-button.md -->
<!-- endsource: en/_includes/buttons/support-button.md -->

<!-- source: en/_includes/footer-links.md -->
- - -

<div class="borderless-table">

#|
||
Useful links

- [Demo tag](https://metrica.yandex.com/r/dashboard?)
- [Add a tag](https://metrica.yandex.com/add/)
- [Free tag setup](https://yandex.com/promo/freeservice/metrica?utm_source=help_metrica_en&utm_medium=cpc&utm_campaign=1)
- [Yandex Metrica API](https://tech.yandex.com/metrika/)
- [Suggest your idea](https://yandex.com/support/metrica/troubleshooting/idea.html)
- [Discuss in Telegram](https://t.me/yandexmetrika)
|
Online training

- [Get a Yandex Metrica certificate](https://yandex.ru/adv/expert/exam/metrika/?utm_source=metrika_help&utm_medium=web&utm_campaign=static&utm_content=useful_links)


- [Take a training course](https://yandex.com/adv/edu/online/metrika?utm_source=metrika_help&utm_medium=web&utm_campaign=static&utm_content=useful_links)

||
|#

</div>

<!-- source: en/_includes/styles/table-style.md -->

<!-- endsource: en/_includes/styles/table-style.md -->
<!-- endsource: en/_includes/footer-links.md -->
