logo
Ask your WordPress questions! Pay money and get answers fast! (more info)

Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

If the asker does not get an answer then they have 10 days to request a refund.

$30
store page hits in post meta

Well, Hello

I would like to track monthly pageviews for individual pages by storing the number of hits in the post meta. Every time the page is loaded, it should update the count. It should only take up one field, so you will need to think up a way to store (and then return) it in a single string along with the current month (e.g. MMMYY(Views), MMYY(Views) or something like that)

I would also like the code to display a list of all the stored data for months and views, also the current months data

At some point I would like to get this working with AJAX to reduce the performance impact, but perhaps thats a task for another question

This question has been answered.

npeplow | 11/16/11 at 7:25am Edit


(2) Possible Answers Submitted...

See a chronological view of answers?

Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

This question has expired.



Gabriel Reguly had additional discourse to offer.

Gabriel Reguly, Luis Abarca, Francisco Javier Carazo Gil, npeplow voted on this question.



Current status of this question: Completed



Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

If the asker does not get an answer then they have 10 days to request a refund.