Skip to content

Loading…

Whitelisting Google Analytics #644

Closed
jpillora opened this Issue · 9 comments

3 participants

@jpillora

I'd like to allow GA on http://jpillora.com/xdomain/. As to be expected, uBlock stops http://www.google-analytics.com/analytics.js loading by default. I'd like to allow all requests to www.google-analytics.com. Adding www.google-analytics.com to the Whitelist section in Options seems to have no effect as this list only refers to 1st party domains, not 3rd party domains.

@Betsy25

While on that site, check the "allow" checkbox for this site (greening the second zone in the advanced popup) works as expected for me.
I checked it by using Fiddler as a proxy, when you check allow next to the entry, and reload, it's being requested here.

Or do you really want to allow it globally ?

@jpillora
@Betsy25

Confirmed. Allow Globally doesn't work for "google-analytics.com"

Edit: Weird, on second try it did work.
@jpillora do you have "* google-analytics.com * allow" in your "My rules" list ?

@ghost

Allow it with Dynamic Filtering

@jpillora

Ah awesome, I'll give that a shot

@Betsy25

I think it might be much more usable for new users to make "advanced features" the default.
Only thing that might make it more clear is some "Globally" and "On This Site"' kinda column headers.

@gorhill

@jpillora @@||google-analytics.com^ in "My filters" should work.

@Betsy25 @tlu1024 Dynamic filtering is for advanced users, it should not be suggested as a solution.

@jpillora

Thanks @gorhill, that worked, and thanks for the awesome extension.

@jpillora jpillora closed this
@ghost

@gorhill

Dynamic filtering is for advanced users, it should not be suggested as a solution.

Yes, I generally agree. On the other hand, I think Dynamic Filtering is probably easier to grasp for an unexperienced user than fiddling around with filter syntax.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.