Sharing: Collect views, visits, and downloads statistics on shared albums. #1526

Open
opened 2026-02-20 00:14:19 -05:00 by deekerman · 1 comment
Owner

Originally created by @LeehamElectronics on GitHub (Aug 11, 2022).

Is your feature request related to a problem? Please describe.
Not enough statistics

Description:
I have a few shared albums and I would like to know how many times they have been viewed and downloaded and how many unique visitors have visited the album share link. This would be great to just have some basic stats on your shared media, and it would also be good for testing security and keeping an eye on things, for example, if PhotoPrism reported back saying the Album x has had 100GB downloaded from 500 unique clients (IP's) then I would probably be a bit concerned that the album link was shared with too many people. I have tried doing this myself with NGINX logs and graphing software but it doesn't work very well.

Describe the solution you'd like
In the Album share setting window, a simple dialogue box that shows statistics on how many unique visitors the album link has and the total download traffic. Perhaps an additional button that shows a list of IP addresses that have requested the album link and how much data they pulled, maybe in a CSV form that can be downloaded. That's what would need to be done for the front end, for the back end a few simple counters would need to be made, counters for unique visitors (IP's) per album share link and a counter for the traffic upload per share link / IP.

Describe alternatives you've considered
I tried using NGINX goaccess log web panel but it's not a great solution and is very hard to navigate.

Additional context
Perhaps place the statistics button somewhere here? Upon being pressed, a new dialogue box opens showing the statistics mentioned.
image

Thanks for reading

Originally created by @LeehamElectronics on GitHub (Aug 11, 2022). **Is your feature request related to a problem? Please describe.** Not enough statistics **Description:** I have a few shared albums and I would like to know how many times they have been viewed and downloaded and how many unique visitors have visited the album share link. This would be great to just have some basic stats on your shared media, and it would also be good for testing security and keeping an eye on things, for example, if PhotoPrism reported back saying the Album x has had 100GB downloaded from 500 unique clients (IP's) then I would probably be a bit concerned that the album link was shared with too many people. I have tried doing this myself with NGINX logs and graphing software but it doesn't work very well. **Describe the solution you'd like** In the Album share setting window, a simple dialogue box that shows statistics on how many unique visitors the album link has and the total download traffic. Perhaps an additional button that shows a list of IP addresses that have requested the album link and how much data they pulled, maybe in a CSV form that can be downloaded. That's what would need to be done for the front end, for the back end a few simple counters would need to be made, counters for unique visitors (IP's) per album share link and a counter for the traffic upload per share link / IP. **Describe alternatives you've considered** I tried using NGINX goaccess log web panel but it's not a great solution and is very hard to navigate. **Additional context** Perhaps place the statistics button somewhere here? Upon being pressed, a new dialogue box opens showing the statistics mentioned. ![image](https://user-images.githubusercontent.com/51737378/184272616-6fa940cc-33f4-416b-9ee5-36f11b5043a9.png) Thanks for reading
Author
Owner

@darkpixel commented on GitHub (Jun 20, 2024):

Honestly, I'd love to see this expanded on. I dug around and did a few searches but came up blank.
I would love to have a "stats" page in PhotoPrism that shows the size of all the images, number of images, size of the database, maybe some 'fun' breakdowns with the various areas:

  • Your most photographed person is "Sue" with 1234 pictures
  • Your most active year was 2018 with 54567 pictures
  • Your most active month for taking pictures is December with 76263 pictures
  • Your most active day was February 31st 2023 with 421 pictures taken

It'd be a neat diversion...plus maybe there could be an "opt in" section to anonymously send some of those stats to the PhotoPrism site....see who gets the high score. :)

@darkpixel commented on GitHub (Jun 20, 2024): Honestly, I'd love to see this expanded on. I dug around and did a few searches but came up blank. I would love to have a "stats" page in PhotoPrism that shows the size of all the images, number of images, size of the database, maybe some 'fun' breakdowns with the various areas: * Your most photographed person is "Sue" with 1234 pictures * Your most active year was 2018 with 54567 pictures * Your most active month for taking pictures is December with 76263 pictures * Your most active day was February 31st 2023 with 421 pictures taken It'd be a neat diversion...plus maybe there could be an "opt in" section to anonymously send some of those stats to the PhotoPrism site....see who gets the high score. :)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/photoprism#1526
No description provided.