Giter VIP home page Giter VIP logo

Comments (8)

bitinn avatar bitinn commented on August 15, 2024

Questions for example:

  • due to the lack of identify (so we can reuse the mixpanel instance), must users create a people before using distinct_id?
  • should we have an alias $distinct_id since it's an unique property?

UPDATE: found doc for 2nd question https://mixpanel.com/help/questions/articles/special-or-reserved-properties, looks like event special properties don't have $.

from mixpanel-node.

freeall avatar freeall commented on August 15, 2024

@bitinn the module is low level in the sense that it doesn't (and shouldn't) know anything about the user, and shouldn't store any properties/values to be sent for all further events. I quite like that it's like that.

I think your first question is more to do with understanding mixpanel, than the module. Maybe I'm mistaken. Is your question that you want to know if you must create a People with a specific distinct_id before it's shown in that Explore view?

from mixpanel-node.

bitinn avatar bitinn commented on August 15, 2024

@freeall no, I did figure out distinct_id event can be created before adding a people profile. I mean it would be nice to have an introduction doc like the client side js, so ppl don't assume they share the same api: https://mixpanel.com/help/reference/javascript

from mixpanel-node.

freeall avatar freeall commented on August 15, 2024

Maybe you're right. You don't think the quick start section in the readme helps?

from mixpanel-node.

bitinn avatar bitinn commented on August 15, 2024

It certainly does, though it also took me a while to realize why identify is not implemented.

from mixpanel-node.

bitinn avatar bitinn commented on August 15, 2024

PS: I guess some doc can be made more apparent, like the special properties doc i mentioned, but that's more a mixpanel doc issue in general. why not open source them :)

from mixpanel-node.

freeall avatar freeall commented on August 15, 2024

I actually wrote to them about that :) Asked if they could open source the docs as well, because it would be a lot easier to make PR's for them.

from mixpanel-node.

tdumitrescu avatar tdumitrescu commented on August 15, 2024

Thanks for the suggestions @bitinn. If you have specific changes you'd like to see in the readme, the best way would be to open a pull request. Regarding your specific issues about the meaning of distinct_id and people records, perhaps a link to the official docs would be an easy fix; we don't keep these in any of the libraries as they tend not to be platform-specific but are general to Mixpanel usage. And of course, if you need answers to your own Mixpanel questions unrelated to the mixpanel-node code, the best way is to write in to [email protected]. Thanks!

from mixpanel-node.

Related Issues (20)

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.