Skip to content

ethanfrogers/yii2-universal-analytics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#Yii2-universal-analytics

Forked from TagPlanet/yii-analytics-ua. Modified to work with Yii2 Framework.

##Installation Install this extension via composer. Add this line to your project’s composer.json

“ethanfrogers/yii2-universal-analytics” : “dev-master”

##Setup

###Configuration

//add this line in config/main-local.php for the appropriate application
$config[‘components’][] = [
    ‘googleAnalytics’ => [
        ‘class’ => ‘ethanfrogers\AnalyticsUA\UniversalAnalytics’
    ]
]

###Usage

//Within your layout
Yii::$app->googleAnalytics->render();

For additional configuration options see TagPlanet/yii-analytics-ua.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages