Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yajra/analytics-module

YajraCMS Google Analytics Module
https://github.com/yajra/analytics-module

analytics cms google laravel module reporting yajra

Last synced: about 2 months ago
JSON representation

YajraCMS Google Analytics Module

Awesome Lists containing this project

README

        

# 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](https://github.com/spatie/laravel-analytics) package.