I need to have the number of visitors in a page that I can filter (last 30 days, last 7 days, etc…).
So, I think the best solution is to have a Page view data type with 0 fields (just the default ones), and everytime someone loads a page, I create a Page view, and I would have the Created date for filtering (last 30 days, last 7 days, etc…).
All seems good, but I have 2 questions.
In one point there will be thousands and thousands of entries, and I don’t know if having that much entries is going to be a problem in the long run. Also, regarding the Bubble’s possible pricing based on database count, this would cost a lot of money.
Maybe add a data type Page and add a field view count that is just a count of views and then you could have page views that is a list of Page Views saved to it as well for sorting but once the views fall past a specified date range like 30 days or 3 months then delete the Page Views but you will still have record of the count?