Closed mathewtrivett closed 4 years ago
Hi there,
You can update the views count of your posts and pages via AJAX using the fetch API whenever a post/page is loaded by your app.
Amazing thanks so much for the speedy response and for making this plugin 🙌
Is there a way to use Wordpress Popular Posts in headless mode. We are building a site using Wordpress as our CMS but with a React.js frontend. Is it possible to write back meta data on posts, pages and custom posts etc. when different pages are loaded to track views and this be consumed by Wordpress Popular Posts?
Thanks