Does WordPress store page views in database?
-
Does WordPress store page views in its database somewhere?
I’m trying to pull a list of my 20 most popular posts. (I’m not using a plugin– I’m doing this in my own code as part of a larger project.) To do that I’d like to get the 20 pages with the most number of views. I know how to query the WP database, but …does WordPress keep track of page views? Or do I need to create a custom field somewhere and then manually update it every time a page is viewed?
Thank you,
Eric
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Does WordPress store page views in database?’ is closed to new replies.