Skip to content

Detect when stats load slowly and explain to user to disable Browser trigger archiving in Admin #6210

@mattab

Description

@mattab

The goal of this issue is to help users who have poor experience of Piwik by detecting when it happens and displaying a help notification to guide them in right direction.

Problem: Piwik loads stats slowly for many users when Browser trigger archiving is enabled in settings. It affects mostly

Suggested tasks

  • In the Dashboard and All Websites dashboard, detect when stats take more than a few seconds to load and display inline notification suggesting to solve the issue.
  • The notification message can change depending on the use case:
    1. when browser archiving is enabled, recommend user to setup Cron archiving
    2. when segments are used, and it's not set to pre-processed, explain that it's recommended to set segments to be pre-processed.
    3. when a custom date range is used, explain that they are not pre-processed and can be slow. Recommend user to use Weekly/Monthly/Yearly reports if problem persists.

How often should the notification be displayed? if the user closes the notification, maybe it could be displayed again in one week. The notification should be displayed to all users but messaging should change for Super User to recommend them to change the settings or setup cron (for normal users it would recommend to contact the Piwik Administrator to let them know of the issue and suggest them to tweak Piwik).

Who is affected by issue?
Almost all users by default will experience this issue sooner rather than later. By default the automated cron is not setup and user has browser archiving enabled in piwik settings. by default we load Today, and All websites can also load the Last 30 days, so the user will request a lot of fresh data most of the time!

Maybe you have other ideas?

Metadata

Metadata

Assignees

Labels

EnhancementFor new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.c: OnboardingFor issues that make the experience of getting Matomo up and running better.c: PerformanceFor when we could improve the performance / speed of Matomo.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions