Real-Dev-Squad / todo-action-items

A running list of todo items for Real Dev Squad site
MIT License
4 stars 8 forks source link

[RFC] Adding Analytics and Tracking to all the projects in RealDevSquad #187

Open lakshayman opened 1 year ago

lakshayman commented 1 year ago

Date: 23-09-2023 Author: Lakshay

Abstract

This RFC proposes the implementation of analytics and tracking in all the projects under the RealDevSquad to collect user data, analyze website performance, and improve user experience.

Motivation

The primary goals of this RFC are as follows:

Implementation Details

1. Analytics Platform Selection We propose the use of Posthog as our analytics solution. This platform is chosen for the aforementioned reasons - Open-Source, Self-Hosted Option, Developer-Friendly, Active Community, Privacy and Security, Real-Time Dashboard, and Custom Event Tracking.

2. Tracking Code Placement We propose to start with the website www and identity service as they are small projects and good to start with. We will mention further details timely. List of projects we can track:

3. Data Points to be Tracked We will track the following data points:

4. Data Privacy and Compliance To ensure compliance with data privacy regulations:

5. Reporting and Data Analysis Use the Posthog dashboard to generate regular reports and analyze data. Create custom reports for:

RFC Review Period: till 4 October 2023 Implementation Start Date: 10 October 2023 (OOO in Between)/Depends on Ankush approval on the application we use Expected Completion Date: Will specify when the implementation starts

Questions with suggestions:

What platform do we use?

Mixpanel (Huge free limit, Easy to use), Posthog(Can host it, Open-Source)

Tried self-hosting the posthog on AWS, spun up the EC2 and made necessary arrangements, and got charged around 40 dollars in around 1 and a half weeks. If we use the posthog cloud version, it gives us 1M events/month whereas if we use the mix panel, it gives 20M events/month and the mix panel is also easy to set up, both of them have comparable features. So I think we should use the mix panel.

What events should we track?

Website Dashboard

Identity Service

Website www

Website Members

iamitprakash commented 1 year ago

@lakshayman looks okay to me

prakashchoudhary07 commented 1 year ago

Looks okay to me