Skip to content

Pro. This feature requires WB Member Blog Pro. The free plugin must be installed and active first. See the Pro index for every Pro module.

The Post Analytics module records how often members’ posts are read and where readers came from, and gives each writer a private analytics dashboard. Use it so members can see what their readers respond to, and so you can see which posts perform best across the site. The module is on by default.

Settings live at WB Plugins > Member Blog > Analytics. The tab appears only while the Post Analytics module is on.

  • A writer sees their own numbers. A post’s views and traffic are shown to the post’s author.
  • Moderators (administrators) can see any member’s analytics.
  • Nobody else. Other members and visitors cannot see a member’s analytics, on the page, through the shortcode or over the REST API.
  • Who can use it narrows this further: only the roles you pick get the dashboard at all. Administrators always have access.
Setting What it does Default
Analytics Shows that the module is on, with a link to the Modules screen to change it On while the tab is visible
Who can use it Everyone, or Only these roles, for who can open the analytics dashboard Everyone
Data Retention Days of daily view and traffic history to keep, from 7 to 365. Older rows are removed by a daily cleanup. Each post’s all-time view total is kept. 90
Do not count these visitors Extra browser names whose visits are not counted, one per line, such as the name of your uptime monitor. A visit is skipped when the visitor’s browser name contains one of them. Not case sensitive, 3 to 100 characters each, up to 50. A name that matches your own browser (for example chrome) is not saved, because almost every real visit would stop counting. Empty
Show Views Chart Show the Views Over Time chart on the member’s dashboard On

Click Save Settings to save.

Views are always recorded, per day and per traffic source. There are no switches for daily views or traffic sources; Data Retention still decides how long the history is kept.

The Views Over Time chart shows every day of the period you pick. Days with no views show as 0, and the CSV export lists the same days.

The top of the Analytics tab shows Total Views, Views Today, This Week and This Month for the whole site. Top Performing Posts lists the ten most-viewed posts across all members, with author, views, publish date, and Edit and View links.

A view is recorded when someone other than the author opens a published post. A writer’s own visits to their post are not counted. Traffic sources are sorted into search engines and social sites by name (such as Google, Bing, Facebook, X, LinkedIn, Reddit, YouTube), Direct (no referring site), Internal (another page on your site) and Other.

  • The author’s own visits.
  • Search engine crawlers, link previews (Facebook, X, WhatsApp and similar) and requests with no browser name at all.
  • Headless browsers and automated tools: HeadlessChrome, Lighthouse and PageSpeed Insights, GTmetrix, Pingdom, PhantomJS, Puppeteer, Playwright and Selenium.
  • Scripts and HTTP libraries such as curl, wget, Python and Go clients.

Automated browsers that pretend to be an ordinary browser are skipped too: the page does not send a view when the browser reports it is under automation.

To skip your own uptime checker or in-house crawler, add its browser name to Do not count these visitors in the settings above, or use the bpmb_view_bot_patterns filter. See Extending the Plugin.

Views already recorded before an update stay as they are.

The Reset view statistics card on the Analytics tab starts counting from zero, for example after a burst of test or bot traffic. Click Reset view statistics, then confirm.

What is cleared:

  • Every post’s view count.
  • Each writer’s total views.
  • The daily view and traffic source history behind the charts and the CSV export.

What is kept: the posts themselves, claps, comments, bookmarks, follows and each writer’s published post count. New views count from zero straight away.

This cannot be undone. If you might need the old numbers, export a member’s CSV or back up your database first.

Developers can do the same with wp bpmb views reset (add --yes to skip the prompt) or DELETE /wp-json/wbcom-member-blog/v1/views with confirm=true. See the REST API Reference.

  • Analytics tab on the member home. With the Author Dashboard module on, each writer gets an Analytics tab on their own member home. See Author Dashboard.
  • The analytics shortcode or block, on any page you choose.

For what the dashboard shows and how to read it, see Reading Your Post Analytics.

[bp-member-blog-analytics]
[bp-member-blog-analytics days="7"]

The Blog Analytics block does the same in the block editor.

Attribute What it does Default
user_id Whose analytics to show. Only site staff can view another member’s. The logged-in member
days Days of history to show when the page loads 30

A visitor who is not logged in sees “Your blog analytics” with a Log in button. A member whose role is not allowed sees “You do not have permission to access analytics.”

Switching the module off hides the tab, the member Analytics tab and the shortcode output, and stops the daily cleanup. Recorded views are kept.