Send analytics data to Google Analytics from Laravel. A package for GA Measurement Protocol API
PHP
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
README.md
composer.json

README.md

GAMP (Google Analytics Measurement Protocol)

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'),
    ...
];

Documentation

GA Measurement Protocol API