Track time spent by a user in a web page in django
<p>I'm searching on how to track time spent by a user in a webpage of my django app.
I would like to store this time in the database in a column next to the username.
I've checked many solutions posted here but they seem very complicated for my app.</p>

<p>Any suggestion?</p>

<p>Thank you</p>