As a SharePoint Online site owner, you can view information about how users interact with your site. For example, you can view 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 the settings gear and then click Site usage. You can also click Site contents in the left-hand menu and then click Site usage in the top navigation bar.
Some functionality is introduced gradually to organizations that have set up the targeted release options in Microsoft 365. This means that you may not yet see this feature or it may look different than what is described in the help articles.
Lifetime stats are shown for sites created after February 2018. Sites created before this date will show stats from February 2018 forward.
Guest and anonymous views and visits are included for sites after March 2019 and forward.
What's on the site usage page
All reports on the site usage page exclude some file extensions, except for the Shared with external users report. Details about the list of extensions that are excluded from each report is shown at the bottom of the page.
To view the names of the individuals who have accessed your site, your SharePoint administrator will need to activate the SharePoint Viewers setting.
Unique viewers are the total number of individual visitors, regardless of how often they've visited.
You can review daily unique viewer trends on your site for the last 7 days, last 30 days, and last 90 days. The overall unique viewer count is available for the last 7 days and the last 30 days. Site content includes pages, documents, and news.
Lifetime unique viewers is the total number of people who viewed content on this site since February 2018.
Shows the total number of visits to content on this site for the last 7 days, last 30 days, and last 90 days. Site content includes pages, documents, and news.
The algorithm used to calculate Site visits is designed to filter out repetitive, continual operations by the same user on the same item (page, document, news etc.). For example when a user repeatedly refreshes a page, document, or news post.
Lifetime site visits is the total number of visits to content on this site since February 2018.
Shows the hourly trend of visits to the site over the last 7 days, last 30 days, and last 90 days. Darker shades on the chart refer to time slots when there are more views on the content in the site.
Shows the distribution of visits to the sites' content organized by the platform (Desktop, Mobile web, Mobile app, Tablet) from which the user visited. This data is available for the last 7 days, last 30 days, and last 90 days.
This report is generated based on "user agent" headers which are part of the received metadata when a user visits any site content.
Most unique viewers
Shows top 10 files and pages with the most unique viewers in the last 7 days.
Shows the top 10 files and pages with the most views in the last 7 days.
Shared with external users
List of files that you have access to that are shared with users outside your organization through a sharing link that requires them to log in before they can view the file.
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 Microsoft 365.
The following file-types are currently excluded from all reports on Site Usage (except "Shared with external users" report):
jpg, png, js, css, gif, jpg5_1, jpeg, one, onepkg, onetoc2, spcolor, sptheme, spfont, eot, ico, onebin, svg, woff, woff2, xsl
Monitoring usage data for apps
Monitor apps for your SharePoint Online environment describes how to monitor apps from the Admin dashboard. From the Microsoft 365 home page, click Admin center, and then click Usage. You can explore usage of email, files, OneDrive, and more.
Exporting the 'Shared with external users' report
The Shared with external users report can now be exported for further analysis and reporting. Site Owners and admins can extract this data to a CSV file by clicking the Run Report button on the bottom right corner of the page. You can export the last 7, last 30, or last 90 days of data data includes the attributes: Resource Path, Item Type, Permission, User Name, User Email, User Or Group Type, Link ID, Link Type, AccessViaLinkID.