How to Create Detailed Analytics Reports for SharePoint Communication Sites
Question details
The user needs to generate comprehensive and ranked monthly analytics reports for a SharePoint Communication site, including detailed metrics like views, likes, comments, and engagement that exceed the standard built-in analytics capabilities.

- Product
- SharePoint
- Device & OS
- not provided
- Scenario
- Tracking and ranking monthly visitor engagement and news story performance on a SharePoint communication site.
- Observed behavior
- Built-in SharePoint analytics only provide limited 7, 30, and 90-day trends, lacking comprehensive month-to-month ranking data for deep engagement metrics.
Ensure you have administrative or site owner permissions for the SharePoint Communication site and access to Power Automate with the necessary connectors to utilize the HTTP request actions.
Automate Analytics Extraction Using SharePoint API and Power Automate
Build a scheduled flow to pull advanced metrics via the API and store them in an Excel spreadsheet for detailed monthly reporting and visualization.
Because default SharePoint analytics overwrite older data and only show rolling periods, you must routinely capture this data to build a historical archive. Automating this process ensures you never miss a reporting period.
Navigate to Power Automate and create a new 'Scheduled cloud flow'. Set the frequency to run at your desired reporting interval, such as the first day of every month.
Add a 'Send an HTTP request to SharePoint' action. Configure it to call the SharePoint Analytics API endpoint, inserting your specific tenant, site, web, list, and page identifiers.
Add additional HTTP request actions targeting the specific SharePoint endpoints responsible for reactions, likes, and comments, as these are stored separately from page view data.
Use data operation actions to parse the JSON responses returned by the API. Filter the data to isolate the specific timeframe needed for the report, such as the previous 30 days.
Add an 'Add a row into a table' action for Excel Online or a Dataverse action to push the aggregated page statistics, visitors, and engagement metrics into your master reporting spreadsheet.

Analyze and Visualize Your SharePoint Data with WPS Office
After exporting your detailed SharePoint analytics into a spreadsheet, use WPS Spreadsheet to create stunning monthly reports, pivot tables, and engagement charts without the expensive subscription fees.

Frequently Asked Questions
Why can't I see historical month-to-month data in standard SharePoint analytics?
The built-in SharePoint site usage reports are designed for quick performance snapshots and only retain rolling trend data for 7, 30, and 90-day periods. They dynamically update and overwrite older data, requiring external storage to perform long-term historical comparisons.
Where do I find the site and list identifiers needed for the SharePoint API?
You can find your site, web, and list GUIDs by navigating to the Site Settings or List Settings pages in SharePoint and checking the URL parameters, or by querying the Microsoft Graph API for your tenant's site details.
Can I extract analytics for individual news posts instead of the whole site?
Yes. By specifying the unique page identifier in your SharePoint Analytics API call, you can retrieve exact views, unique visitors, and activity specifically for an individual news story published on your communication site.




