Altinn / Altinn/app-frontend-react

Analysis: Do we need a Webanalytics tool for Altinn Apps (and if so - what tool)?

Open
#853 7 comments 0 reactions 0 assignees View on GitHub
Epic org/ssb
Dominant language
TypeScript
Stars
21
Forks
33
Avg merge
6d 23h
Merged PRs (30d)
3

Description

> The need for webanalytics in Studio is moved to a separate issue Altinn/altinn-studio#4040
## Description
To be able to give app owners a better insight on how our services and applications are used, there is a need to look at a webanalytics tool we could use in the running Apps.

Example tools that can be used:
* We should see if Matomo which is used in many other web applications and has integrations with React can be used. So similar to task Altinn/altinn-studio#321 we would like to look at Matomo.
* We can also look into hotjar which is also used by other organisations for getting feedback on end user behaviour. This is used on applications / services similar to the applications altinn will have.

https://matomo.org/
https://www.hotjar.com/tour
https://plausible.io/

It is expected that we would create more issues after completing this issue.

## User needs we should look into:
- As an App Developer I want deep user behaviour insights for editions used in portal
- As an App Developer I want deep insights for edition API usage
- As an application designer i want insight into user behaviour to understand how / what works and does not work, so i can easily identify usability issues and issues they encounter.

## Technical considerations
- We need to understand what and where the data / information will be stored.
- How we can keep the end-user privacy while using analytics tools.

## Acceptance criterea
- What is allowed/not allowed
- Validations
- Error messages and warnings
- ...

## Tasks
- [ ] Analyse pros and cons for using matomo
- [ ] Analyse pros and cons for using hotjar
- [ ] Look into if there are other tools that can be better suited for our needs.

Contributor guide

Open the contributing guide

Research direction

The issue mentions no repository files, tests, or entry points. Start by comparing Matomo, Hotjar, Plausible, and other candidates against the listed user needs, data-storage requirements, and privacy considerations; document the pros and cons, what is allowed, and the recommended follow-up work.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
analytics, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.