I did not find any relevant info of how the "Views" section inside modern pages exactly work?
is it based on unique users visits? or per request visit? also how long will it take doe the Views counter to increment, is it based on the search service?
EDIT Also when i accessed the page from the
Site Pages list, and i select the modern page, i got a popup box named
File Statistics as follow:-
where it showed that i have 26 viewers with 353 views.
Also using the search api
https://***.sharepoint.com/_api/search/query?querytext='ContentType:News*+path:https://***.sharepoint.com/'&selectproperties='Title,path,ViewsLifeTime,ViewsLifeTimeUniqueUsers' (as described in @vinit kumar reply) i got a property named
ViewsLifeTimeUniqueUsers which showed the number = 99.
so in my case what do these numbers really represents "26" & "353" & "99" ?