Page views tracking

Let's try the Supabase database function. This is an easy way to allows us to do several things and also add some logic to our procedure.