Skip to content

@uirouter/angularjs #217

@DarkIsDude

Description

@DarkIsDude

Hi all,

With the new version of angular-ui router, we can't now use your trick.
Here what I do:

app.run(['Analytics', '$transitions', '$location', function(Analytics, $transitions, $location) {
    $transitions.onSuccess({}, function(transition) {
        Analytics.trackPage($location.path());
    });
}]);

Is it ok?

How you track params in URL: example => http://localhost:3000/acheter?size=12&page=1&type=false&unused=false&occasion=false&new=false&promotion=false

You send it with Analytics.trackPage($location.url());?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions