laravel-module analytics-module
YajraCMS Google Analytics Module
yajra/analytics-module
YajraCMS Google Analytics Module
- Tuesday, June 6, 2017
- by yajra
- Repository
- 1 Watchers
- 2 Stars
- 6 Installations
- HTML
- 0 Dependents
- 0 Suggesters
- 1 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
YajraCMS Google Analytics Module
Installation
- Install module:
composer require yajra/analytics-module
- Publish config:
php artisan vendor:publish --provider="Spatie\Analytics\AnalyticsServiceProvider"
- Update
.env
and add your ANALYTICS_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., (*1)
dev-master
9999999-dev
YajraCMS Google Analytics Module
Sources
Download
The Requires