send statistics to piwigo.org, anonymously #1884

Closed
opened 2026-10-05 00:59:43 +02:00 by adam · 0 comments
Owner

We don't want any private data. We (Piwigo developers) need some technicals information (Piwigo version, PHP version, MySQL/MariaDB flavor, graphics library...) and also some general stats (number of photos, albums, users, administrators, tags, activities) as well as list of "public" extensions used (only the ones available on piwigo.org/ext).

Of course, we keep everything anonymous. We don't even know the origin url of the Piwigo sending its statistics.

With such statitstics, we (Piwigo developers) would be able to know the number of Piwigo installations (is it 10k, 100k or 1 million ?), the way Piwigo is used (single or multiple administrators), the average number of photos and albums... We would also be able to know if some features are used (user comments, ratings, history...).

Statistics about extensions would make it possible to show, on piwigo.org/ext how many active users each extension has, which version is used... Wordpress.org has that and it's crazy useful (in my opinion).

Let's say "once a week" send statistics to piwigo.org. This feature would be deactivable, but active by default. Here is an example of what would be sent:

Array
(
    [origin_hash] => 5b699b5db056156e0198154ee8f7c559d42e561b
    [technical] => Array
        (
            [php_version] => 8.1.2-1ubuntu2.17
            [piwigo_version] => 14.4.0
            [os_version] => Linux
            [db_version] => 5.5.5-10.6.16-MariaDB-0ubuntu0.22.04.1
            [php_datetime] => 2024-06-10 21:21:27
            [db_datetime] => 2024-06-10 21:21:27
            [graphics_library] => ext_imagick/6.9.11-60
        )

    [general_stats] => Array
        (
            [nb_photos] => 149
            [nb_categories] => 344
            [nb_tags] => 47
            [nb_image_tag] => 314
            [nb_users] => 7
            [nb_admins] => 1
            [nb_groups] => 5
            [nb_rates] => 1
            [nb_views] => 3054
            [disk_usage] => 533
            [nb_formats] => 0
            [formats_disk_usage] => 
            [installed_on] => 2022-10-19 10:24:09
            [nb_private_plugins] => 1
            [nb_plugins] => 9
            [nb_private_themes] => 1
            [nb_themes] => 10
            [default_theme] => modus
            [default_language] => en_US
            [nb_activities] => 2068
        )

    [plugins] => Array
        (
            [0] => #303/community/auto
            [1] => #199/GrumPluginClasses/3.5.15
            [2] => #304/ContactForm/auto
            [3] => #610/piwigo-videojs/2.9.b
            [4] => #140/bbcode_bar/auto
            [5] => #530/batch_manager_prefilters/auto
            [6] => #972/editorplus/auto
            [7] => #535/CryptograPHP/auto
        )

    [themes] => Array
        (
            [0] => #599/smartpocket/auto
            [1] => #728/modus/auto
            [2] => #383/Pure_clear_blue/auto
            [3] => #9/clear/12.a
            [4] => #831/bootstrap_darkroom/auto
            [5] => #685/elegant/auto
            [6] => #308/simple/auto
            [7] => #602/simpleng/3.2.7
            [8] => #773/stripped_responsive/auto
        )

    [themes_usage] => Array
        (
            [bootstrap_darkroom] => 5
            [modus] => 2
        )

    [languages_usage] => Array
        (
            [en_US] => 6
            [fr_FR] => 1
        )

    [activities] => Array
        (
            [album] => Array
                (
                    [add] => 404
                    [delete] => 61
                    [edit] => 106
                    [move] => 7
                )

            [group] => Array
                (
                    [add] => 13
                    [delete] => 8
                    [edit] => 17
                )

            [photo] => Array
                (
                    [add] => 175
                    [delete] => 26
                    [edit] => 979
                )

            [tag] => Array
                (
                    [add] => 12
                    [delete] => 1
                    [edit] => 12
                )

            [user] => Array
                (
                    [add] => 7
                    [delete] => 5
                    [edit] => 81
                    [login] => 119
                    [logout] => 35
                )

            [system] => Array
                (
                    [core] => Array
                        (
                            [autoupdate] => 21
                            [config] => 52
                            [maintenance] => 34
                        )

                    [plugin] => Array
                        (
                            [activate] => 68
                            [autoupdate] => 17
                            [deactivate] => 38
                            [delete] => 6
                            [install] => 5
                            [restore] => 4
                            [uninstall] => 3
                            [update] => 9
                        )

                    [theme] => Array
                        (
                            [activate] => 11
                            [deactivate] => 3
                            [delete] => 5
                            [install] => 1
                            [set_default] => 24
                            [update] => 8
                        )

                )

        )

    [features] => Array
        (
            [use_watermark] => no
            [activate_comments] => yes
            [rate] => yes
            [log] => yes
            [history_guest] => yes
            [history_admin] => no
        )

)
We don't want any private data. We (Piwigo developers) need some technicals information (Piwigo version, PHP version, MySQL/MariaDB flavor, graphics library...) and also some general stats (number of photos, albums, users, administrators, tags, activities) as well as list of "public" extensions used (only the ones available on piwigo.org/ext). Of course, we keep everything anonymous. We don't even know the origin url of the Piwigo sending its statistics. With such statitstics, we (Piwigo developers) would be able to know the number of Piwigo installations (is it 10k, 100k or 1 million ?), the way Piwigo is used (single or multiple administrators), the average number of photos and albums... We would also be able to know if some features are used (user comments, ratings, history...). Statistics about extensions would make it possible to show, on piwigo.org/ext how many active users each extension has, which version is used... Wordpress.org has that and it's crazy useful (in my opinion). Let's say "once a week" send statistics to piwigo.org. This feature would be deactivable, but active by default. Here is an example of what would be sent: ``` Array ( [origin_hash] => 5b699b5db056156e0198154ee8f7c559d42e561b [technical] => Array ( [php_version] => 8.1.2-1ubuntu2.17 [piwigo_version] => 14.4.0 [os_version] => Linux [db_version] => 5.5.5-10.6.16-MariaDB-0ubuntu0.22.04.1 [php_datetime] => 2024-06-10 21:21:27 [db_datetime] => 2024-06-10 21:21:27 [graphics_library] => ext_imagick/6.9.11-60 ) [general_stats] => Array ( [nb_photos] => 149 [nb_categories] => 344 [nb_tags] => 47 [nb_image_tag] => 314 [nb_users] => 7 [nb_admins] => 1 [nb_groups] => 5 [nb_rates] => 1 [nb_views] => 3054 [disk_usage] => 533 [nb_formats] => 0 [formats_disk_usage] => [installed_on] => 2022-10-19 10:24:09 [nb_private_plugins] => 1 [nb_plugins] => 9 [nb_private_themes] => 1 [nb_themes] => 10 [default_theme] => modus [default_language] => en_US [nb_activities] => 2068 ) [plugins] => Array ( [0] => #303/community/auto [1] => #199/GrumPluginClasses/3.5.15 [2] => #304/ContactForm/auto [3] => #610/piwigo-videojs/2.9.b [4] => #140/bbcode_bar/auto [5] => #530/batch_manager_prefilters/auto [6] => #972/editorplus/auto [7] => #535/CryptograPHP/auto ) [themes] => Array ( [0] => #599/smartpocket/auto [1] => #728/modus/auto [2] => #383/Pure_clear_blue/auto [3] => #9/clear/12.a [4] => #831/bootstrap_darkroom/auto [5] => #685/elegant/auto [6] => #308/simple/auto [7] => #602/simpleng/3.2.7 [8] => #773/stripped_responsive/auto ) [themes_usage] => Array ( [bootstrap_darkroom] => 5 [modus] => 2 ) [languages_usage] => Array ( [en_US] => 6 [fr_FR] => 1 ) [activities] => Array ( [album] => Array ( [add] => 404 [delete] => 61 [edit] => 106 [move] => 7 ) [group] => Array ( [add] => 13 [delete] => 8 [edit] => 17 ) [photo] => Array ( [add] => 175 [delete] => 26 [edit] => 979 ) [tag] => Array ( [add] => 12 [delete] => 1 [edit] => 12 ) [user] => Array ( [add] => 7 [delete] => 5 [edit] => 81 [login] => 119 [logout] => 35 ) [system] => Array ( [core] => Array ( [autoupdate] => 21 [config] => 52 [maintenance] => 34 ) [plugin] => Array ( [activate] => 68 [autoupdate] => 17 [deactivate] => 38 [delete] => 6 [install] => 5 [restore] => 4 [uninstall] => 3 [update] => 9 ) [theme] => Array ( [activate] => 11 [deactivate] => 3 [delete] => 5 [install] => 1 [set_default] => 24 [update] => 8 ) ) ) [features] => Array ( [use_watermark] => no [activate_comments] => yes [rate] => yes [log] => yes [history_guest] => yes [history_admin] => no ) ) ``` <!-- github-sync-id:2344668434 -->
adam closed this issue 2026-10-05 00:59:43 +02:00
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#1884