mgonto / angularytics

The solution to tracking page views and events in a SPA with AngularJS
MIT License
630 stars 70 forks source link

Add ability to disable page view tracking #38

Closed tennisgent closed 9 years ago

tennisgent commented 9 years ago

Add ability to disable page view tracking through the Angularytics provider.

At my company, we don't have an SPA, so we don't have any way to track page changes. This change just allows me to disable the tracking all together so that it doesn't setup the listener for that $rootScope event.

mgonto commented 9 years ago

Great addition.

Thanks for this!

Merging!