Measure time user spends on my T3 website
Im trying to measure how many times and when users are logged into my website. Reason for this is that im building a website for studying and this would be a cool metric to show to my users.
How could i achieve something like this in t3? Is there anyway i can use session data?
9 Replies
i know vercel has a analytics provider you can bring in, https://vercel.com/docs/concepts/analytics , not sure if this covers all your wants but it is a pretty easy thing to add and provides some nice information
Vercel Documentation
Vercel Web Analytics
With Web Analytics, you can get detailed insights into your website's visitors with new metrics like top pages, top referrers, and demographics.
dont think your link is working
Vercel Analytics: Real-time Insights, Peak Performance | Vercel
Vercel Analytics provides privacy-friendly, real-time traffic insights from actual visitors. Upgrade your post-launch workflow with actionable insights.
updat ed
thanks, yeah im using this! But i meant more as a type of feature for the user. Ie that you can see how many hours per day you have been using the app
I'm not sure but they probably have an api for you to pull those metrics out of the web tool
Just setup links from your backend into vercel analytics api and then display it back to your users.
Thats interesting, will take a look at that - thanks guys
I would suggest umami, is much cheaper and you can self host https://umami.is/