You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should have some form of view counter for each image. I like the way that my friends over at ABG handled their view counter, using Google Analytics. I know from a privacy perspective its not the best, but its the easiest to implement and I don't want to deal with self-hosting a bunch of crap. If people don't like it they can use privacy extensions. This would also kill two birds with one stone as we need analytics anyways.
The text was updated successfully, but these errors were encountered:
The TLDR on how their page viewer works is that they have normal analytics on all their pages that store the views on each page by the path. Then they have a NextJS function that hits the Google Analytics API with their private API key that gets the view count and returns it to the unauthorized user. I think this is the easiest method without either selfhosting our own analytics solution or attempting to create our own analytics system via supabase.
We should have some form of view counter for each image. I like the way that my friends over at ABG handled their view counter, using Google Analytics. I know from a privacy perspective its not the best, but its the easiest to implement and I don't want to deal with self-hosting a bunch of crap. If people don't like it they can use privacy extensions. This would also kill two birds with one stone as we need analytics anyways.
The text was updated successfully, but these errors were encountered: