Yep. I'm currently using this angular-segmentio.js service simply as a
wrapper that can queue queries before load. All events and page views are
being tracked manually in their respective controllers.


On Fri, May 30, 2014 at 12:24 AM, Arnaud BRETON <notifications@github.com>
wrote:

> In angular-segmentio.js:
>
> > @@ -32,7 +32,7 @@ angular.module('segmentio', ['ng'])
> >
> >              // Listening to $viewContentLoaded event to track pageview
> >              $rootScope.$on('$viewContentLoaded', function() {
> > -                if (service.location != $location.path()) {
> > +                if (!window.ANGULAR_SEGMENTIO_DISABLE_AUTOTRACK && service.location != $location.path()) {
>
> If the URLs / URL patterns are known you could pass it as a list to the
> load method and next test here if the URL matches one of them.
>
> From what I understand here, you're just using this service to setup
> segment.io but next you handle manually the tracking, right?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/arnaudbreton/angular-segmentio/pull/8/files#r13219004>
> .
>