{"id":300072,"date":"2019-12-13T07:47:25","date_gmt":"2019-12-13T14:47:25","guid":{"rendered":"https:\/\/css-tricks.com\/?p=300072"},"modified":"2019-12-13T07:47:25","modified_gmt":"2019-12-13T14:47:25","slug":"detecting-inactive-users","status":"publish","type":"post","link":"https:\/\/css-tricks.com\/detecting-inactive-users\/","title":{"rendered":"Detecting Inactive Users"},"content":{"rendered":"

Most of the time you don\u2019t really care about whether a user is actively engaged or temporarily inactive on your application. Inactive, meaning, perhaps they got up to get a drink of water, or more likely, changed tabs to do something else for a bit. There are situations, though, when tracking the user activity and detecting inactive-ness might be handy.<\/p>\n

Let\u2019s think about few examples when you just might need that functionality:<\/p>\n