• Resolved shadiji

    (@shadiji)


    Hi,
    The post views counter increases each time the browser is refreshed
    How to make it count only once?

    Thank you for help

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

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

    (@hcabrera)

    Hi @shadiji,

    Currently the plugin doesn’t store any data (like IP addresses for example) that could help you identify “duplicate” views and so you’d need to code your own solution to prevent visitors from “duplicating” page views.

    WPP provides an action hook called wpp_pre_update_views that you could use to check if someone has viewed a specific post/page already. You’d need to write the actual logic to prevent WPP from tracking a duplicate view of course as the mentioned action hook won’t do anything on its own.

    If you’re not familiar with web development in general (or if you don’t have time to implement this kind of feature on your own) you may need to reach out to / hire a developer to have them get this done for you.

    • This reply was modified 2 years, 10 months ago by Hector Cabrera. Reason: Added link to WP's Action Hook documentation page
    Thread Starter shadiji

    (@shadiji)

    Thank you for your reply
    Can you do it for me and at what price?
    Otherwise, Do you know a competent developer with reasonable price?
    Thanks

    Plugin Author Hector Cabrera

    (@hcabrera)

    I’m not available at the moment unfortunately so you might want to consider posting a job request at https://jobs.wordpress.net/ (or any other freelance jobs site) and hopefully find someone there who can help you out for the right price.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Posts : How to count only unique views?’ is closed to new replies.