• Resolved George

    (@giorgos93)


    Hi, I have a “Post Views Counter” plugin on my website, and it shows a views counter at the beginning of each post. Here is, how it looks: https://ibb.co/xgwrHct

    Your plugin counts post views as well. So, my idea is: maybe you should add this counter at front-end as well? Because the plugin, that I mentioned above, counts views very bad (probably 2-3 times less, than the actual stats).

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

Viewing 8 replies - 16 through 23 (of 23 total)
  • Plugin Author Hector Cabrera

    (@hcabrera)

    Ah, I made a mistake. Please change the_date( 'd.m.Y', get_the_ID() ); to the_date( 'd.m.Y' );

    Thread Starter George

    (@giorgos93)

    Now it works perfectly (at least, visually)!

    I can’t thank you enough for that. You didn’t have to spend your time and help me like that, but you did it anyway. So thank you ??

    And also, it can help other people as well. Lots of useful things ??

    Plugin Author Hector Cabrera

    (@hcabrera)

    Don’t mention it, I’m glad I could help!

    Thread Starter George

    (@giorgos93)

    It’s not really new, the plugin has been using that script for?years?at this point. That script keeps track of pageviews, loads your popular posts list, etc. You just didn’t notice it was there until now.

    I’ve just tried to unload this script on my website, and [wpp shortcode] is still working correctly in sidebar. And the posts views count is still increasing as well (at the beginning each post – with the help of the code, that you gave me today).

    So, in my case the script is not needed, and I can keep it unloaded? Or do I lose something?

    Plugin Author Hector Cabrera

    (@hcabrera)

    It’s a core part of the plugin so yes, it’s needed. And from what I’m seeing on your site the script is definitely still in there.

    But don’t trust my word for it. Remove the script and see what happens ??

    Thread Starter George

    (@giorgos93)

    Somehow it disappeared from unloading rule of my Asset Cleanup Pro plugin. Maybe it has some dynamic value, that changes, and that’s why it cannot be fully unloaded? ??

    However, I’ve just rechecked, and it’s marked, as HTML Tag, but not JS-script: https://postimg.cc/1VcfzpQy

    So, idk, what exactly did I unload then ??

    Thread Starter George

    (@giorgos93)

    @hcabrera , I’ve just spoke to another programmer, about this:

    Technically yes, it is possible. However, WordPress Popular Posts doesn’t collect any user identifiable data (like IP addresses for example) for privacy and?GDPR?compliance reasons and so it can’t do any advanced stuff like counting “unique” pageviews like Google Analytics does for example.

    He said, that you can add this option for site owners from other countries, who are not under GDPR rules, right? Also, he said, that you probably can keep IP hash (that it’s encrypted irreversibly), so nobody can count it as a personal information?

    I am not a programmer, so I am just passing this information :p

    Plugin Author Hector Cabrera

    (@hcabrera)

    Yes, what that programmer said is absolutely correct. That’s why I said:

    Technically yes, it is possible.

    It can be done. As I mentioned before, the plugin doesn’t offer this feature just because it doesn’t have the required data to do so ??

    I could add that feature, yes. There’s at least one technical hurdle that I can think of now though so I would need to sort that out first but, yes, it could be done.

    Please note that I’m not making any promises here so don’t get too excited haha. I’ll keep that idea in mind so thanks for sharing your thoughts.

Viewing 8 replies - 16 through 23 (of 23 total)
  • You must be logged in to reply to this topic.