Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Google Analytics makes it very easy to see the number of views of the most-viewed pages, but I cannot figure out how to see the number of views a particular page has received, or the number of views of recently added pages (e.g. blog posts). Is it possible to sort the pageviews list by date the page was added?

Can this be done without having to externally create a list of recent pages and use the analytics API?

share|improve this question
up vote 1 down vote accepted

This task would be better suited to a review of your webserver's logs (or an analytics package which analyzes your logs), however, if Google Analytics is your only option, the most straightforward way of accomplishing this task would be to create a custom variable which stores the product of subtracting the post's POSIX timestamp for the date the article was published from the timestamp for the date the article was viewed.

Once you are tracking the seconds in timestamp difference, you can create advanced segments in Google Analytics to display views for articles which were published in the last day (difference <= 86400), week (604800), year (~31536000), etc.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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