Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Analytics: Add app start event tracking #465

Merged

Conversation

ksharma-xyz
Copy link
Owner

@ksharma-xyz ksharma-xyz commented Dec 18, 2024

TL;DR

Added app start analytics event tracking with device and app information

What changed?

  • Created new AppStart analytics event to capture device and app information
  • Enhanced AppInfo interface with additional properties (OS version, font size, theme, device model)
  • Implemented platform-specific (iOS/Android) app information collection
  • Added analytics tracking to the splash screen
  • Configured analytics to only track events in production builds

How to test?

  1. Launch the app in debug mode and verify no analytics events are sent
  2. Launch the app in release mode and confirm the app_start event is tracked
  3. Verify the following properties are captured:
    • Device type
    • OS version
    • App version
    • Font size
    • Theme setting
    • Device model

Why make this change?

To gather essential analytics data about app usage across different devices and configurations, helping understand user behavior and app performance across various platforms and settings.

@ksharma-xyz ksharma-xyz changed the title Update appInfo and add app start events for analytics Analytics: Add app start event tracking Dec 18, 2024
@ksharma-xyz ksharma-xyz marked this pull request as ready for review December 18, 2024 07:34
@ksharma-xyz ksharma-xyz force-pushed the 12-18-add_analytics_events_for_datetimeselectorscreen branch from 093ca2e to ffcf220 Compare December 18, 2024 22:29
@ksharma-xyz ksharma-xyz force-pushed the 12-18-update_appinfo_and_add_app_start_events_for_analytics branch from 97d82f1 to 77bd90f Compare December 18, 2024 22:29
@ksharma-xyz ksharma-xyz force-pushed the 12-18-add_analytics_events_for_datetimeselectorscreen branch from ffcf220 to c454181 Compare December 19, 2024 19:41
Base automatically changed from 12-18-add_analytics_events_for_datetimeselectorscreen to main December 21, 2024 02:12
@ksharma-xyz ksharma-xyz force-pushed the 12-18-update_appinfo_and_add_app_start_events_for_analytics branch from 77bd90f to eab4f3a Compare December 23, 2024 11:35
@ksharma-xyz ksharma-xyz force-pushed the 12-18-update_appinfo_and_add_app_start_events_for_analytics branch from eab4f3a to 4406bc7 Compare December 23, 2024 11:42
@ksharma-xyz ksharma-xyz changed the base branch from main to 12-19-print_logs_only_for_debug_builds December 23, 2024 11:42
@ksharma-xyz ksharma-xyz force-pushed the 12-19-print_logs_only_for_debug_builds branch from d2af0dd to 95ed0ae Compare December 23, 2024 11:55
@ksharma-xyz ksharma-xyz force-pushed the 12-18-update_appinfo_and_add_app_start_events_for_analytics branch from 4406bc7 to 7090b82 Compare December 23, 2024 11:55
@ksharma-xyz ksharma-xyz force-pushed the 12-19-print_logs_only_for_debug_builds branch from 95ed0ae to deab2c9 Compare December 23, 2024 11:59
@ksharma-xyz ksharma-xyz force-pushed the 12-18-update_appinfo_and_add_app_start_events_for_analytics branch from 7090b82 to f020ce4 Compare December 23, 2024 11:59
@ksharma-xyz ksharma-xyz force-pushed the 12-19-print_logs_only_for_debug_builds branch from deab2c9 to 3cfedaf Compare December 23, 2024 12:10
@ksharma-xyz ksharma-xyz force-pushed the 12-18-update_appinfo_and_add_app_start_events_for_analytics branch from f020ce4 to 7ce7089 Compare December 23, 2024 12:10
Base automatically changed from 12-19-print_logs_only_for_debug_builds to main December 23, 2024 20:28
@ksharma-xyz ksharma-xyz force-pushed the 12-18-update_appinfo_and_add_app_start_events_for_analytics branch from 7ce7089 to 356b99d Compare December 23, 2024 21:21
@ksharma-xyz ksharma-xyz added this to the v1.1.1 milestone Dec 23, 2024
@ksharma-xyz ksharma-xyz enabled auto-merge (squash) December 23, 2024 21:23
@ksharma-xyz ksharma-xyz merged commit 13fef25 into main Dec 23, 2024
2 checks passed
@ksharma-xyz ksharma-xyz deleted the 12-18-update_appinfo_and_add_app_start_events_for_analytics branch December 23, 2024 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant