arnaudbreton / angular-segmentio Goto Github PK
View Code? Open in Web Editor NEWAn AngularJS (http://angularjs.org) module for analytics service Segment.io (http://segment.io)
License: MIT License
An AngularJS (http://angularjs.org) module for analytics service Segment.io (http://segment.io)
License: MIT License
I'm seeing this in my console - any way to turn that off?
Call segmentio API with pageview ["/people"]
Segmentio API not yet initialized, queueing call
When you push to staging, you'll get errors, analytics not defined.
I don't think its a good idea to attach a global analytics object to window.
I'm getting a lot of data from my development activity. Is there a quick way to exclude it unless in production?
Bower has a nice 'devDependencies' option but I'm not sure about the reverse.
From the source code.
// backwards compat with angular plugin.
// TODO: remove
this.initialized = true;
Also seems this fix not always works, which leads to the wrapper never receiving the signal that the library was initialized.
The logs, whilst handy, are getting really annoying in between stuff I am trying to debug. Is there a way I can turn this off?
Hey, could you allow Angular 1.3.0? I tested this and it seems to be working fine in 1.3.0. I would put a PR in, but doesn't really matter since you'll have to push to bower anyway
thank you!!
Bower relies on changesets being tagged so we know we're downloading the right version of the software. Could you tag the latest on master as 1.0.0 or something like that so we know we're not downloading a version with breaking changes? Thanks!
or atleast let bower install it with 1.2.0
I'm having troubles using segment io analytics on Android emulators. It works fine on the iOS simulator though.
That's the error I get on Android devices: http://cl.ly/X5LD/Screen%20Shot%202014-08-18%20at%2009.58.08.png
angular-segmentio seems to be relaying the work to analytics.js properly but analytics.js doesn't send the required json in the Body of POST requests. The response message is {"message":"You must supply either an anonymousId
or a userId
string.","code":"invalid_request_error"}
I will investigate more to see where it might be coming from. Also, is the version of analytics.js being downloaded v1 as this line suggests? https://github.com/arnaudbreton/angular-segmentio/blob/master/angular-segmentio.js#L51
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.