newflit / statistics-laravel
Visitor's behavior statistics by using machine auto learning
Installs: 30
Dependents: 0
Suggesters: 0
Security: 0
Stars: 9
Watchers: 2
Forks: 1
Open Issues: 0
Type:project
Requires
- jenssegers/agent: ^2.5
- nesbot/carbon: ~1.21
- ramsey/uuid: ^3.6
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