Skip to content

Commit

Permalink
Synced docs with code logic
Browse files Browse the repository at this point in the history
  • Loading branch information
enovikov11 authored Jan 25, 2024
1 parent 5a1221f commit 2839f3b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions dev-docs/analytics/yandex.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,15 @@ modulecode: yandexAnalytics
This adapter is designed to work with [Yandex Metrica](https://metrica.yandex.com/about) - a web analytics tool.

{: .alert.alert-warning :}
Disclosure: provider loads Metrica Tag build based on [github.com/yandex/metrica-tag](https://github.com/yandex/metrica-tag), ~60 kB gzipped.
Disclosure: provider use Metrica Tag build based on [github.com/yandex/metrica-tag](https://github.com/yandex/metrica-tag), ~60 kB gzipped.

## How to setup provider

Register your application on [metrica.yandex.com](https://metrica.yandex.com/) and get counter id

Init provider like this, where `123` is your counter id
Insert counter initialization code obtained from the page [https://metrica.yandex.com/settings?id={counterId}](https://metrica.yandex.com/settings?id={counterId}) into your html code.

Init provider like this, where `123` is your counter id.

Note: If you have Single Page Application (SPA), [configure your tag](https://yandex.com/support/metrica/code/counter-spa-setup.html).

Expand Down

0 comments on commit 2839f3b

Please sign in to comment.