Hi @danstein81
you asked for the “Shop Manager” role first, if you want to enable the stats for everyone, you can just use the mentioned example:
add_filter( 'statify__user_can_see_stats', '__return_true' );
You can put this code in the functions.php (if you have a custom theme or a child theme), you can build a functionality plugin yourself, or you use the plugin Code Snippets (which will be the easiest way):
https://www.ads-software.com/plugins/code-snippets/
The upcoming version 2 will have a UI solution for this:
https://github.com/pluginkollektiv/statify/issues/106#issuecomment-968127373
Hope this helps!
All the best
Torsten