Title: Hide admin bar stats?
Last modified: May 11, 2026

---

# Hide admin bar stats?

 *  [gilbertsearcy](https://wordpress.org/support/users/gilbertsearcy/)
 * (@gilbertsearcy)
 * [1 day ago](https://wordpress.org/support/topic/hide-admin-bar-stats/)
 * Hi guys. Quick q about the top admin bar. Can I disable the Site Kit dropdown
   stats for my editors? I only want admins to see the analytics stuff so it doesn’t
   clutter their view. Pls lmk.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Support [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * (@adamdunnage)
 * [1 day ago](https://wordpress.org/support/topic/hide-admin-bar-stats/#post-18904512)
 * Hello [@gilbertsearcy](https://wordpress.org/support/users/gilbertsearcy/), thanks
   for your question on Site Kit in the toolbar. While you can’t disable this for
   specific user roles, it can be disabled for a user profile from **Administration
   > Users > Your Profile > Show Toolbar when viewing the site**. This will disable
   the entire toolbar and not just the Site Kit stats in it.
 * The Site Kit stats in the toolbar can be disabled entire by an administrator 
   by going to **Site Kit > Settings > Admin Settings > Display relevant page stats
   in the Admin bar**.
 * As mentioned above, you can’t disable this per user group but I can certainly
   bring this up for discussion with the team. More information on this can be found
   in our [Site Kit in the WordPress toolbar page](https://sitekit.withgoogle.com/documentation/using-site-kit/site-kit-in-the-wordpress-toolbar/).
 * Thanks for your question.
 *  Plugin Support [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * (@adamdunnage)
 * [18 hours, 41 minutes ago](https://wordpress.org/support/topic/hide-admin-bar-stats/#post-18904894)
 * [@gilbertsearcy](https://wordpress.org/support/users/gilbertsearcy/) I wanted
   to follow back up on this with you to inform you that we do in fact have a way
   you can achieve this. We have a a filter which you can use to do this and specify
   user roles you’d like to exclude the Site Kit toolbar from.
 * Here is an example of the filter for this which would exclude this for all editiors:
 *     ```wp-block-code
       add_filter( 'googlesitekit_show_admin_bar_menu', function( $show ) { return current_user_can( 'editor' ) ? false : $show; });
       ```
   
 * This filter can be added to your functions.php file. If you need assistance with
   doing that then reach out to your hosting provider who should be able to help
   you do that.
 * I hope this helps you to achieve what you were looking to do and let me know 
   if you have any questions on this.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhide-admin-bar-stats%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/google-site-kit/assets/icon-256x256.png?rev=3141863)
 * [Site Kit by Google - Analytics, Search Console, AdSense, Speed](https://wordpress.org/plugins/google-site-kit/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-site-kit/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-site-kit/)
 * [Active Topics](https://wordpress.org/support/plugin/google-site-kit/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-site-kit/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-site-kit/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * Last activity: [18 hours, 41 minutes ago](https://wordpress.org/support/topic/hide-admin-bar-stats/#post-18904894)
 * Status: not resolved