Questions for Visitor tracking

Hi,

What actions could be made, if I want something like:

" Track Visitors’ total stay time of whoever once visited ‘a specific URL’ "

I’m trying to do this through an API call, using PHP. Any recommendations?

*P.S. It’s a pity that any replies were made on my previous question…