
Hello,
Welcome to the Microsoft Community Forum. Please accept our warmest regards and sincerest hope that all is well despite the situation you find yourself in.
It’s understandable that you’d want to see "Page Views" alongside "Like Count" in your library list for better visibility. Unfortunately, SharePoint and similar platforms don’t always include "Page Views" as a default column in the library view, as this data is usually tied to analytics or the Details Pane. However, you can achieve this by customizing your library view or leveraging additional tools. Here’s how:
Option 1: Add "Page Views" via Library Settings (if available)
- Navigate to the library where your pages are stored.
- Click on the Settings (gear icon) in the top-right corner and select Library Settings.
- Under Columns, check if there's a hidden column named "Page Views" or "View Count".
- If it exists, enable it and add it to the library view.
Option 2: Use SharePoint Analytics
If the "Page Views" column isn’t directly available, you can pull this data using SharePoint’s built-in analytics tools:
- Go to the Site Contents or Site Pages Library.
- Use the Site Usage or Details Pane to view metrics for individual pages.
- Unfortunately, this won’t directly add a "Page Views" column, but it helps track this data manually.
Option 3: Add a Custom Column with Power Automate
- Set Up a Custom Column:
- Add a new custom column to your library named "Page Views".
- Create a Flow in Power Automate:
- Use Power Automate to capture and update page view metrics into this column.
- Configure a flow that retrieves analytics data for your pages periodically and writes it to your custom column.
Option 4: Use SharePoint Framework (SPFx)
For advanced users or developers:
- Use SPFx to create a custom library view or web part that displays both "Like Count" and "Page Views."
- This solution requires some coding but provides the flexibility to customize SharePoint exactly the way you need.
Option 5: Export Data
If you don’t mind working outside SharePoint:
- Export the library data to Excel or Power BI.
- Use the analytics data from SharePoint’s Site Usage page to merge "Page Views" into the exported table.
- This provides a snapshot of the information side by side.
Hope this helps.
Best Regards,
Clifford B.
Microsoft Community Moderator