Comments (4)
There's no support for the client side, but why would you use this in the browser instead of the real deal?
from universal-analytics.
I was wondering if this was possible too (with browserify instead of webpack). Why?
- Our Web app exists in a NW.js desktop app (formerly node-webkit) so all URLs are
file://
URLs and typical Google Analytics wouldn't work I'm told. - On the Web, our Web app exists on loads of subdomains (and even across a few domains) so using this might be easier than doing it with some hacked from of a GA snippet, if it's even possible.
- Our Web app exists in Android & iOS apps in a WebView. Typical GA wouldn't work there either I'm told. We'd have to reach out of the WebView, call Java / Objective-C functions to send events to GA.
Even though with a typical GA Web set up, it would automatically track page views, etc. it still might be less hassle to manually send events to GA via this module (browserified). I.e. the same code for the Web, desktop and mobile.
from universal-analytics.
I have the same use case as @adam-lynch. Would replacing request
with something like superagent
solve this?
from universal-analytics.
There is also nets which uses request in Node, and xhr when browserified.
from universal-analytics.
Related Issues (20)
- Transaction not working not updating HOT 1
- How to circumvent the limit of 500 hit/session ? HOT 2
- Ad tracking? HOT 1
- Vulnerability in "request" sub-package HOT 6
- Typescript support? HOT 1
- How to mark event as "User" (raising login event won't mark thing as user) HOT 1
- Custom dimensions with E-commerce tracking HOT 1
- GA + UA HOT 2
- 'Cannot read properties of undefined (reading '_readableState')' error occurred after 0.5.0 update HOT 2
- Payload data sent as object not working HOT 2
- IP not being assigned when using a proxy HOT 2
- Requests are being ignored by GA HOT 5
- Support for Event Values as String HOT 4
- Analytics no longer sent since upgrade from 0.4.23
- Transaction is not reflected being reflected on GA dashboard HOT 2
- Transactions are not being reflected on GA dashboard HOT 3
- Custom dimension and Event data not matching
- Universal Analytics Deprecation HOT 3
- Active users count differently with and without `strictCidFormat`
- Yarn problem with WebpackEncore
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 universal-analytics.