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

Show a warning banner to notify when tracker's record_statistics is not enabled #3551

Closed
anonymous-matomo-user opened this issue Nov 16, 2012 · 4 comments
Assignees
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@anonymous-matomo-user
Copy link

It can happen to the best of us, either because of forgetfulness or because piwik somehow reordered the contents of config.ini.php (I'm not 100% sure it is possible, but it seemed to happen to me recently, and I wrongly assumed that the line I had added to the top of the file had been simply removed by piwik... leading to weeks of lost statistics).

If this is present in the configuration:

[Tracker]
record_statistics = 0

...simply tell the user. There are a couple of ways to do so, which are not mutually exclusive:

  • After running the upgrade script (from the commandline or the web UI)
  • When inside the piwik's admin settings, or even directly in the main web interface, as a banner/infobar at the top above (or below) the dashboard menu

In the web UI, not only could we show the warning message, but it could also contain a button tracking, if such a thing is easy and safe to do.
Keywords: usability

@halfdan
Copy link
Member

halfdan commented Feb 4, 2013

I believe it is enough to show the warning message in the admin menu (and only for the superadmin, since he is the only one who likely has access to the config).

@mattab
Copy link
Member

mattab commented Feb 4, 2013

Agreed!

@anonymous-matomo-user
Copy link
Author

In 84a2e9e: Warning is now shown on General Settings page to warn user
when tracking is disabled via record_statistics = 0.

fixes #3551

@mattab
Copy link
Member

mattab commented Feb 7, 2013

In 8ac1bc2: Refs #3551 Display message in all admin controlllers

@anonymous-matomo-user anonymous-matomo-user added this to the 1.11 - Piwik 1.11 milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

3 participants