Skip to content

yajra/analytics-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published