Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to handle adblocking of angulartics-ga.min.js #120

Open
jeremyml opened this issue Sep 3, 2020 · 1 comment
Open

How to handle adblocking of angulartics-ga.min.js #120

jeremyml opened this issue Sep 3, 2020 · 1 comment

Comments

@jeremyml
Copy link

jeremyml commented Sep 3, 2020

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?

@jeremyml
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant