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
jps
jps16mo ago
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.
Christian Lind
Christian Lind16mo ago
dont think your link is working
Christian Lind
Christian Lind16mo ago
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.
jps
jps16mo ago
updat ed
Christian Lind
Christian Lind16mo ago
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
BigLung
BigLung16mo ago
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.
Christian Lind
Christian Lind16mo ago
Thats interesting, will take a look at that - thanks guys
Jaaneek
Jaaneek16mo ago
I would suggest umami, is much cheaper and you can self host https://umami.is/
Want results from more Discord servers?
Add your server