Visits to the website

Asked

Viewed 42 times

0

banco de dados

Hello friends I have this information of my visitors to make a very cool Dashboard, I am wanting to calculate the time of permanence of customers on the site, to each access that the person gives it records in the database with that we have the datetime, date and the team also separate. I think of making an sql query that assumes that if there is an access at a later time of 1h from one record to another account as another visit if you have the same ip records at a shorter time interval of 1h is the same visit to the website. You can do this via mysql ?

  • You could create some function that triggers an update by picking the time you entered and adding +5 minutes of 5 in 5 minutes...

  • great idea, make a query to see if there is customer registration and follows the desired pattern, I will change this rule. Thanks

  • Problem solved Thank you very much friend

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.