### Yandex Metrica JS API Methods Source: https://github.com/yandex/metrica-gtm-template/blob/main/README.md The template supports all methods from the Metrica JS API. These methods allow for tracking various user interactions and data points on a website. Refer to the official Yandex Metrica documentation for detailed parameter descriptions and usage examples for each method. ```APIDOC Yandex Metrica JS API Methods: - init - Description: Initializes the Metrica counter. - Link: https://yandex.com/support/metrica/code/counter-initialize.html - addFileExtension - Description: Adds a file extension to the counter. - Link: https://yandex.com/support/metrica/objects/addfileextension.html - extLink - Description: Tracks external link clicks. - Link: https://yandex.com/support/metrica/objects/extlink.html - file - Description: Tracks file downloads. - Link: https://yandex.com/support/metrica/objects/file.html - firstPartyParams - Description: Sends first-party parameters. - Link: https://yandex.com/support/metrica/objects/first-party-params.html - firstPartyParamsHashed - Description: Sends hashed first-party parameters. - Link: https://yandex.com/support/metrica/objects/first-party-params-hash.html - hit - Description: Records a page view or custom event. - Link: https://yandex.com/support/metrica/objects/hit.html - notBounce - Description: Marks a visit as not a bounce. - Link: https://yandex.com/support/metrica/objects/notbounce.html - params - Description: Sets additional parameters for hits. - Link: https://yandex.com/support/metrica/objects/params-method.html - reachGoal - Description: Tracks goal completions. - Link: https://yandex.com/support/metrica/objects/reachgoal.html - setUserID - Description: Sets a custom user ID. - Link: https://yandex.com/support/metrica/objects/set-user-id.html - userParams - Description: Sets parameters for the current user session. - Link: https://yandex.com/support/metrica/objects/user-params.html ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.