As a SharePoint Online site owner, you can view information that shows you how users are interacting with your site. For example, you can see the number of people who have visited the site, how many times people have visited the site, and a list of files that have received the most views.
To view usage data for your site, click Site contents in the left-hand menu and then click Site usage in the top navigation bar.
Lifetime stats are shown for sites created after February 2018. Sites created before this date will show stats from February 2018 forward.
At this time, views are counted for internal, authenticated users only.
What's on the site usage page
Shows the total number of unique viewers to your site for the last 7 days, last 30 days, and last 90 days.
Shows the number of visits to the site over the last 7 days, last 30 days, and last 90 days.
Lists the files most viewed by visitors to your site over the past 2 weeks.
List of files you have access to that have been shared with users outside your organization through a sharing link that requires them to log in before they can view the file. Files shared with anonymous users or files available to users with guest permissions are not included.
To edit the permissions for any item in this list, click next to the item and select Edit permissions. For more information, see Share SharePoint files or folders in Office 365.
Drilling down to more details
The usage data dashboard gives you a top level view of your site's usage. To get to more details, such as how many times individuals accessed documents, see the following topic. You'll need to have administrator or owner rights to the Office 365 site.
Monitor apps for your SharePoint Online environment describes how to monitor apps and documents from the Admin dashboard. From the Office 365 home page, click Admin center, and then click Usage. You can explore usage of email, files, OneDrive, and more.