• Hi, I’m using your plugin on a site and I noticed that the views count works properly for posts published before 17th September 2020. For latest posts views count is blocked.
    For example for the post linked in object Jetpack counts 1414 views, but your plugin shows 527 views.
    I have already cleared cache and checked if jetpack plugin is right connected.

    Thanks a lot for any advice.

    • This topic was modified 4 years, 5 months ago by valentinascip.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    It looks like the last time the views for that post could successfully be updated was on September 27 at 06:58:41.

    Since then, the views have not been updated. This could be caused by different things:

    • You may have a caching plugin in place that serves a cached version of the page instead of a live one, thus stopping my plugin from making a request for updated data.
    • Your site’s connection to WordPress.com may be broken, and thus the attempts to refresh the data would return an error.
    • You may have a security plugin or security measure on your site that blocks all those requests and thus stops the data from being refreshed.
    • You may have a database optimization plugin of some sort that stops the field containing the data from being refreshed.

    Could you run through those options and see if any of them apply to your site?

    Thread Starter valentinascip

    (@valentinascip)

    Hi, thanks for your replay. I have no database optimization plugin and no caching plugin. I have deactivated the security plugin I’m using and I cleared the cache on siteground hosting.
    The problem is still there.
    I think the connection with wordpress.com is working because I can see all jetpack’s functionality and stats.
    Maybe compatibility issues with some other plugin? I haven’t added plugin recently, but maybe some updates…

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    This is odd. My plugin relies on Jetpack to make the calls to WordPress.com to fetch the views, so the 2 use the same API and the same connection.

    You could try to use this tool while logged in with your WordPress.com account:
    https://developer.wordpress.com/docs/api/console/

    There, you can search for the sites/$site/stats/post/$post_id endpoint, and add your site ID and the post ID in place of the placeholder, like so:
    https://share.getcloudapp.com/nOunW5ZK

    Once you click on the Enter sign at the right of the bar, you’ll see if your site is able to receive stats information from WordPress.com.

    Let me know how that goes.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Different views count between jetpack and post views plugin’ is closed to new replies.