• Resolved 2xUeL

    (@2xuel)


    Hi again,

    For the most part I was pleased with the Jetpack Popular Posts widget, but it didn’t allow me to filter what pages are displayed in the list, so I thought I’d give this plugin a try. However, this plugin seems to count page views accrued by myself, the site administrator, when I’m logged in as the administrator (the reason I know this is from the Jetpack site stats, which don’t included admin page views, and the two numbers are very different). The Jetpack widget didn’t do this and I think that makes sense. If I check a page 50 times while working on it, I don’t think it should be listed as the most popular page for the day. Am I missing something here? Thanks. 🙂

    http://www.dgmono.com

    https://wordpress.org/plugins/wordpress-popular-posts/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Hector Cabrera

    (@hcabrera)

    Hi there!

    Yes, that’s the expected behavior. Check here for more.

    Originally, WPP would count visits by non logged-in visitors. But then, Google Analytics (a tool that I use more frequently than Jetpack) does count every visit -including logged-in users- and that made a little bit more sense to me. This is why WPP, by default, logs everything from everyone.

    Thread Starter 2xUeL

    (@2xuel)

    Interesting. I feel the purpose of a widget like this is to give users the most accurate idea of what pages are most often visited by users of the site. Admin views seem to inaccurately inflate these numbers.

    (On a side note, I’m surprised that Google Analytics doesn’t give admins an option to see page views without admin views mixed in. With admin views mixed in, you can’t really get an accurate idea of how many hits you’re getting, can you?)

    Thread Starter 2xUeL

    (@2xuel)

    Oh brother. Sorry I didn’t read your link first. I’m embarrassed that I overlooked that solution. Thanks for pointing me in that direction! And by the way, thanks for your timely response. 🙂

    Plugin Author Hector Cabrera

    (@hcabrera)

    Interesting. I feel the purpose of a widget like this is to give users the most accurate idea of what pages are most often visited by users of the site. Admin views seem to inaccurately inflate these numbers.

    I agree. This is why I made views logging configurable from the admin. That way, everyone’s happy (including myself) and can use WPP as they want 😛

    I’m surprised that Google Analytics doesn’t give admins an option to see page views without admin views mixed in

    Well, there are ways to keep GA from tracking your own visits. This what I generally use:

    <?php if ( !is_user_logged_in() ) : ?>
    <!-- Start Google Analytics -->
    <script type="text/javascript">
    	// Your tracking code goes here
    </script>
    <!-- End Google Analytics -->
    <?php endif; ?>

    There are other ways to achieve the same effects using GA filters, but I think this way is cleaner.

    Plugin Author Hector Cabrera

    (@hcabrera)

    Oh brother. Sorry I didn’t read your link first. I’m embarrassed that I overlooked that solution. Thanks for pointing me in that direction! And by the way, thanks for your timely response. 🙂

    Don’t mention it. I’m glad to help!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘View count includes admin page views’ is closed to new replies.