revolunet / angular-google-analytics

Google Analytics tracking for your AngularJS apps
MIT License
652 stars 179 forks source link

Added support to ui-router ($state) #225

Open danieleratti opened 6 years ago

danieleratti commented 6 years ago

Added support to ui-router in order to read the $state.current.doNotTrack and decide whether send or not the pageView. This control is also done in the first page loading.

justinsa commented 6 years ago

This is a good looking change but there needs to be some unit tests to go along with it and appropriate additions to the Readme.md for documenting the added functionality.