Is there a way to get the total number of page views of a page in SharePoint using Rest API or JSOM?
I tried using Search API
But in all the results, the ViewsLifeTime is null I enabled search and crawl for the managed property (ViewsLifeTime) and ran a full crawl as suggested here, but still the values were null.
ViewsRecent column is null as well
Is there any other way ? Am I missing something like a mapping?