Time of a visit in JS


#1

Hi everybody,

in the Piwik SQL tables we can easily know how much time a visitor had browse our website, is it possible to get this variable in javascript ?

I would like to do an action when my visitor is on my website since more than XXX minutes / hours on my website, do you know how to do that with Piwik ?

Thanksss!


(vipsoft) #2

Wait for Piwik 1.2. You’ll be able to extract that from the visitor cookie.