Skip to content

Google Analytics for AngularJS. Tracks every single view instead of just the main index.html

License

Notifications You must be signed in to change notification settings

emirhg/angular-ganalytics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

angular-ganalytics

Google Analytics interaction for AngularJS. Tracks every single view instead of just the main index. It also tracks file downloads.

Installation

bower install --save angular-ganalytics

Usage

Add the module analytics to your app

angular
.module('MyAngularJSApp', [
    'analytics'        
])

In the app configuration set the tracking code

angular
.config(function(trackingCodeProvider) {
    trackingCodeProvider.setTrackingCode('UA-XXXXXXX-X');
})

About

Google Analytics for AngularJS. Tracks every single view instead of just the main index.html

Resources

License

Stars

Watchers

Forks

Packages

No packages published