2017 © Pedro Peláez
 

library google-analytics

Component for Google Analytics code

image

davefu/google-analytics

Component for Google Analytics code

  • Saturday, September 20, 2014
  • by davefu
  • Repository
  • 1 Watchers
  • 0 Stars
  • 81 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

davefu\GoogleAnalytics

This is Google Analytics component for Nette Framework., (*1)

Instalation

Include extension in config.neon and add Google Analytics key (if key is not defined, GA script will not be printed):, (*2)

analytics:
    key: "UA-XXXXXXXX-X"

extensions:
    analytics: davefu\GoogleAnalytics\DI\AnalyticsExtension

Usage

You have to insert component factory to BasePresenter and use the component in @layout.latte:, (*3)

/** @var \davefu\GoogleAnalytics\Components\GoogleAnalyticsFactory\GoogleAnalyticsFactory @inject */
protected $googleAnalyticsFactory;

public function createComponentAnalytics() {
    return $this->googleAnalyticsFactory->create();
}

The Versions

20/09 2014

dev-master

9999999-dev

Component for Google Analytics code

  Sources   Download

GPL-3.0 BSD-3-Clause GPL-2.0

The Requires

 

by David Fiedor

nette google analytics

20/09 2014

dev-nette-2.1

dev-nette-2.1

Component for Google Analytics code

  Sources   Download

GPL-3.0 BSD-3-Clause GPL-2.0

The Requires

 

by David Fiedor

nette google analytics

20/09 2014

v2.0

2.0.0.0

Component for Google Analytics code

  Sources   Download

GPL-3.0 BSD-3-Clause GPL-2.0

The Requires

 

by David Fiedor

nette google analytics

19/09 2014

dev-nette-2.0

dev-nette-2.0

Component for Google Analytics code

  Sources   Download

GPL-3.0 BSD-3-Clause GPL-2.0

The Requires

 

by David Fiedor

nette google analytics

19/09 2014

v1.0

1.0.0.0

Component for Google Analytics code

  Sources   Download

GPL-3.0 BSD-3-Clause GPL-2.0

The Requires

 

by David Fiedor

nette google analytics