nuxt-community / legacy-modules

MIT License
1.28k stars 158 forks source link

feat(yandex-metrika): use new version of yandex metrics code #363

Closed x-range closed 4 years ago

x-range commented 4 years ago

Yandex metrics released a new version of the code (https://yandex.ru/blog/metrika/novyy-kod-v-nastroykakh-schetchika).

The hit (url, [title [, referer [, params]]]) signature is outdated. It's supported for backward compatibility, but may be deprecated at any time. We strongly discourage using it. (https://yandex.ru/support/metrica/objects/hit.html)

New Code Initialization Information https://yandex.ru/support/metrica/code/counter-initialize.html.

x-range commented 4 years ago

Hi @pi0, please take a look at this pull request.

pi0 commented 4 years ago

Hi. Thanks and sorry for late review.