Skip to content

[DMP 2025]: Implement User Analytics with Matomo in AMRIT #49

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

Open
9 tasks
drtechie opened this issue Mar 29, 2025 · 9 comments
Open
9 tasks

[DMP 2025]: Implement User Analytics with Matomo in AMRIT #49

drtechie opened this issue Mar 29, 2025 · 9 comments
Labels

Comments

@drtechie
Copy link
Member

Ticket Contents

Description

Piramal Swasthya, a key initiative of the Piramal Foundation, is committed to strengthening public health and governance systems through technology, innovation, and data-driven governance. Piramal Swasthya focuses on bridging healthcare gaps by working closely with governments and communities. With operations across 21 states and 35 public healthcare programs, it has impacted over 112 million beneficiaries. Through initiatives like AMRIT, Piramal Swasthya leverages digital public goods, decentralized governance, and frontline health worker empowerment to improve healthcare access and equity, aligning with the Government of India's vision for Universal Health Coverage (UHC).

AMRIT is a flagship initiative by Piramal Swasthya under the Digital Bharat Collaborative (DBC), focused on building a scalable digital public health platform. The platform leverages cutting-edge technology, data-driven governance, and healthcare worker empowerment to strengthen India’s public health system.

AMRIT currently lacks a robust analytics framework to track user interactions, measure engagement, and assess system performance. Without detailed insights into user behavior, it is challenging to optimize workflows, improve user experience, and ensure data-driven decision-making. Existing monitoring tools primarily focus on system health but do not provide actionable insights into how healthcare workers and beneficiaries interact with the platform. Integrating Matomo will address this gap by offering real-time analytics, event tracking, and customizable reporting to enhance AMRIT’s digital public health delivery.

Matomo (formerly Piwik) is an open-source analytics platform that provides privacy-friendly insights into user interactions. This task involves integrating Matomo with AMRIT’s UI services to track key performance indicators (KPIs), user journeys, and other relevant metrics.

Goals & Mid-Point Milestone

Goals

  • Deploy Matomo: Set up and configure a self-hosted Matomo instance or use the cloud-hosted version.
  • Define KPIs: Identify key metrics for tracking user engagement, system performance, and workflows.
  • Integrate Across UI Services: Embed Matomo tracking scripts in AMRIT’s Angular UI services.
  • Mid-point Milestone
  • Implement Event Tracking: Capture user interactions such as form submissions, button clicks, and navigation patterns.
  • Ensure Data Accuracy: Validate event tracking, filter out irrelevant data, and ensure meaningful insights.
  • Create Dashboards: Build reports and dashboards in Matomo to visualize user engagement and system usage.
  • Ensure Privacy Compliance: Configure data anonymization and consent mechanisms as per regulations.
  • Enable Advanced Features: Explore server-side tracking, goal conversion tracking, and custom tagging for flexibility.

Setup/Installation

Follow the official Matomo installation guide: https://matomo.org/docs/installation/

Expected Outcome

  • Matamo central server setup to track all AMRIT deployments.
  • Matomo successfully integrated with AMRIT’s UI services.
  • Dashboards displaying user interactions, engagement metrics, and critical KPIs.
  • Actionable insights generated to improve user experience and performance.

Acceptance Criteria

  • Matomo instance is deployed and configured for AMRIT.
  • Key UI interactions are being successfully tracked and logged in Matomo.
  • Dashboards display relevant analytics and KPIs.
  • Event tracking is implemented and accurately captures user actions.
  • Performance impact is minimal, and Matomo integration does not degrade UI responsiveness.
  • Documentation is provided for setup, event tracking, and extending the implementation.

Implementation Details

Use Matomo’s JavaScript tracking code for frontend integration.
Consider server-side tracking for backend events where necessary.
Configure goal tracking for user workflows (e.g., registration, report generation).
Implement tag management for flexibility in event tracking.
Ensure compliance with data privacy regulations.

Mockups/Wireframes

NA

Product Name

AMRIT

Organisation Name

Piramal Swasthya Management and Research Institute

Domain

⁠Healthcare

Tech Skills Needed

Angular, HTML, JavaScript

Mentor(s)

@drtechie

Category

Frontend, Analytics

@drtechie drtechie changed the title [DMP 2025]: [DMP 2025]: Implement User Analytics with Matomo in AMRIT Mar 29, 2025
@techy4shri
Copy link

Is this to be assigned on selection or can we work on this? If this ticket is open then I would like to contribute.

@drtechie
Copy link
Member Author

drtechie commented Apr 8, 2025

Hi @techy4shri, this ticket is for the DMP-2025 program. You will have to apply via C4GT.
https://codeforgovtech.in/dedicated_mentoring_program/

@techy4shri
Copy link

Will do! Thanks

@Shantanupokale
Copy link

hey @drtechie I am to interested to work on this project under C4GT

@oathar
Copy link

oathar commented Apr 11, 2025

Hi @drtechie,

I would like to express my interest in the AMRIT project under DMP-2025. I’m eager to contribute to integrating Matomo into AMRIT’s Angular UI to enhance analytics and support Piramal Swasthya’s healthcare mission. My skills in Angular and JavaScript align well with the project’s goals, and I’d love to discuss how I can contribute under your guidance. Thank you

@Harishchandra-26
Copy link

I'm interested to contribute this project

@abhijeetw035
Copy link

This looks like a really impactful project! Looking forward to be part of it

@ShubhamMishra99
Copy link

Hii @drtechie
I would like to contribute to this impactful project through C4GT.

@shivanshuJags
Copy link

hey @drtechie I am to interested to work on this project under C4GT As I have 7.3 Years of experience in frontend development and already contributed in many open source projects.I have good understanding of analytics integration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

8 participants