Package Data | |
---|---|
Maintainer Username: | gentor |
Maintainer Contact: | evgeni.nurkov@gmail.com (Evgeni Nurkov) |
Package Create Date: | 2017-01-11 |
Package Last Update: | 2017-01-12 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-10 15:05:47 |
Package Statistics | |
---|---|
Total Downloads: | 423 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 2 |
Total Forks: | 0 |
Total Open Issues: | 0 |
Send analytics data to Google Analytics from Laravel. A package for GA Measurement Protocol API
Installation using composer:
composer require gentor/gamp
Add the service provider in config/app.php
:
Gentor\Gamp\GampServiceProvider::class,
Add the facade alias in config/app.php
:
Gentor\Gamp\Facades\Gamp::class,
Change your default settings in app/config/gamp.php
:
<?php
return [
'tracking_id' => env('GA_TRACKING_ID'),
...
];