I saw about the ViewsLifeTime and ViewsRecent properties. The two return empty. How do I work?
Try to enable Search and Query property for "ViewsLifeTime" and “ViewRecent”managed property via SharePoint Online admin center-> search->Mange Service schema. Wait for crawl content in SharePont Online.
Then use Search Query API to get the information.