Comments (11)
Just found the answer: the problem was Ad Block (on chrome)...
Don't know if we can do something about it, but currently this plugin wont let you track users or visitors using Ad Block.
from analytics.
I got this because I was running AdGuard. After turning it off things started working!
from analytics.
This is preventing my entire Meteor app from loading. I just get a white screen with a bunch of console errors:
My only workaround is to disable adblock. This is a blocker for me using this package unfortunately.
from analytics.
@noahsw Is this happening in dev or production mode ? Is this the issue referred to in the README ? If it's not can you please provide more information and/or a minimal reproduction as we have tested on our example apps without any issues when following the README instructions.
from analytics.
Ah, you're right @cfnelson. I didn't see the note on the README. However, I think we should make it clearer that the key difference is minification. I use meteor-up and I'm able to deploy to production (with Meteor.isProduction true), without minification. That's where I was getting the error.
Once I minified things with meteor-up's buildOptions { debug: false }
, everything was fixed.
from analytics.
@noahsw I agree with your point about minification being clearer in the guides. Will add that. 👍
from analytics.
Is it the package name that's a problem, or one of the file names? Is it possible to rename something? (Maybe not if it's the package name itself).
from analytics.
Thx @arrygoo !
@pauldowman, I believe it's because the javascript file it exports has the word "analytics" in it.
from analytics.
@noahsw Sorry for the late response, been away on holiday. You are correct that it's due to it not being bundled.
@pauldowman It is due to the Package name that we are using. I believe uBlock is inspecting the Request URL and/or its response and blocks if it reads the word "analytics". When the Meteor packages are not bundled Meteor requests each package individually. In our case something like this http://localhost:3000/packages/okgrow_analytics.js?hash=4a8c92364e5f2ab889a06fd2f25d06330856e73e
from analytics.
Just had this problem too with "https://apis.google.com/js/platform.js", only solution is to disable addblock, or maybe charge the script locally instead.
from analytics.
Just had this problem too with "https://apis.google.com/js/platform.js", only solution is to disable addblock, or maybe charge the script locally instead.
How can i disable the add blocker in a vite-react project? I'm having the same issue when deploying locally
from analytics.
Related Issues (20)
- Is there a way of disabling automatic identification? HOT 3
- No data sent to Google Analytics HOT 1
- Does this work with React Router v4? HOT 3
- Basic Google Analytics setup does not seem to work HOT 6
- Custom Event Tracking HOT 6
- Update analytics.js HOT 3
- Mixpanel integration not reporting on a specific project HOT 6
- TypeError: Cannot read property '0' of undefined after update to version 3.0.2 HOT 5
- 3.0.2 break meteor HOT 3
- App crashes with ad blocker HOT 2
- Multiple Google Analytics tags detected [solved] HOT 2
- Package breaks back navigation on Meteor 1.6 if FlowRouter is used HOT 8
- net::ERR_BLOCKED_BY_CLIENT with Ad blocker in production (Mixpanel) HOT 2
- Package breaks whole page when adblock is enabled HOT 1
- GDPR compliance for Google Analytics HOT 4
- Tag not found HOT 1
- SegmentIO is not loaded properly, so events are not passed to destinations. HOT 1
- How to supply our own analytics.js build? HOT 1
- Setting People Properties and Incrementing Events for Mixpanel HOT 4
- Google Tag Manager integration not working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from analytics.