newflit/statistics-laravel

Visitor's behavior statistics by using machine auto learning

v1.0.3 2017-07-18 16:37 UTC

This package is auto-updated.

Last update: 2024-04-17 18:42:30 UTC


README

To activate all features, please consider switching your application to a secure origin, such as HTTPS.

FYI, if still using insecure website, the location service is blocked.

This package is created for you to collect all your visitors behavior data and general a detailed report of how they interact with your web page, form and links etc. You might customise this package as you want.

Notice: this project is still under development. Please don't use it on the production server until the formal version released!

Installation

composer require newflit/statistics-laravel

Register ServiceProvider

Newflit\Statistics\ServiceProvider::class,

Add Statistics middleware into 'web' group. (app\Http\Kernel.php)

\Newflit\Statistics\Middleware\Statistics::class,

Before Use, step 1: To create some database tables

php artisan migrate

Before Use, step 2: To publish the configuration file

php artisan vendor:publish

Before Use, step 3: Please make sure import jQuery in the header in any page you want track.

License

MIT