yajra / analytics-module
YajraCMS Google Analytics Module
Installs: 15
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 2
Open Issues: 0
Language:HTML
Type:laravel-module
Requires
- spatie/laravel-analytics: ^3.0
This package is auto-updated.
Last update: 2024-12-08 17:49:27 UTC
README
Installation
- Install module:
composer require yajra/analytics-module
- Publish config:
php artisan vendor:publish --provider="Spatie\Analytics\AnalyticsServiceProvider"
- Update
.env
and add yourANALYTICS_VIEW_ID
- Copy and paste your google service account credentials on
storage/app/analytics/service-account-credentials.json
TODO
- Fetch all widgets data via ajax request.
- Convert period of each widgets to ajax parameters.
- Add total stats along with the graph.
Credits
This module uses laravel-analytics package.