Yandex Metrica

外掛說明

The best Yandex Metrica plugin for WordPress.

What is Metrica

Metrica is an analytics tool like just like google analytics. You can learn more about from official website.

Features

  • Easy to manage counter’s tracking options.
  • Role based user tracking
  • Dashboard widget that displays Metrica graphics,, summary of site usage, top pages etc..
  • Role based user access for the displaying dashboard widget
  • Basic mode is ready! If you don’t want to give API access, you can try basic mode.
  • i18n support: Completely translation ready!

Translations

  • English (en_US), built-in
  • Turkish (tr_TR), native support
  • Russian (ru_RU), oleg0789 and Ксения Рыбка

Contributing

Pull requests are welcome on Github

If you like Yandex Metrica, then consider checking out my other projects:

  • Powered Cache – Caching and Optimization for WordPress – Easily Improve PageSpeed & Web Vitals Score
  • Magic Login Pro – Easy, secure, and passwordless authentication for WordPress.
  • Easy Text-to-Speech for WordPress – Transform your textual content into high-quality synthesized speech with Amazon Polly.
  • Handywriter – AI-powered writing assistant that can help you create content for your WordPress.
  • PaddlePress PRO – Paddle Plugin for WordPress

螢幕擷圖

  • Select mode, basic mode for who don't want to use metrica api. But advanced mode recommended!
  • Displaying graph with metrica results.
  • Settings page.

安裝方式

Extract the zip file, and place the contents in the wp-content/plugins/ directory of your WordPress installation and then activate the Plugin from admin’s Plugins page.

常見問題集

What is metrica?

Metrica is a powerful analytics tool that provided by Yandex.

Is it free?

Definitely, metrica service and this plugin are totally free.

Can I see statistics on the WordPress dashboard?

Yes! (You have to use advanced mode, this feature needs API access)

I can see dashboard widget but no graph?

It’s likely that your counter is not working correctly, please check counter status on the official metrica website. Sometimes we can’t retrieve the statistical data via API, especially on the fresh counters.

Everything done, but metrica service doesn’t work for me?

Yandex Metrica plugin uses wp_head hook for the adds necessary tracking code. Please ensure that your theme has a wp_footer hook.

使用者評論

2021 年 10 月 26 日
Похоже на плагин забили, перестал работать примерно полгода назад, в настройках ругается на "Временная проблема с подключением!", как говорится, что в России временно - то постоянно)))) активности в ветке 0, ни каких комментарий по этому поводу нет...
2020 年 8 月 13 日
Yandex Metrica is so much better than GA; nobody should ever rely solely on GA unless their website is just a hobby. This is the first plugin I add to every site I manage/launch. I love the fact that it does what's required quietly and efficiently - would that other plugin devs could follow the same approach.
閱讀全部 32 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Yandex Metrica〉的開發相關工作。

參與者

〈Yandex Metrica〉外掛目前已有 2 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Yandex Metrica〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

2.0 (October 18, 2023)

  • Dashboad widget improvements
  • Improved accuracy of the stats
  • Added encryption for the access token
  • Fix jQuery deprecations
  • Bump required WP version to 5.0
  • Tested with WordPress 6.4

1.9.3 (November 6, 2022)

  • minor tweaks & improvements
  • Added uninstaller
  • tested with WordPress 6.1

1.9.2

  • fix valid counter control
  • tested with WordPress 5.9

1.9.1

  • hotfix: uppercase Chart.min.js

1.9

  • chart.js update
  • Improved security
  • New filters: yandex_metrica_app_id and yandex_metrica_app_secret

1.8.3

  • fixed an XSS
  • tested with WordPress 5.8

1.8.2

  • Add composer support
  • tested with WordPress 5.5

1.8.1

  • an option added for the dispatching e-commerce data

1.8

  • Authorization method changed, URL parameters no longer acccepted
  • use wp_head instead wp_footer for the tracking code
  • tested with WordPress 5.1.x

1.7

  • switched to new metrica tracking code by default
  • added an option for new Yandex’s tracking code (props @ildarkhasanshin)
  • Better tracker-address handling. (Don’t save default addresses.)
  • tested with WordPress 5.x

1.6.3

  • now users are able to change Tracker JS address
  • new filter yandex_metrica_noscript_img_base added

1.6.2

  • prevent (possible) chart.js conflict with page builder plugins. Props @zzsnowballzz

1.6.1

  • prevent inline js loading globally. Props Makaka Games
  • script handler renamed
  • chart options updated; bar charts start from zero and line charts are using index mode for tooltips

1.6

  • charting library changed. (Switched to Chart.js)
  • daily stats using bar type
  • minor tweaks

1.5

  • Metrica API upgraded, fixes api related problems
  • sslverify parameter set to true
  • UI improvements
  • Informer widget address update
  • Widget: showing visitors fix. Props Эльвира Капитонова
  • requires at least WordPress 3.7

1.4.3

  • minor bug fix about HTTP request

1.4.2

  • minor bug fixes

1.4.1

  • array-multisort bug fix. Props Николай Астраханцев

1.4

  • Text Domain changed
  • Nonces added to settings page
  • Wrong option name fixed. Props romapad

1.3

  • Updated metrica tracking code
  • New hash tracking option added

1.2

  • Improved error checking for API request
  • Possible connectivity case added
  • Minor tweaks

1.1.2

  • Russian language pack added. Props Ксения Рыбка and oleg0789
  • API connectivity check improved
  • Minor fixes

1.1.1

  • Dashboard widget daily order fixed

1.1

  • Dashboard widget UI improvements
  • Bug fixes

1.0.2

  • Capability checking before display temporary dashboard widget

1.0.1

  • Closure function removed
  • Typo fix

1.0

  • Metrica API integration
  • Backward compatibility mode
  • Tracking by user role
  • Dashboard widget
  • New widget, informer widget still exist
  • Better localization
  • Performance improvements
  • Special thanks to Yandex Team for all support.

0.1.3

  • Minor bug fixes

0.1.2

  • Bug fix – about options

0.1.1

  • bug fix – header output

0.1

  • Initial release.