gentor / gamp
Send analytics data to Google Analytics from Laravel. A package for GA Measurement Protocol API
Installs: 423
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/gentor/gamp
Requires
- php: >=5.4
- illuminate/support: 4.2.*|5.*
- theiconic/php-ga-measurement-protocol: ^2.4
This package is auto-updated.
Last update: 2025-09-09 15:36:22 UTC
README
Send analytics data to Google Analytics from Laravel. A package for GA Measurement Protocol API
Installation
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,
Configuration
Change your default settings in app/config/gamp.php
:
<?php return [ 'tracking_id' => env('GA_TRACKING_ID'), ... ];