Skip to content

i-am-logger/angularjs-googleanalytics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

Tracking Google Analytics Page Views with Angular.js

How?

follow these step:

  • Set 'YOUR GOOGLE ACCOUNT' in googleanalyticis.js placeholder with your google account id

  • Add the service to your angular js app module:

    var app = angular.module('myapp', ['analytics']) { ... });

  • Now just have analytics to be injected in your contorller.

    function myCtrl($rootScope, $scope, $http, analytics) { ... };

Code licensed under The MIT License.

About

integrating google analytics to angular-js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published