gentor/gamp

Send analytics data to Google Analytics from Laravel. A package for GA Measurement Protocol API
423
Install
composer require gentor/gamp
PHP:>=5.4
License:MIT
Last Updated:Jan 12, 2017
Links: GitHub  ·  Packagist
Maintainer: gentor

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

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

631,580,251 9,707
laravel/framework

The Laravel Framework.

580,311,802 34,925
laravel/tinker

Powerful REPL for the Laravel framework.

489,754,436 7,444
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

404,034,618 608
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

384,821,166 4,658