ublock origin blocks the loading of the file angulartics-ga.min.js, which causes the AngularJs 1.7 app to fail to load.
Is there a way to detect if the angulartics-ga.min.js file in fact loaded prior to angular.module('app',dependancyArray); ? I could remove angulartics.google.analytics from dependancyArray if angulartics-ga.min.js was blocked.
What is the best way to conditionally handle adblocking of angulartics-ga.min.js in AngularJs 1.7?
I am disappointed at the lack of support on this issue. The adblocker breaks the entire application due to this issue. I think we will just need to remove google analytics.
ublock origin blocks the loading of the file angulartics-ga.min.js, which causes the AngularJs 1.7 app to fail to load.
Is there a way to detect if the
angulartics-ga.min.js
file in fact loaded prior toangular.module('app',dependancyArray);
? I could removeangulartics.google.analytics
fromdependancyArray
if angulartics-ga.min.js was blocked.What is the best way to conditionally handle adblocking of
angulartics-ga.min.js
in AngularJs 1.7?