From ace8344b5a6dd08ed73bf9d264064f0ef7bcf3da Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Fri, 15 Dec 2023 09:27:12 -0800 Subject: [PATCH] docs: Document manual update_analytics_counts. --- docs/production/mobile-push-notifications.md | 9 +++++++++ templates/corporate/server_not_uploading_data.html | 4 ++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/docs/production/mobile-push-notifications.md b/docs/production/mobile-push-notifications.md index c8a567eebc..45310287ee 100644 --- a/docs/production/mobile-push-notifications.md +++ b/docs/production/mobile-push-notifications.md @@ -198,6 +198,15 @@ Some of the graphs on your server's [usage statistics page](https://zulip.com/help/analytics) can be generated from these statistics. +When enabled, usage statistics are submitted via an hourly cron +job. If you'd like to access plan management immediately after +enabling `SUBMIT_USAGE_STATISTICS=True` on a pre-8.0 Zulip server, you +can run the analytics job manually via: + +``` +/home/zulip/deployments/current/manage.py update_analytics_counts +``` + Our use of uploaded usage statistics is governed by the same [Terms of Service](https://zulip.com/policies/terms) and [Privacy Policy](https://zulip.com/policies/privacy) that covers the Mobile diff --git a/templates/corporate/server_not_uploading_data.html b/templates/corporate/server_not_uploading_data.html index 013723da04..5fdf6db136 100644 --- a/templates/corporate/server_not_uploading_data.html +++ b/templates/corporate/server_not_uploading_data.html @@ -32,8 +32,8 @@

Your Zulip server's administrator can fix this issue by upgrading - the server to Zulip 8.0+, or enabling the - SUBMIT_USAGE_STATISTICS setting. + the server to Zulip 8.0+, or enabling the + SUBMIT_USAGE_STATISTICS setting.

{% endif %}