2017 © Pedro Peláez
 

laravel-module laravel-google-tag-manager

A laravel package to add Google Tag Manager tracking and features to an app

image

cyber-duck/laravel-google-tag-manager

A laravel package to add Google Tag Manager tracking and features to an app

  • Friday, March 3, 2017
  • by cyber-duck
  • Repository
  • 5 Watchers
  • 12 Stars
  • 5,057 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 7 Versions
  • 16 % Grown

The README.md

🚨 Discontinued 🚨

Please consider using https://github.com/spatie/laravel-googletagmanager., (*1)

Laravel Google Tag Manager

Latest Stable Version Total Downloads License, (*2)

Google tag manager features including events, ecommerce, and dataLayer support, (*3)

Authors: Andrew Mc Cormack, Simone Todaro, (*4)

Installation

Composer

Require this package with composer:, (*5)

composer require cyber-duck/laravel-google-tag-manager

Framework

Add the following to the list of service providers in your config/app.php file, (*6)

'CyberDuck\LaravelGoogleTagManager\GTMServiceProvider',

Add the following alias to your config/app.php file, (*7)

'GTM' => 'CyberDuck\LaravelGoogleTagManager\Facades\GTM',

Publish configuration file:, (*8)

php artisan vendor:publish --provider="CyberDuck\LaravelGoogleTagManager\GTMServiceProvider"

Configure your GTM-XXXXX ID in config/gtm.php, (*9)

Usage

Within your main blade layout template include the GTM blade template, (*10)

@include('tracking::gtm')

Pushing additional data

\GTM::data('paramName', 'paramValue')

Pushing an event

\GTM::event('eventName')

Flashing data for the next request

\GTM::flash()
return redirect()->action('...');

Enhanced Ecommerce

Coming soon!!!, (*11)

The Versions

03/03 2017

dev-master

9999999-dev https://github.com/cyber-duck/laravel-google-tag-manager

A laravel package to add Google Tag Manager tracking and features to an app

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel google tag manager

03/03 2017

1.3.0

1.3.0.0 https://github.com/cyber-duck/laravel-google-tag-manager

A laravel package to add Google Tag Manager tracking and features to an app

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel google tag manager

13/07 2016

1.2.0

1.2.0.0 https://github.com/cyber-duck/laravel-google-tag-manager

A laravel package to add Google Tag Manager tracking and features to an app

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel google tag manager

13/07 2016

v1.1.1

1.1.1.0 https://github.com/cyber-duck/laravel-google-tag-manager

A laravel package to add Google Tag Manager tracking and features to an app

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel google tag manager

13/07 2016

dev-develop

dev-develop https://github.com/cyber-duck/laravel-google-tag-manager

A laravel package to add Google Tag Manager tracking and features to an app

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel google tag manager

14/06 2016

v1.1.0

1.1.0.0 https://github.com/cyber-duck/laravel-google-tag-manager

A laravel package to add Google Tag Manager tracking and features to an app

  Sources   Download

MIT

laravel google tag manager

11/05 2016

v1.0.0

1.0.0.0 https://github.com/cyber-duck/laravel-google-tag-manager

A laravel package to add Google Tag Manager tracking and features to an app

  Sources   Download

MIT

laravel google tag manager