Download the PHP package akiraz2/yii2-stat without Composer
On this page you can find all versions of the php package akiraz2/yii2-stat. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download akiraz2/yii2-stat
More information about akiraz2/yii2-stat
Files in akiraz2/yii2-stat
Package yii2-stat
Short Description Multi Statistic and Analytic Yii2 Module for your website. Yandex, Google, Liveinternet, Mail, Bigmir, Alexa, Hotlog, Rambler, Openstat and Own stat by IP
License MIT
Informations about the package yii2-stat
Yii2 Multi Web Statistic Module
NOTE: Module is in initial development. Anything may change at any time. На данный момент текущая рабочая версия v0.3 - есть только счетчики яндекса и google и собственный счетчик в DB
Statistics and Analytics module for your website. Many systems of your choice, connect either in the config module or in the admin panel:
- Яндекс-Метрика
- Google Analytics
- Liveinternet
- TopMail
- Bigmir (для украинской аудитории)
- Alexa
- Hotlog
- Rambler
- Openstat
- и даже на выбор собственная система для отслеживания посетителей по их IP-адресам и cookie.
To develop the Yii2 Stat module, the developments of these modules were used:
- klisl/yii2-statistics (inspired)
- hiqdev/yii2-yandex-metrika (code)
Sometimes not all site visits are recorded by Yandex or Google counters. To visit was accurately counted (and this is very important for tracking advertising sources), use server logs or in our case you can use the minimum working counter in PHP.
Features
- вы можете использовать внешние сервисы на свой вкус, выбор простым конфигурированием модуля
- есть собственная простая система сбора статистики
- данные хранятся в отдельной таблице базы данных или на ваше усмотрение (Redis, etc)
- статистика формируется на основе уникальных IP адресов посетителей сайта/приложения и Cookie
- можно посмотреть страну, город, какой браузер и расширение, referer
- источник перехода (inner, search, direct, ads (from UTM-tags), unknown)
- отсеивание поисковых ботов (11шт)
- есть возможность добавления IP, которые не нужны в статистике, в черный спискок
- удобная фильтрация вывода результатов статистики (за день, период, по определенному IP)
What information is displayed for each individual visitor:
- its unique IP address with the ability to obtain information about its location
- URL of the page being viewed and number of clicks
- time to visit a particular page
Installation
The preferred way to install this extension is through composer.
Either run
or add
to the require section of your composer.json
file.
Migration
Migration run
Config
Config common modules in common/config/main.php
Usage
//
Для перехода на страницу статистики
- с включенным ЧПУ в настройках Вашего приложения: http://your-site.com/stat/dashboard/index
Development
TODO
- Optimize db usage (for inner db-counter)
- Real dashboard, analytics
- Remove unnecessary code from previous packages
- Add other services (Hotlog, Openstat, etc)
- Translate dashboard
Please translate to your language! Edit config @vendor/akiraz2/yii2-stat/src/messages/config.php
, add your language and run script:
translate file will be in @vendor/akiraz2/yii2-stat/src/messages/
or your configured path
Support
If you have any questions or problems with Yii2-Stat you can ask them directly
by using following email address: [email protected]
.
Contributing
If you'd like to contribute, please fork the repository and use a feature branch. Pull requests are warmly welcome. +PSR-2 style coding.
I can apply patch, PR in 2-3 days! If not, please write me [email protected]
Licensing
Yii2-Stat is released under the MIT License. See the bundled LICENSE.md for details.