0

I would like to display the total amount of views per author for all posts. What would be the best way to achieve this without causing too much load on the server?

2

Gathering page view statistics is inherently write operation, which is inherently heavy on resources. There are no appropriate mechanisms in WP for high volume writes at low resource consumption.

Your best bet is using external analytics system/service and retrieving page view data from it.

  • I've found this tutorial for adding post views per author with Analytics: [geekwire.com/devblog/… , but it states that Google Analytics limits you to just 20 total custom dimensions per property - so basically 20 authors, which won't work in my case:( I guess it's simply not possible then? – Guit4eva Aug 5 '15 at 9:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.