Closed theromis closed 8 years ago
Sample code from documentation:
AnalyticsProvider.setPageEvent('$stateChangeSuccess')
As @Toxantron points out, this isn't a fix, but a configuration option that is described in the readme.
it was strange for me that code doesn't work by default and requires "tuning" before is starts reporting
That is because you are using ui-router instead of ng-route. ui-router is not the default implementation of routing in Angular. On May 9, 2016 10:46 AM, Roman Vasilyev notifications@github.com wrote:it was strange for me that code doesn't work by default and requires "tuning" before is starts reporting
—You are receiving this because you modified the open/close state.Reply to this email directly or view it on GitHub
Correct me if I am wrong, but this is not a fix. It simply alters the module to use
ui-router
events. If you use that module please just configureAnalytics
to use the event you want as described in the documentation. But this PR is not a fix but alters the default behaviour of the library.