Skip to content

feat: add analytics module with event pipeline and aggregations#357

Merged
devIKargi merged 3 commits into
StellAIverse:mainfrom
a-malik-gh:feat/348-analytics-module
Jul 23, 2026
Merged

feat: add analytics module with event pipeline and aggregations#357
devIKargi merged 3 commits into
StellAIverse:mainfrom
a-malik-gh:feat/348-analytics-module

Conversation

@a-malik-gh

Copy link
Copy Markdown
Contributor
  • Create AnalyticsEvent entity for event storage
  • Create DailyMetric entity for aggregated metrics
  • Implement AnalyticsService with event ingestion and aggregation
  • Add batch event ingestion endpoint (POST /analytics/events/batch)
  • Add DAU, event counts by type, and funnel conversion queries
  • Add user opt-out functionality for privacy
  • Add daily metrics aggregation job
  • Integrate with AppModule and TypeORM

Closes #348

A6dulmalik and others added 3 commits July 23, 2026 12:13
- Create AnalyticsEvent entity for event storage
- Create DailyMetric entity for aggregated metrics
- Implement AnalyticsService with event ingestion and aggregation
- Add batch event ingestion endpoint (POST /analytics/events/batch)
- Add DAU, event counts by type, and funnel conversion queries
- Add user opt-out functionality for privacy
- Add daily metrics aggregation job
- Integrate with AppModule and TypeORM

Closes StellAIverse#348
- analytics.service: ./ → ../
- dto/ingest-events.dto: ./dto/ → ../dto/
- jwt-auth.guard: ../auth/ → ../../auth/
- public.decorator: ../common/ → ../../common/

File is in src/analytics/controllers/, not src/analytics/
@devIKargi
devIKargi merged commit 2cfe2b1 into StellAIverse:main Jul 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build Analytics module: event pipeline, storage & basic aggregations

3 participants