---
metadata:
  - name: generator
    content: Diplodoc Platform v5.55.2
alternate:
  - https://yandex.com/dev/games/doc/en/sdk/construct-3/metrica.md
  - https://yandex.com/dev/games/doc/ru/sdk/construct-3/metrica.md
  - https://yandex.com/dev/games/doc/tr/sdk/construct-3/metrica.md
  - https://yandex.com/dev/games/doc/zh/sdk/construct-3/metrica.md
  - href: en/sdk/construct-3/metrica.md
    type: text/markdown
    title: Markdown version
  - href: ../../llms.txt
    type: text/markdown
    title: llms.txt
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/dev/games/doc/en/llms.txt

# Yandex Metrica

<!-- source: en/_includes/script-common.md -->
<!-- source: en/_includes/script/index-js.md -->

<!-- endsource: en/_includes/script/index-js.md -->

<!-- source: en/_includes/script/requirements-js.md -->

<!-- endsource: en/_includes/script/requirements-js.md -->

<!-- source: en/_includes/script/image-modal-js.md -->

<!-- endsource: en/_includes/script/image-modal-js.md -->
<!-- endsource: en/_includes/script-common.md -->

To track metrics and goals in [Yandex Metrica](https://metrika.yandex.com){.external}, specify the counter ID in the plugin properties:

![](../../_images/construct-3/metrica/how-to-setup.webp =500x)



## Sending a goal {#send-goal}

To send a goal to Yandex Metrica, use the **Send goal** action. It accepts the following parameters:

#|
|| **Parameter** | **Type** | **Description** ||
|| **Goal name** | `string` | The name of the goal in Yandex Metrica. ||
|| **Additional goal data** | `JSON` | Optional additional data that will be sent to Yandex Metrica. ||
|#

### Example {#example}

![](../../_images/construct-3/metrica/example.webp)


---


<!-- source: en/_includes/button-git.md -->
<a href="https://github.com/yandex-games-plugins/construct3">
  <span class="button">Repository</span>
</a>
<!-- endsource: en/_includes/button-git.md -->
