yajra/analytics-module

There is no license information available for the latest version (dev-master) of this package.

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

dev-master / 1.0.x-dev 2017-06-06 08:07 UTC

This package is auto-updated.

Last update: 2024-10-08 17:31:58 UTC


README

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.