Giter Club home page Giter Club logo

angular-segmentio's People

Contributors

arnaudbreton avatar busterbeans avatar jteneycke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

angular-segmentio's Issues

Hide console logging?

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

analytics not defined

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.

Suggestion for only loading in production env?

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.

detecting analytics.initialized is deprecated

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.

How do I suppress the logs?

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?

Allowing Angular 1.3.0

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!!

Tag the release so bower will install it properly

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!

Can't Identify in Android emulator

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.