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 home page, how many new items were added to your 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.
Note: Some functionality is introduced gradually to organizations that have opted in to the First Release program. This means that you may not yet see this feature or it may look different than what is described in the help articles.
What's on the site usage page
Shows the total number of unique visits to your home page for the last 7 days.
Shows the total number of new files added to your site over the last 7 days.
General tips to help you use SharePoint more efficiently.
Note: Visible only on sites not connected to an Office 365 Group.
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 sites or documents with people outside your organization.