10
7 Comments

What data do you collect from your users?

Hey hackers!

I'm currently building my MVP with nodejs as my backend. What type of data do you store to analyze later on?

I'm thinking of storing logs of signups (IP, user, email, time), logs of login, logout, login duration, browsing history on the site. Might be useful later on to determine active users, and then contact them to improve the site.

I'm collecting this data myself on the backend. Is there any service (g analytics?) that I can use to offload this task?

Thanks!

  1. 2

    I push all my user analytics to Segment and from there it gets distributed to various services like FullStory, Slack, Intercom, etc. My advice is to push as many events as you can because it's so much better to have the data already available when the opportunity arises. You could use something like Heap and just track everything!

    For server-side, I use Prometheus + Grafana. I have a very heavy background-worker app (~2k jobs/minute) and being able to monitor queues, job processing time, node + database metrics has been extremely valuable.

    1. 1

      Looks promising. How are you running your background workers on your stack?

      1. 1

        I use Sidekiq but here is its language-agnostic sister: Faktory

        Celery is also another popular choice

  2. 1

    I'm curious about this, too. I don't want to bloat up my users collection, but I don't know how to use any of those other tracker things.

    So far, I'm collecting IP only when the user accepts the terms. (Pretty sure that is necessary). Otherwise, I am only collecting join date and a constantly overwritten "lastlogin".

  3. 1

    For gathering the Data you can take help of Search Engine analytics like Bing Analytics, Yandex and more..

  4. 1

    You can also consider saving this information in a Redis or similar. If you save all this information of the session in your database could be a problem in the future if your app starts to be used for many users.

    There is also platform like Intercom you can save this information and even send automatic emails to them in the future.

    1. 1

      Mhm probably going to do so but export at certain intervals for persistant storage Thanks!