Skip to content

thienhungho/yii2-google-analytics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yii2 Google Analytics

Yii2 Google Analytics for Yii2

Installation

This is just an example, memorible moment. The source code may not work for known reasons. This source code include against loss license feature.

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist thienhungho/yii2-google-analytics "*"

or add

"thienhungho/yii2-google-analytics": "*"

to the require section of your composer.json file.

Config

Add module Configuration to your AppConfig file.

...
'modules'          => [
    ...
    /**
     * Google Analytics Configuration
     */
     'google-analytics-configuration' => [
        'class' => 'thienhungho\GoogleAnalytics\modules\Configuration\ConfigurationModules',
     ],
    ...
],
...

Migration

Modules

ScriptConfigurations

Functions

Core

Constant

Core

Models

GoogleAnalytics

About

Yii2 Google Analytics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages