Skip to content

hbernaciak/laravel-piwik-tracking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My first Laravel package via composer done just for learning :) But works, if you want to use Piwik tracking code in your project :)

Usage

Add this middleware to the last array element to $middleware array in /app/Http/Kernel.php:

protected $middleware = [
        \Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode::class,
        ...
        \App\Http\Middleware\PiwikCode::class
    ];

About

Prepend to body closing tag Piwik tracking code in Laravel

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages