davidkrenekcz/statistics

Statistics module for Asgard CMS

dev-master 2018-03-16 14:37 UTC

This package is auto-updated.

Last update: 2024-10-17 10:17:53 UTC


README

  • Add a few things to arrays in config/app.php

    'aliases' => [
    	// ...
    	'Analytics' => Spatie\Analytics\AnalyticsFacade::class,
    	// ...
    ],
    
    'providers' => [
    	// ...
    	Spatie\Analytics\AnalyticsServiceProvider::class,
    	// ...
    ]
    
  • Publish Analytics config file
    php artisan vendor:publish --provider="Spatie\Analytics\AnalyticsServiceProvider"
    
  • Get your credentials as described in https://github.com/spatie/laravel-analytics
  • Edit credentials in config/analytics.php
  • Done :)