I'm looking for a plugin or a piece of PHP code that can do this:
I'd like each blog post to show P, the pageview count of that blog post in the past N days.
N would be the same number across the entire blog e.g. 30 as in 'the past 30 days.'
P is specific to each blog post, so would be different for each post, and P must come from querying my Google Analytics account. Put differently, I don't want to install another stats plugin that also tracks pageviews. No, I want the info to come from GA, which I'm already using to track my blog.
Can you recommend a plugin that does this?
Or- what would be the simplest way to call the Google Analytics API in PHP to display P in my WordPress theme?
Thanks
Jacob