Code review comment for ~ya-bo-ng/maas:replace-ga-with-gtm

Revision history for this message
Blake Rouse (blake-rouse) wrote :

This issue is now you will not get new page views. The code you removed updated the current page even in a SPA, which MAAS mostly is (only some settings pages are not).

The reason this was linked to angular code is because of this:

$rootScope.$on('$routeChangeSuccess', function() {});

This is called when the HTML5 route is changed, something that you are completely losing with your change.

review: Needs Fixing

« Back to merge proposal